/lastkill and /lastdeath
#6

pawn Код:
lastkillid[MAX_PLAYERS];
OnPlayerDeath

pawn Код:
lastkillid[playerid] = killerid;
pawn Код:
CMD:lastdeath(playerid, params[])
{
new string[128];
new ID;
if(sscanf(params,"u", ID)) return SendClientMessage(playerid,-1,"USAGE: /lastkill <PlayerName/ID>");
format(string,sizeof(string),"%s(%d) was killed by %s(%d)",GetName(ID),ID,GetName(lastkillid),lastkillid);
SendClientMessage(playerid, -1, string);
return 1;
}
That what u want?
Reply


Messages In This Thread
/lastkill and /lastdeath - by Luis54321 - 21.05.2014, 14:36
Re: /lastkill and /lastdeath - by Rittik - 21.05.2014, 14:47
AW: /lastkill and /lastdeath - by Luis54321 - 21.05.2014, 14:49
Re: /lastkill and /lastdeath - by JFF - 21.05.2014, 15:29
AW: /lastkill and /lastdeath - by Luis54321 - 21.05.2014, 15:31
Re: /lastkill and /lastdeath - by JFF - 21.05.2014, 15:38
AW: /lastkill and /lastdeath - by Luis54321 - 21.05.2014, 15:40
Re: /lastkill and /lastdeath - by JFF - 21.05.2014, 15:43
AW: /lastkill and /lastdeath - by Luis54321 - 21.05.2014, 15:47
Re: /lastkill and /lastdeath - by JFF - 21.05.2014, 15:56

Forum Jump:


Users browsing this thread: 3 Guest(s)