:cmd_334
SAMP.IsCommandTyped(20@)
if 0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/findbiz %d" 1@ 21@
else
print "~y~/fb + <id>" 200
end
SAMP.CmdRet()
:cmd_334
SAMP.IsCommandTyped(20@)
if 0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/findbiz %d" 21@
else
print "~y~/fb + <id>" 200
end
SAMP.CmdRet()
:cmd_334
SAMP.IsCommandTyped(20@)
if 0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/findbiz %s" 1@
else
print "~y~/fb + <id>" 200
end
SAMP.CmdRet()
thanks!what you have:
PHP::cmd_334 SAMP.IsCommandTyped(20@) if 0AD4: 20@ = scan_string 20@ format "%d" 21@ then 0B36: samp 1@ = get_player_nickname 21@ 0AF9: samp say_msg "/findbiz %d" 1@ 21@ else print "~y~/fb + <id>" 200 end SAMP.CmdRet()
what it should be if expecting to send id:
PHP::cmd_334 SAMP.IsCommandTyped(20@) if 0AD4: 20@ = scan_string 20@ format "%d" 21@ then 0B36: samp 1@ = get_player_nickname 21@ 0AF9: samp say_msg "/findbiz %d" 21@ else print "~y~/fb + <id>" 200 end SAMP.CmdRet()
what it should be if expecting to send name:
PHP::cmd_334 SAMP.IsCommandTyped(20@) if 0AD4: 20@ = scan_string 20@ format "%d" 21@ then 0B36: samp 1@ = get_player_nickname 21@ 0AF9: samp say_msg "/findbiz %s" 1@ else print "~y~/fb + <id>" 200 end SAMP.CmdRet()