04.12.2012, 07:29
Quote:
Where does the players file get loaded?
Do this after the players file is loaded. |
pawn Код:
public LoadUser_data(playerid,name[],value[])
{
INI_Int("Password",PlayerInfo[playerid][pPassword]);
INI_Int("Cash",PlayerInfo[playerid][pCash]);
INI_Int("Level",PlayerInfo[playerid][pLevel]);
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
INI_Int("Kills",PlayerInfo[playerid][pKills]);
INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
INI_Int("Ban",PlayerInfo[playerid][pBan]);
INI_Int("Warnings",PlayerInfo[playerid][pWarns]);
INI_Int("SkinID", PlayerInfo[playerid][pSkin]);
return 1;
}