28.07.2009, 08:16
Quote:
Originally Posted by Gappy
I'm not quite sure why that isn't working
Do you have like #define TEAM 1 #define TEAM 2 #define TEAM 3 etc etc and I'm not sure what this is used for but it might help under OnGameModeInIt put SetTeamCount(amountofteams); |
Код:
public SetPlayerTeamFromClass(playerid, classid) { if (classid == 0) { gTeam[playerid] = TEAM_MAFIA; } else { gTeam[playerid] = TEAM_BEACH; } else { gTeam[playerid] = TEAM_COPS; } }
Код:
C:\DOCUME~1\KAMIL\Pulpit\UNITED~1\GAMEMO~1\u-tdm.pwn(255) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.