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



little help - JuzDoiT - 05.08.2016

hello how can i fix it?

Quote:

error 035: argument type mismatch (argument 2)

Quote:

format(string, sizeof(string), "* %s (%i) Has Joined The Server.",pInfo[playerid][pName],playerid);
SendClientMessageToAll(playerid, COLOR_DEAD, string);




Re: little help - J0sh... - 05.08.2016

Quote:
Originally Posted by JuzDoiT
Посмотреть сообщение
hello how can i fix it?
SendClientMessageToAll(COLOR_DEAD, string);

playerid is not needed.


Re: little help - FreAkeD - 05.08.2016

https://sampwiki.blast.hk/wiki/Function...ntMessageToAll

SendClientMessageToAll doesn't have a playerid paramater, remove it.