J Jordanas Member Joined Feb 24, 2018 Messages 14 Reaction score 0 Mar 30, 2019 #1 I would need some help on how to get numbers out of chat strings like string- blablablabla /(command) %s samp_say msg "/(command) %s ty in advance
I would need some help on how to get numbers out of chat strings like string- blablablabla /(command) %s samp_say msg "/(command) %s ty in advance
Valiuks Active member Joined Sep 9, 2018 Messages 25 Reaction score 4 Mar 31, 2019 #2 scan string format would do the trick and for numbers its %d 0AD4: 1@ = scan_string 0@ format "%d + %d = %d" 5@ 6@ 7@ //IF and SET Upvote 0 Downvote
scan string format would do the trick and for numbers its %d 0AD4: 1@ = scan_string 0@ format "%d + %d = %d" 5@ 6@ 7@ //IF and SET