error 035: argument type mismatch (argument 2) - 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 035: argument type mismatch (argument 2) (
/showthread.php?tid=498387)
error 035: argument type mismatch (argument 2) -
ChristianIvann09 - 03.03.2014
Код:
(9211)error 035: argument type mismatch (argument 2)
Heres with the Line 9211
Код:
SendClientMessageToAll(i,COLOR_YELLOW, string); //we send it.
Re: error 035: argument type mismatch (argument 2) -
CutX - 03.03.2014
Quote:
Originally Posted by ChristianIvann09
Код:
(9211)error 035: argument type mismatch (argument 2)
Heres with the Line 9211
Код:
SendClientMessageToAll(i,COLOR_YELLOW, string); //we send it.
|
(9211)error 035: argument type mismatch (argument 2)
- the compiler is expecting a string for 2nd param, no hex color
it should look tike this
pawn Код:
SendClientMessageToAll(COLOR_YELLOW, string);
you don't need a player-id if it's a msg to everyone
https://sampwiki.blast.hk/wiki/SendClientMessageToAll
Re: error 035: argument type mismatch (argument 2) -
ChristianIvann09 - 03.03.2014
Quote:
Originally Posted by CutX
(9211)error 035: argument type mismatch (argument 2)
- the compiler is expecting a string for 2nd param, no hex color
it should look tike this
pawn Код:
SendClientMessageToAll(COLOR_YELLOW, string);
you don't need a player-id if it's a msg to everyone
https://sampwiki.blast.hk/wiki/SendClientMessageToAll
|
thanks