KD System
#5

pawn Код:
new Kills[MAX_PLAYERS];
new Deaths[MAX_PLAYERS];

public OnPlayerDeath(playerid, killerid, reason)
{
      Deaths[playerid]++;
      if(killerid != INVALID_PLAYER_ID && killerid != playerid)
     {
           Kills[killerid]++;
     }
     return 1;
}
Then go through this tutorial to learn how to make textdraws:
http://forum.sa-mp.com/showthread.ph...+draw+tutorial
Reply


Messages In This Thread
KD System - by Admigo - 25.05.2011, 21:05
Respuesta: KD System - by admantis - 25.05.2011, 22:30
Re: KD System - by Admigo - 26.05.2011, 09:50
Re: KD System - by Admigo - 26.05.2011, 11:14
Re: KD System - by [DM]Kane - 26.05.2011, 11:34

Forum Jump:


Users browsing this thread: 1 Guest(s)