29.07.2012, 06:34
Thank you!
So, this is correct?
p
Also, don't I need something OnPlayerDisconnect to save their last position?
Thanks
So, this is correct?
p
Quote:
ublic LoadUser_data(playerid,name[],value[]) { INI_Int("Password",PlayerInfo[playerid][pPass]); INI_Int("Level",PlayerInfo[playerid][pLevel]); INI_Int("Cash",PlayerInfo[playerid][pCash]); INI_Int("Admin",PlayerInfo[playerid][pAdmin]); INI_Int("Age",PlayerInfo[playerid][pAge]); INI_Int("Origin",PlayerInfo[playerid][pOrigin]); INI_Int("Sex",PlayerInfo[playerid][pSex]); INI_Int("Model",PlayerInfo[playerid][pModel]); INI_Int("DriveLic",PlayerInfo[playerid][pDriveLic]); INI_Int("Insurance",PlayerInfo[playerid][pInsurance]); INI_Int("Place",PlayerInfo[playerid][pPlace]); INI_Int("Exp",PlayerInfo[playerid][pExp]); INI_Int("Admin",PlayerInfo[playerid][pAdmin]); INI_Int("Number",PlayerInfo[playerid][pNumber]); INI_Int("Tester",PlayerInfo[playerid][pTester]); INI_Int("Warns",PlayerInfo[playerid][pWarns]); INI_Int("Selected",PlayerInfo[playerid][pSelected]); INI_Int("Muted",PlayerInfo[playerid][pMuted]); INI_Int("MuteTime",PlayerInfo[playerid][pMuteTime]); INI_Int("FirstJoined",PlayerInfo[playerid][pFirstJoined]); INI_Int("Vip",PlayerInfo[playerid][pVip]); INI_Int("Spawn",PlayerInfo[playerid][pSpawn]); INI_Int("Locked",PlayerInfo[playerid][pLocked]); INI_Int("Insurance",PlayerInfo[playerid][pInsurance]); INI_Float("Xpos", PlayerInfo[playerid][pX]); INI_Float("Ypos", PlayerInfo[playerid][pY]); INI_Float("Zpos", PlayerInfo[playerid][pZ]); return 1; } |
Thanks