CLEO Help cleo script help

CLEO related

TwentyOne420

Member
Joined
Apr 15, 2022
Messages
6
Reaction score
0
how can i make this command read 1,2.etc (ex: /drg 1 , use marijuana // ex2: /drg 2 . use cocaine ...etc) instead of those drugs. I apologize for my English, I hope you understand what I mean
:drg
SAMP.IsCommandTyped(6@)
if 0AD4: 6@ = scan_string 6@ format "%s" v$cpText
then
say "/usedrugs Marijuana" v$cpText
else
chatmsg "{9402b5}Usage: /drg1-Marijuana 2-Cocaine 3-Ecstasy 4-meth" -1
 
Top