Little help (WITH REGISTRATION SYSTEM)
#1

Hi i've made a little registration system following the tutorial on the forum.
Can you help me in add the functionality to save the player's entire equipment (weapon, number of ammo, armour) in dini?
I've tried this, but it doesn't work.
Thanks for help!

http://pastebin.com/Pw92egY7
Reply
#2

UP please
Reply
#3

Maybe because of this?
Код:
    GetPlayerName(playerid, name, sizeof(name));
    format(file, sizeof(file), PATH, name);
    if(gPlayerLogged[playerid] == 1)
    {
        dini_IntSet(file, "Score", PlayerInfo[playerid][pScore]);
        dini_IntSet(file, "Money", PlayerInfo[playerid][pCash]);
        dini_IntSet(file, "Admin",PlayerInfo[playerid][pAdmin]);
        dini_IntSet(file, "pVip",PlayerInfo[playerid][pVip]);
        dini_IntSet(file, "Kills",PlayerInfo[playerid][pKills]);
        dini_IntSet(file, "Deaths",PlayerInfo[playerid][pDeaths]);
    }
    format(file, sizeof(file), "Users/%s.ini", playerName);//change on name or delete because you have this code above
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)