SA-MP Forums Archive
/addcar - SERVER: Unknown Command .... - 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 - SERVER: Unknown Command .... (/showthread.php?tid=71848)



/addcar - SERVER: Unknown Command .... - Castle - 04.04.2009

I made this CMD:
http://pastebin.com/f23a9acb6
I want it to do:
/addcar [PlayerName] [CarPlate] [Model] [Color1] [Color2]
And it will spawn a car that registered to the PlayerName and will write CarPlate on the car License Plate
Please help me


Re: /addcar - SERVER: Unknown Command .... - Castle - 04.04.2009

Any1?


Re: /addcar - SERVER: Unknown Command .... - Lazarus - 04.04.2009

If this is not true:

pawn Код:
if(PlayerInfo[playerid][pAdmin] < 7)
it will return an Unknown Command message.


Re: /addcar - SERVER: Unknown Command .... - MenaceX^ - 04.04.2009

pawn Код:
if(PlayerInfo[playerid][pAdmin] < 7) return SendClientMessage(playerid,color,"hi..");



Re: /addcar - SERVER: Unknown Command .... - Castle - 04.04.2009

Quote:
Originally Posted by MenaceX^
pawn Код:
if(PlayerInfo[playerid][pAdmin] < 7) return SendClientMessage(playerid,color,"hi..");
Well Tried it it still doesn't work...


Re: /addcar - SERVER: Unknown Command .... - MenaceX^ - 04.04.2009

What part does it give it? If you aren't authorized (your admin level is lower than 7) or always gives it?


Re: /addcar - SERVER: Unknown Command .... - Castle - 04.04.2009

Even if your rank is over 7 its still says it...
Can you help!?