error 035: argument type mismatch (argument 1) - 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 1) (
/showthread.php?tid=578194)
error 035: argument type mismatch (argument 1) -
Izaki - 17.06.2015
please help me
error coding
D:\Data DamarTaranggana\Gamemode SAMP San Andreas multiplayer\Project Zombie Jogjagamers\gamemodes\zma4.pwn(3566) : error 035: argument type mismatch (argument 1)
D:\Data DamarTaranggana\Gamemode SAMP San Andreas multiplayer\Project Zombie Jogjagamers\gamemodes\zma4.pwn(3572) : error 035: argument type mismatch (argument 1)
coding
PHP код:
if (team[playerid] == TEAM_ZOMBIE)
{
new stringbig[356];
format(stringbig,sizeof(stringbig),"%s%s(%d%s) [%s%s%s]: %s",PlayerName(playerid),COL_WHITE,playerid,COL_WHITE,COL_RED,GetClassName(playerid),COL_WHITE,text);
SendClientMessageToAll(stringbig, GetPlayerColor(playerid));
}
else if (team[playerid] == TEAM_HUMAN)
{
new stringbig[356];
format(stringbig,sizeof(stringbig),"%s%s(%d%s) [%s%s%s]: %s",PlayerName(playerid),COL_WHITE,playerid,COL_WHITE,COL_BLUE,GetClassName(playerid),COL_WHITE,text);
SendClientMessageToAll(stringbig, GetPlayerColor(playerid));
}
help me please
Re: error 035: argument type mismatch (argument 1) -
Darrenr - 17.06.2015
Swap the
parameters around.
Код:
SendClientMessageToAll(COLOR, String);
Use this link for reference:
https://sampwiki.blast.hk/wiki/SendClientMessageToAll