Kill, Death and server Visit counter doesn't work out for me!
#1

pawn Код:
enum pInfo
{
    pKills,
    pDeaths,
    pVisits,
}

public OnPlayerConnect(playerid)
{
    PlayerInfo[playerid][pVisits]++;
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    PlayerInfo[killerid][pKills]++;
    PlayerInfo[playerid][pDeaths]++;
    return 1;
}
I got working register system and everything there is set properly.

This just simply isnt working out.

If I edit my player notepad file with for example 5 server visits 10 deaths and 15 kills then in game I get that when i chech my stats. But as fact, its not working while I am playing, basically they are not counting anything.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)