SA-MP Forums Archive
Expression :3 - 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: Expression :3 (/showthread.php?tid=634547)



Expression :3 - fireranger11 - 21.05.2017

Код:
(Line 4025) format(str, sizeof(str), ""WHITE"%s(%d) has purchased Health for 10 cookies!", GetName[playerid], playerid);
					SendClientMessageToAll(-1, str);
(4025) : error 028: invalid subscript (not an array or too many subscripts): "GetName"
(4025) : warning 215: expression has no effect
(4025) : error 001: expected token: ";", but found "]"
(4025) : error 029: invalid expression, assumed zero
(4025) : fatal error 107: too many error messages on one line


Re: Expression :3 - Kane - 21.05.2017

Change GetName[playerid] to GetName(playerid).


Re: Expression :3 - fireranger11 - 21.05.2017

Fixed ~