25.03.2010, 16:03
This is really confusing. Now I actually get set to a team, but regardless of which class I choose I get set to team 1 which is the cops. Yet I have a function that doesn't let you in a hunter if you're not a cop, and it's not letting me in a hunter
??
I thought maybe it didn't like "TEAM_COPS" and "TEAM_CRIMINALS" but it doesn't seem to be that, since I changed the thing that sets your team to SetPVarInt(playerid,"Team",1); for cops and SetPVarInt(playerid,"Team",2); for criminals but I still get set to team 1 regardless of anything I do. :/
EDIT: I made a cmd showing all the PVars I use, and each one is still being set to 0

I thought maybe it didn't like "TEAM_COPS" and "TEAM_CRIMINALS" but it doesn't seem to be that, since I changed the thing that sets your team to SetPVarInt(playerid,"Team",1); for cops and SetPVarInt(playerid,"Team",2); for criminals but I still get set to team 1 regardless of anything I do. :/
EDIT: I made a cmd showing all the PVars I use, and each one is still being set to 0
