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



Syntax error - Hybris - 17.03.2015

Hello I get this error on this line can anyone help me?
Код:
format(String, sizeof(String),"*"COL_LIGHTBLUE" %s %s has started to spectate %s[%d].",GetAdminName, PlayerName, PlayerName(id2), playerid, params);
Код:
error 076: syntax error in the expression, or invalid function call



Re: Syntax error - CalvinC - 17.03.2015

Maybe GetAdminName, and PlayerName should have a playerid parameter.
Like GetAdminName(playerid).


Re: Syntax error - Hybris - 17.03.2015

Thanks mate +rep