YINI Problem
#4

ok no need for me to contact you ,we try to solve it here
you know you have this
pawn Code:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
    {
        INI_Int("Password",PInfo[playerid][PASS]);
        INI_Int("Level",PInfo[playerid][LEVEL]);
        INI_Int("Admin Level",PInfo[playerid][ADMINLEVEL]);
        INI_Int("Wired",PInfo[playerid][WIRED]);
        INI_Int("Jailed",PInfo[playerid][JAILED]);
        INI_Int("Job",PInfo[playerid][JOB]);
        INI_Int("Faction",PInfo[playerid][FACTION]);
        INI_Int("Car",PInfo[playerid][CAR]);
        INI_Int("Phone",PInfo[playerid][PHONE]);
        INI_Int("Phonebook",PInfo[playerid][PHONEBOOK]);
        INI_Int("Mask",PInfo[playerid][MASK]);
        INI_Int("Condom",PInfo[playerid][CONDOM]);
        INI_Int("Gun Skill",PInfo[playerid][GUNSKILL]);
        INI_Int("Job Skill",PInfo[playerid][JOBSKILL]);
        INI_Int("CarLic",PInfo[playerid][CARLIC]);
        INI_Int("FlyLic",PInfo[playerid][FLYLIC]);
        INI_Int("GunLic",PInfo[playerid][GUNLIC]);
        INI_Int("Money",PInfo[playerid][MONEY]);
        INI_Int("FacRank",Cop[playerid][FACRANK]);
        return 1;
    }
Try cahnging it with this
EDIT forgot the callback's D
pawn Code:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
if(!strcmp(name, "Password"))SetPVarInt(playerid,"Password", strval(value));
if(!strcmp(name, "Level"))SetPVarInt(playerid,"LEVEL", strval(value));
if(!strcmp(name, "Admin "))SetPVarInt(playerid,"ADMINLEVEL", strval(value));
if(!strcmp(name, "Wired"))SetPVarInt(playerid,"WIRED", strval(value));
if(!strcmp(name, "Jailed"))SetPVarInt(playerid,"JAILED", strval(value));
if(!strcmp(name, "Job"))SetPVarInt(playerid,"JOB", strval(value));
if(!strcmp(name, "Faction"))SetPVarInt(playerid,"FACTION", strval(value));
if(!strcmp(name, "Car"))SetPVarInt(playerid,"CAR", strval(value));
if(!strcmp(name, "Phone"))SetPVarInt(playerid,"PHONE", strval(value));
if(!strcmp(name, "Phonebook"))SetPVarInt(playerid,"PHONEBOOK", strval(value));
if(!strcmp(name, "Mask"))SetPVarInt(playerid,"MASK", strval(value));
if(!strcmp(name, "Condom"))SetPVarInt(playerid,"CONDOM", strval(value));
if(!strcmp(name, "Gun Skill"))SetPVarInt(playerid,"GUNSKILL", strval(value));
if(!strcmp(name, "Job Skill"))SetPVarInt(playerid,"JOBSKILL", strval(value));
if(!strcmp(name, "CarLic"))SetPVarInt(playerid,"CARLIC", strval(value));
if(!strcmp(name, "FlyLic"))SetPVarInt(playerid,"FLYLIC", strval(value));
if(!strcmp(name, "GunLic"))SetPVarInt(playerid,"GUNLIC", strval(value));
if(!strcmp(name, "Money"))SetPVarInt(playerid,"MONEY", strval(value));
if(!strcmp(name, "FacRank"))SetPVarInt(playerid,"FACRANK", strval(value));
}
Reply


Messages In This Thread
YINI Problem - by Swyft™ - 27.10.2011, 20:27
Re: YINI Problem - by park4bmx - 27.10.2011, 20:35
Re: YINI Problem - by Swyft™ - 27.10.2011, 20:40
Re: YINI Problem - by park4bmx - 27.10.2011, 20:48
Re: YINI Problem - by Swyft™ - 27.10.2011, 20:55
Re: YINI Problem - by park4bmx - 27.10.2011, 20:57
Re: YINI Problem - by Swyft™ - 27.10.2011, 21:11
Re: YINI Problem - by Swyft™ - 28.10.2011, 02:18
Re: YINI Problem - by Swyft™ - 28.10.2011, 04:56
Re: YINI Problem - by park4bmx - 28.10.2011, 09:41

Forum Jump:


Users browsing this thread: 1 Guest(s)