04.07.2015, 15:45
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(IsPlayerConnected(killerid))
{
TotalMatou[killerid]++;
}
TotalMorreu[playerid]++;
SendDeathMessage(killerid,playerid,reason);
new var1[24];
GetPlayerName(killerid, var1, 24);
TogglePlayerSpectating(playerid, true);
PlayerSpectatePlayer(playerid, killerid, 1);
glob4C6C[playerid] = 1;
GameTextForPlayer(playerid, "~r~SE FODEU", 7000, 3);
SetTimerEx("Morreu", 7000, false, "d", playerid);
SetPlayerScore(playerid,GetPlayerScore(playerid) - 1);
SetPlayerScore(killerid,GetPlayerScore(killerid)+5 );
SetPlayerPos(playerid, 1177.6351,-1323.5051,14.0804);
antifakekill[playerid] ++;
SetTimerEx("antifakekill2", 1000,false,"i",playerid);