Y_Ini wont load, But it do write. -
Re: Y_Ini wont load, But it do write. -
Re: Y_Ini wont load, But it do write. -
, Solution was that I had tags that I didn't define in stocks.
PHP код:
forward LoadUser_account(playerid,name[],value[]);
public LoadUser_account(playerid,name[],value[])
{
INI_String("Password", Player[playerid][pPassword], 255);
INI_String("Mail", Player[playerid][pMail], 255);
return 1;
}
forward LoadUser_character(playerid,name[],value[]);
public LoadUser_character(playerid,name[],value[])
{
INI_Int("Age", Player[playerid][pAge]);
INI_String("Gender", Player[playerid][pGender], 255);
INI_String("Origin", Player[playerid][pOrigin], 255);
INI_String("Accent", Player[playerid][pAccent], 255);
INI_Float("Health", Player[playerid][pHealth]);
INI_Float("Armour", Player[playerid][pArmour]);
INI_Int("Job", Player[playerid][pJob]);
INI_Int("Faction", Player[playerid][pFaction]);
INI_Int("Money", Player[playerid][pMoney]);
return 1;
}
forward LoadUser_ooc(playerid,name[],value[]);
public LoadUser_ooc(playerid,name[],value[])
{
INI_String("IP_Reg", Player[playerid][pIP_Reg], 255);
INI_String("IP_Last", Player[playerid][pIP_Last], 255);
INI_String("Staff", Player[playerid][pStaff], 255);
INI_Int("Level", Player[playerid][pLevel]);
return 1;
}
forward LoadUser_position(playerid,name[],value[]);
public LoadUser_position(playerid,name[],value[])
{
INI_Float("PositionX", Player[playerid][pPositionX]);
INI_Float("PositionY", Player[playerid][pPositionY]);
INI_Float("PositionZ", Player[playerid][pPositionZ]);
INI_Float("Angle", Player[playerid][pAngle]);
INI_Int("VirtualWorld", Player[playerid][pVirtualWorld]);
INI_Int("Interior", Player[playerid][pInterior]);
return 1;
}