15.04.2013, 18:17
I'm trying to add a new class but when I compile the gamemode I get errors
Line 1441
Line 72 (That is the only AddPlayerClass I have.
Line 1438
Код:
C:\Users\Documents\GT Testing\gamemodes\gamemode.pwn(1441) : error 010: invalid function or declaration C:\Users\Documents\GT Testing\gamemodes\gamemode.pwn(72) : error 021: symbol already defined: "AddPlayerClass" C:\Users\Documents\GT Testing\gamemodes\gamemode.pwn(1438) : error 002: only a single statement (or expression) can follow each "case"
Код:
return 1;
Код:
AddPlayerClass(285,1319.2378,1256.4791,10.8203,3.6149,0,0,0,0,0,0); // S.W.A.T
Код:
SetPlayerTeam(playerid, TEAM_SWAT);