hmm help.
#1

so i got this code...

Код:
DeathMatch[playerid] = 1;
how could i define it to get no errors?

if you could send me a link to the wiki about this stuff thanks cos i dont know where to find it..
Reply
#2

what errors are you getting?
Reply
#3

Код:
C:\Users\Lorenc\Desktop\samp03asvr_R7_win32\gamemodes\SAMPARENA.pwn(169) : error 017: undefined symbol "DeathMatch"
C:\Users\Lorenc\Desktop\samp03asvr_R7_win32\gamemodes\SAMPARENA.pwn(169) : warning 215: expression has no effect
C:\Users\Lorenc\Desktop\samp03asvr_R7_win32\gamemodes\SAMPARENA.pwn(169) : error 001: expected token: ";", but found "]"
C:\Users\Lorenc\Desktop\samp03asvr_R7_win32\gamemodes\SAMPARENA.pwn(169) : error 029: invalid expression, assumed zero
C:\Users\Lorenc\Desktop\samp03asvr_R7_win32\gamemodes\SAMPARENA.pwn(169) : fatal error 107: too many error messages on one line

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


4 Errors.
I still havnt defined the code cuz i dont know hwo to define that one.
Reply
#4

try adding new Deathmatch[MAX_PLAYERS]; at the top of your script
Reply
#5

beuty thanks.. im stupid i forgot to add MAX_players...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)