I have this code:
I want to send to chat a command like: "/start FIRST_PARAM SECOND_PARAM" and show me the text:
But with SAMP.IsCommandTyped I can't get both params in separated variables. I got both params in 0@ separated with "sapce", how can i get first param in 0@ and the second one in 1@?
Code:
SAMP.IsCommandTyped(0@ 1@)
0AF9: "/f Some text followed by command params Y: %s and Y: %s." 0@ 1@
0B43: samp cmd_ret
I want to send to chat a command like: "/start FIRST_PARAM SECOND_PARAM" and show me the text:
Code:
Some text followed by command params Y: FIRST_PARAM and Y: SECOND_PARAM.
But with SAMP.IsCommandTyped I can't get both params in separated variables. I got both params in 0@ separated with "sapce", how can i get first param in 0@ and the second one in 1@?