SAMP.IsCommandTyped(20@)
if
0AD4: $NOT_USED = 20@ "%d" 21@
then
chatmsg "Hello %i" 0xFFFFFF 21@
else
print "~y~/glg ID-ul lui." 2000
end
SAMP.CmdRet()
supahdupahnubah said:Well, you really shouldn't crash with my code above
http://imgur.com/a/42xeO
THX MAN YOU ARE THE BEST ! :dsupahdupahnubah said:0AD4 requires valid return variable, chatmsg requires color (integer) as the second parameter, otherwise you'll crash
Anyway springfield is right, if you did want this code to do something else but print Hello and an input number, then it's your problem you haven't explained it correctly
Code:SAMP.IsCommandTyped(20@) if 0AD4: $NOT_USED = 20@ "%d" 21@ then chatmsg "Hello %i" 0xFFFFFF 21@ else print "~y~/glg ID-ul lui." 2000 end SAMP.CmdRet()