18.02.2011, 19:19
hi,
how would u count the kills/deaths of a player he made in one round?
ive ried it like this but it doesnt seem to work!
can someone tell me whats wrong pls?
how would u count the kills/deaths of a player he made in one round?
ive ried it like this but it doesnt seem to work!
pawn Код:
new KillsInRound[MAX_PLAYERS];
new DeathsInRound[MAX_PLAYERS];
//OnPlayerDeath
KillsInRound[killerid]++;
DeathsInRound[playerid]++;
//as soon as new round begins i reset them
KillsInRound[playerid]=0;
DeathsInRound[playerid]=0;