Saving Teams
#1

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:
pawn Код:
#define TEAM_FBI  0
#define TEAM_COPS 1
pawn Код:
//Under OnPlayerSpawn
gTeam[playerid] = dUserINT(PlayerName(playerid)).("Team");
And...

pawn Код:
//Under OnPlayerDsiconnect
dUserSetINT(PlayerName(playerid)).("Team",gTeam[playerid]);
Why does it do this? Please Can Someone Help!
Reply


Messages In This Thread
Saving Teams - by ForceFive - 20.07.2009, 12:10
Re: Saving Teams - by James_Alex - 20.07.2009, 12:11
Re: Saving Teams - by ForceFive - 20.07.2009, 12:13
Re: Saving Teams - by MadeMan - 20.07.2009, 12:37
Re: Saving Teams - by ForceFive - 20.07.2009, 13:17

Forum Jump:


Users browsing this thread: 2 Guest(s)