Saving Teams - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Saving Teams (
/showthread.php?tid=87464)
Saving Teams -
ForceFive - 20.07.2009
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!
Re: Saving Teams -
James_Alex - 20.07.2009
and the first, don't use an other topic plz !!...
Re: Saving Teams -
ForceFive - 20.07.2009
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.....
Re: Saving Teams -
MadeMan - 20.07.2009
But these are different things. You say you need help with "Team" but in the codes you have "skin"
Re: Saving Teams -
ForceFive - 20.07.2009
I fixed it thanks to no one except myself
Peace.