SA-MP Forums Archive
/buyclothes cmd ain't working - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /buyclothes cmd ain't working (/showthread.php?tid=70546)



/buyclothes cmd ain't working - Castle - 25.03.2009

I made this Command:
http://pastebin.com/f43f70a39
Now instead of setting the skin to the skin id the player want it just sets it to 0
Код:
/buyclothes [skinid]
i do:
Код:
/buyclothes 228
and it sets me to CJ skin
what is the Maximum Number of the Last skin!?


Re: /buyclothes cmd ain't working - LarzI - 25.03.2009

For just one parameter, it's better to avoid using strtok (imo).
Try this one:

http://pastebin.com/m1574d360


Re: /buyclothes cmd ain't working - Castle - 25.03.2009

Thanks it Worked...