SA-MP Forums Archive
Strange errors! - 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: Strange errors! (/showthread.php?tid=341875)



Strange errors! - Twisted_Insane - 12.05.2012

'Sup y'all?

I've got some strange errors I don't get, would you check 'em out and tell me what's wrong please?

Код:
D:\Program Files\GTA San Andreas\SAMP_Server\gamemodes\deathmatch.pwn(252) : error 020: invalid symbol name ""
D:\Program Files\GTA San Andreas\SAMP_Server\gamemodes\deathmatch.pwn(5725) : error 017: undefined symbol "FPS"
D:\Program Files\GTA San Andreas\SAMP_Server\gamemodes\deathmatch.pwn(5725) : warning 215: expression has no effect
D:\Program Files\GTA San Andreas\SAMP_Server\gamemodes\deathmatch.pwn(5725) : error 001: expected token: ";", but found "]"
D:\Program Files\GTA San Andreas\SAMP_Server\gamemodes\deathmatch.pwn(5725) : error 029: invalid expression, assumed zero
D:\Program Files\GTA San Andreas\SAMP_Server\gamemodes\deathmatch.pwn(5725) : fatal error 107: too many error messages on one line

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


5 Errors.
That's line 252, I mean, what the fuck? I've defined shit already:

pawn Код:
new Text:FPS[MAX_PLAYERS]; //I DEFINED IT :O
And then:

pawn Код:
TextDrawDestroy(FPS[playerid]); //line with the undefined symbol-error



Re: Strange errors! - RedWingz - 12.05.2012

pawn Код:
TextDrawDestroy(FPS, playerid);