20.07.2009, 12:10
Hey please can someone help me save teams I use dudb but when I save in file it salways has: Team=255!
Heres some of the code:
My Teams Are:
And...
Why does it do this? Please Can Someone Help!
Heres some of the code:
My Teams Are:
pawn Код:
#define TEAM_FBI 0
#define TEAM_COPS 1
pawn Код:
//Under OnPlayerSpawn
gTeam[playerid] = dUserINT(PlayerName(playerid)).("Team");
pawn Код:
//Under OnPlayerDsiconnect
dUserSetINT(PlayerName(playerid)).("Team",gTeam[playerid]);