SA-MP Forums Archive
hmm help. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: hmm help. (/showthread.php?tid=143976)



hmm help. - Lorenc_ - 25.04.2010

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..


Re: hmm help. - Ibanez - 25.04.2010

what errors are you getting?


Re: hmm help. - Lorenc_ - 25.04.2010

Код:
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.


Re: hmm help. - Ibanez - 25.04.2010

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


Re: hmm help. - Lorenc_ - 25.04.2010

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