Hi, I have a cleo cmd and today I did a dialog but when I log in the game, it doesn't work, it works if i put it in a sepparately file, it also works if i put the code at the beggining of my cmd but the rest of the cmd dont work anymore.
my dialog:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY...
i have another problem now, i want to make more commands with that code, i use this
while true
wait 0
if 31@ == true
then
31@ = false
0AF9: samp say_msg "/fill"
wait 300
0AF9: samp say_msg "/fillgascan"
end
end
:lh242_3_3
31@ = true
samp.CmdRet()
but...
while true
wait 0
if 31@ == true
then
31@ = false
0AF9: samp say_msg "/quitjob"
wait 300
0AF9: samp say_msg "/getjob"
end
end
:lh242_3_2
31@ = true
samp.CmdRet()
i used this and its working
hi, i want to make something when i type '/cjob' to auto send '/quitjob' then 'getjob'
i tried using this code
0B34: samp register_client_command "cjob" to_label @cmd
:cmd
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/quitjob"
wait 600
0AF9: samp say_msg "/getjob"
SAMP.CmdRet()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.