Jump to content
  • 0

problem? fake-kill


vladutc

Question

Am ?i eu o problem? la serverul meu de SAMP , nu g?sim nici o solu?ie s? rezolv?m , am încercat toate fs-urile posibile s? nu se mai întâmple asta , dar unii oameni jego?i c? altfel nu le pot spune tot încearc? mereu , ?tie cineva un fs bun sau cum s? rezolv problema? Uita-?i o poz? s? v? da?i cu seama despre ce este vorba.

v51oUnr.png

Repet c? am încercat orice se poate.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

new antifk[MAX_PLAYERS];

public OnPlayerDeath(playerid, killerid, reason)
{
    antifk[playerid] ++;
    SetTimerEx("fk_public", 1000,false,"i",playerid);
    return 1;
}

forward fk_public(playerid);
public fk_public(playerid)
{
    antifk[playerid] --;
    if(antifk[playerid] > 3)
    {
        SendClientMessage(playerid, -1,"Acest server foloseste Anti Fake-Kill !");
        Kick(playerid);
    }
    return 1;
}
incearca asta sau pune la onplayerdeath
if(GetPlayerWeapon(killerid) != reason)
{
SendClientMessage(playerid, -1, "Kill fals !!!");
}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.