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
#2

and the first, don't use an other topic plz !!...
Reply
#3

Quote:
Originally Posted by James_Alex(Coder)
and the first, don't use an other topic plz !!...
I realised what I did, please post something useful.....
Reply
#4

But these are different things. You say you need help with "Team" but in the codes you have "skin"
Reply
#5

I fixed it thanks to no one except myself

Peace.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)