CLEO Help Getting numbers out of chat strings

CLEO related
Status
Not open for further replies.

Jordanas

Member
Joined
Feb 24, 2018
Messages
14
Reaction score
0
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
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
 
Status
Not open for further replies.
Top