16.05.2012, 16:57
Add this Under public OnPlayerSpawn(playerid) callback.
And this will be the same as :
pawn Код:
SetPlayerScore(playerid, PlayerInfo[playerid][pScores]);
pawn Код:
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("Kills",PlayerInfo[playerid][pKills]);
INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
INI_Int("pScores",PlayerInfo[playerid][pDeaths]);
return 1;
}