How to add kills/death on OnPlayerDeath
#1

Hmm, I wanted to do this, but I don't know how.
Reply
#2

Do you have Player Variables?
pawn Код:
pInfo[playerid][Deaths]++;
if(killerid != INVALID_PLAYER_ID)
{
    pInfo[killerid][Kills]++;
}
Replace with your vars.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)