SA-MP Forums Archive
/addcar - Doesn't work as i wanted ... =\ - 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: /addcar - Doesn't work as i wanted ... =\ (/showthread.php?tid=71925)



/addcar - Doesn't work as i wanted ... =\ - Castle - 04.04.2009

I made this Command:
http://pastebin.com/f4b39a088
But every time i write /addcar myname plate model col1 col2
it sends me this:
Код:
USAGE: /addcar [owner] [plate] [model] [color1] [color2]
What is the Problem!?


Re: /addcar - Doesn't work as i wanted ... =\ - LarzI - 04.04.2009

http://pastebin.com/m224d414b

Try that one...
Btw, let me see your cInfo enum


Re: /addcar - Doesn't work as i wanted ... =\ - Castle - 05.04.2009

Here is the Entire Pastebin:
http://pastebin.com/f7f9eece
I placed your cmd that you posted into this Pastebin

EDIT:

Tried your CMD, Well it still shows the same as mine



Re: /addcar - Doesn't work as i wanted ... =\ - Weirdosport - 05.04.2009

I highly recommend using DCMD in this instance, it will save you having to do about 5 strtoks.. it makes things at least 300 times clearer, and will have a greater chance of clearing up your problem, as long as you use the right letters.. "s" "d" etc..


Re: /addcar - Doesn't work as i wanted ... =\ - LarzI - 08.04.2009

Me2, I just cba to add dcmd instead of strtok, since he probally dno how to use it