[Ajuda] BUG SPREE
#3

new totalkills[MAX_PLAYERS] = 0;
public OnPlayerDeath(playerid, killerid, reason)
{
new string[128];
new emris[128]; // emris = name
GetPlayerName(killerid, emris, sizeof(emris));

totalkills[killerid]++;
totalkills[playerid] = 0;

if(totalkills[killerid] == 6) {
format(string, sizeof(string), "SERVER: %s KILLING SPREE", emris);
SendClientMessageToAll(-1, string);
return 1;
}
return 1;
}
Reply


Messages In This Thread
BUG SPREE - by maxblaya01 - 24.04.2016, 01:29
Re: BUG SPREE - by F1N4L - 24.04.2016, 11:52
Re: BUG SPREE - by ElMagicoR - 24.04.2016, 12:32
Re: BUG SPREE - by maxblaya01 - 24.04.2016, 17:03

Forum Jump:


Users browsing this thread: 1 Guest(s)