SA-MP Forums Archive
Error - 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: Error (/showthread.php?tid=438875)



Error - DAVIDXP - 22.05.2013

Hi sa-mp.com i have a error on this linie:
pawn Код:
if( sscanf(params, "i", params[0]) ) return SendClientMessage( playerid, "/up [inaltime]");
And the error is:
pawn Код:
error 035: argument type mismatch (argument 2)
Ideas?


Re: Error - RaZzZzoR - 22.05.2013

Код:
if( sscanf(params, "i", params[0]) ) return SendClientMessage( playerid, -1, "/up [inaltime]");
You forgot the color parameter from SendClientMessage.


Re: Error - DAVIDXP - 22.05.2013

Quote:
Originally Posted by RaZzZzoR
Посмотреть сообщение
Код:
if( sscanf(params, "i", params[0]) ) return SendClientMessage( playerid, -1, "/up [inaltime]");
You forgot the color parameter from SendClientMessage.
uPSS ... Thasnks it works