17.06.2016, 15:45
PHP код:
enum pInfo
{
pPass,
pCash,
pAdmin,
pSkin,
pScore,
pJob
}
new PlayerInfo[MAX_PLAYERS][pInfo];
//===================== P I C K U P ============================//
new pickup;
//===================== F O R W A R D ==========================//
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
INI_Int("Password",PlayerInfo[playerid][pPass]);
INI_Int("Cash",PlayerInfo[playerid][pCash]);
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
INI_Int("Score",PlayerInfo[playerid][pScore]);
INI_Int("Skin",PlayerInfo[playerid][pSkin]);
INI_Int("Job",PlayerInfo[playerid][pJob]);
return 1;
}