SA-MP Forums Archive
Help me - 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)
+--- Thread: Help me (/showthread.php?tid=492254)



Help me - Andrei04072 - 03.02.2014

I have a problem when I write this command in game /carcommand I met appears
PHP код:
 Syntax:/test <text
??


http://pastebin.com/PMK1Pp6p


Re: Help me - Hostskool - 03.02.2014

pawn Код:
if(sscanf(params, "s[100]", szCom)) return SendClientMessage( playerid, -1, "Syntax: /test <text>");
Change the above line to the following code


pawn Код:
if(sscanf(params, "s[100]", szCom)) return SendClientMessage( playerid, -1, "Syntax: /carcommand <text>");



Re: Help me - Andrei04072 - 03.02.2014

Quote:
Originally Posted by Hostskool
Посмотреть сообщение
pawn Код:
if(sscanf(params, "s[100]", szCom)) return SendClientMessage( playerid, -1, "Syntax: /test <text>");
Change the above line to the following code


pawn Код:
if(sscanf(params, "s[100]", szCom)) return SendClientMessage( playerid, -1, "Syntax: /carcommand <text>");
I still do not appear