23.05.2011, 12:59
hmm i'll try to fix as it gaves same error for me and marks you wrote the same thing that I did so pls wait a few sec Osviux(I don't promise I can fix it but I'll try)
LaterI was too blind lol)
Here's working evrsion:
LaterI was too blind lol)
Here's working evrsion:
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
new pName[MAX_PLAYER_NAME];
new string[64];
GetPlayerName(playerid,pName,sizeof(pName));
format(string,sizeof(string),"/scriptfiles/Users.ini",pName);
new Float:health;
new Floath:armour;
dini_IntSet(string,"Health",GetPlayerHealth(playerid,health));
dini_IntSet(string,"Armour",GetPlayerArmour(playerid,armour));
return 1;
}