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



error - hillko - 28.04.2014

Код HTML:
        11863 new ]GcS[A]ngel[MAX_PLAYER_NAME]; // я
	11864 GetPlayerName(playerid, ]GcS[A]ngel, sizeof(]GcS[A]ngel));
Код HTML:
C:\Users\User\Desktop\Rk.Games.pwn(11863) : error 001: expected token: "-identifier-", but found "]"
C:\Users\User\Desktop\Rk.Games.pwn(11864) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Rk.Games.pwn(11864) : error 017: undefined symbol "GcS"
C:\Users\User\Desktop\Rk.Games.pwn(11864) : error 017: undefined symbol "A"
C:\Users\User\Desktop\Rk.Games.pwn(11864) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.



Re: error - Vince - 28.04.2014

Doesn't it seem obvious that you can't use square brackets in a variable name?