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



clientmessagetoall prob - Kar - 30.05.2010

Код:
SendClientMessageToAll(playerid, LIGHTGREEN, "%s has started the bus mission!", 5000, 3);
Код:
C:\DOCUME~1\Karim\Desktop\BUSMIS~1.PWN(113) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
mhm?


Re: clientmessagetoall prob - Naxix - 30.05.2010

You don't need "playerid" when it's to all, and your making it like a GameModeText, make it:

Код:
SendClientMessageToAll(color,"msg");



Re: clientmessagetoall prob - Kar - 30.05.2010

sad 2 warnings


Re: clientmessagetoall prob - playbox12 - 30.05.2010

pawn Код:
SendClientMessageToAll(#119306AA, "%s has started the bus mission!");
Otherwise show your warnings.


Re: clientmessagetoall prob - Kar - 30.05.2010

thx play there gone now.