03.08.2011, 22:07
Hello,
The player registers and everything is working fine, but then say I change their money in their .ini file to 5000, it does not load it...
Here is the parsefile:
The player registers and everything is working fine, but then say I change their money in their .ini file to 5000, it does not load it...
Here is the parsefile:
pawn Code:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
INI_Int("Password",PlayerInfo[playerid][pPassword]);
INI_Int("Bank",PlayerInfo[playerid][pBank]);
INI_Int("Money",PlayerInfo[playerid][pMoney]);
INI_Int("Gender",PlayerInfo[playerid][pGender]);
INI_Int("Skin",PlayerInfo[playerid][pSkin]);
INI_Int("Age",PlayerInfo[playerid][pAge]);
INI_Int("Origin",PlayerInfo[playerid][pOrigin]);
INI_Int("Accent",PlayerInfo[playerid][pAccent]);
INI_Int("Job",PlayerInfo[playerid][pJob]);
INI_Int("Faction",PlayerInfo[playerid][pFaction]);
INI_Int("Rank",PlayerInfo[playerid][pRank]);
INI_Int("License",PlayerInfo[playerid][pLicense]);
INI_Int("Cocaine",PlayerInfo[playerid][pCocaine]);
INI_Int("Marijuana",PlayerInfo[playerid][pMarijuana]);
INI_Int("Donater",PlayerInfo[playerid][pDonater]);
INI_Int("DonaterPoints",PlayerInfo[playerid][pDonaterPoints]);
INI_Int("Watch",PlayerInfo[playerid][pWatch]);
INI_Int("Phone",PlayerInfo[playerid][pPhone]);
INI_Int("PhoneNumber",PlayerInfo[playerid][pPhoneNumber]);
INI_Int("Cigars",PlayerInfo[playerid][pCigars]);
INI_Int("Lighter",PlayerInfo[playerid][pLighter]);
INI_Int("Mask",PlayerInfo[playerid][pMask]);
INI_Int("JailTime",PlayerInfo[playerid][pJailTime]);
INI_Int("Gun01",PlayerInfo[playerid][pGun01]);
INI_Int("Ammo01",PlayerInfo[playerid][pAmmo01]);
INI_Int("Gun02",PlayerInfo[playerid][pGun02]);
INI_Int("Ammo02",PlayerInfo[playerid][pAmmo02]);
INI_Int("Gun03",PlayerInfo[playerid][pGun03]);
INI_Int("Ammo03",PlayerInfo[playerid][pAmmo03]);
INI_Int("Gun04",PlayerInfo[playerid][pGun04]);
INI_Int("Ammo04",PlayerInfo[playerid][pAmmo04]);
INI_Int("Gun05",PlayerInfo[playerid][pGun05]);
INI_Int("Ammo05",PlayerInfo[playerid][pAmmo05]);
INI_Int("Gun06",PlayerInfo[playerid][pGun06]);
INI_Int("Ammo06",PlayerInfo[playerid][pAmmo06]);
INI_Int("Gun07",PlayerInfo[playerid][pGun07]);
INI_Int("Ammo07",PlayerInfo[playerid][pAmmo07]);
INI_Int("Gun08",PlayerInfo[playerid][pGun08]);
INI_Int("Ammo08",PlayerInfo[playerid][pAmmo08]);
INI_Int("Gun09",PlayerInfo[playerid][pGun09]);
INI_Int("Ammo09",PlayerInfo[playerid][pAmmo09]);
INI_Int("Gun11",PlayerInfo[playerid][pGun11]);
INI_Int("Ammo11",PlayerInfo[playerid][pAmmo11]);
INI_Int("Registered",PlayerInfo[playerid][pRegistered]);
return 1;
}