25.03.2013, 07:48
I have one question.Do i need to use first or second code for file-saving.Sorry for my bad english.
First code:
Second code:
First code:
PHP код:
forward LoadUserData(playerid,name[],value[]);
public LoadUserData(playerid,name[],value[])
{
new pKills = GetPVarInt(playerid,"Kills");
INI_Int("Kills",pKills);
}
PHP код:
forward LoadUserData(playerid,name[],value[]);
public LoadUserData(playerid,name[],value[])
{
new pKills[MAX_PLAYERS];
pKills[playerid] = GetPVarInt(playerid,"Kills");
INI_Int("Kills",pKills[playerid]);
}

