Saving health and armour
#8

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:

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;
}
Reply


Messages In This Thread
Saving health and armour - by Osviux - 23.05.2011, 12:23
Re: Saving health and armour - by Cjgogo - 23.05.2011, 12:34
Re: Saving health and armour - by Osviux - 23.05.2011, 12:40
Re: Saving health and armour - by Cjgogo - 23.05.2011, 12:41
Re: Saving health and armour - by Cjgogo - 23.05.2011, 12:44
Re: Saving health and armour - by Osviux - 23.05.2011, 12:47
Re: Saving health and armour - by Markx - 23.05.2011, 12:53
Re: Saving health and armour - by Cjgogo - 23.05.2011, 12:59
Re: Saving health and armour - by Osviux - 23.05.2011, 13:02
Re: Saving health and armour - by Cjgogo - 23.05.2011, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)