08.11.2011, 10:46
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;
}
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.