#1

Код 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.
Reply
#2

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


Forum Jump:


Users browsing this thread: 1 Guest(s)