26.01.2014, 15:51
Hiii.In my GameMode OnPlayerdisconect SAve Money,Bankcash,Score And.... This Code :
But in Onplayerconnect Not Load Any For Player...(score,level And...)
Pls Help Me.what Code I Shuld Put in Onplayerconnect To load Score,Mney and....
Код:
if(PLAYERLIST_authed[playerid] == 1) { dUserSetINT(PlayerName(playerid)).("Bankcash",BankCash[playerid]); dUserSetINT(PlayerName(playerid)).("Cash",GetPlayerMoney(playerid)); dUserSetINT(PlayerName(playerid)).("Score",GetPlayerScore(playerid)); dUserSetINT(PlayerName(playerid)).("Adminlevel",AdminLevel[playerid]); dUserSetINT(PlayerName(playerid)).("Army",CanUseArmy[playerid]); dUserSetINT(PlayerName(playerid)).("CIA",CanUseCIA[playerid]); dUserSetINT(PlayerName(playerid)).("RegularPlayer",IsRegularPlayer[playerid]); dUserSetINT(PlayerName(playerid)).("DrugHouseOwner",DrugHouseOwner[playerid]); dUserSetINT(PlayerName(playerid)).("OttoOwner",OttoOwner[playerid]); dUserSetINT(PlayerName(playerid)).("TSkill",TerroristSkill[playerid]); dUserSetINT(PlayerName(playerid)).("RobSkill",RobSkill[playerid]); dUserSetINT(PlayerName(playerid)).("HasPackC4",HasPackC4[playerid]); dUserSetINT(PlayerName(playerid)).("HasPackRope",HasPackRope[playerid]); dUserSetINT(PlayerName(playerid)).("HasPackMoney",HasPackMoney[playerid]); dUserSetINT(PlayerName(playerid)).("SavedWantedLevel",SavedWantedLevel[playerid]); dUserSetINT(PlayerName(playerid)).("SavedJailTime",SavedJailTime[playerid]);
Pls Help Me.what Code I Shuld Put in Onplayerconnect To load Score,Mney and....