SA-MP Forums Archive
fake kill not work ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: fake kill not work ! (/showthread.php?tid=485862)



fake kill not work ! - br155 - 06.01.2014

Installed but does not answer


PHP код:

 SetTimerEx
("antifakekill2"1000,false,"i",playerid);
 
SetTimerEx("antifakekill2"1000,false,"i",playerid);
public 
antifakekill2(playerid)
{
    
antifakekill[playerid] --;
    if(
antifakekill[playerid] > 3)
    {
    new 
string[64], pName[MAX_PLAYER_NAME];
    
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    
format(string,sizeof string,"* %s Be Dalil Fake Kill Kick Shod )",pName);
    
SendClientMessageToAll(0xFF0000FF,string);
    
Kick(playerid);
    }
    return 
1;