Dini HELP!
#9

Quote:
Originally Posted by Ethan1233
THX!, one more thing, im trying to count the deaths but its not working, heres the script i made:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    new dinistr[40];
    format(dinistr, sizeof(dinistr), "/accounts/%s.ini", pname);

    new death;
    death = dini_Int(dinistr, "deaths");
    dini_IntSet(dinistr, "deaths", death +1);
}
what did i do wrong?
try udb_encode(pname) while formatting
Reply


Messages In This Thread
Dini HELP! - by StrickenKid - 22.02.2009, 05:48
Re: Dini HELP! - by Lazarus - 22.02.2009, 16:31
Re: Dini HELP! - by StrickenKid - 22.02.2009, 17:08
Re: Dini HELP! - by Lazarus - 22.02.2009, 17:10
Re: Dini HELP! - by StrickenKid - 22.02.2009, 17:35
Re: Dini HELP! - by Lazarus - 22.02.2009, 17:54
Re: Dini HELP! - by StrickenKid - 22.02.2009, 18:12
Re: Dini HELP! - by Lazarus - 22.02.2009, 18:16
Re: Dini HELP! - by x-cutter - 23.02.2009, 03:06

Forum Jump:


Users browsing this thread: 1 Guest(s)