SA-MP Forums Archive
[Ajuda] anti cheat - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] anti cheat (/showthread.php?tid=643786)



anti cheat - BrunoLuiz - 27.10.2017

Bom meu servidor estб sofrendo muito kill all e gostaria que alguem me ajudasse, ja coloquei esses 2 codigos na GM e nada adiantou.

Код:
public OnPlayerDeath(playerid, killerid, reason)
{   if(killerid != INVALID_PLAYER_ID)
	{
      if(DamageTaken[playerid] == 0)
      {
	    SendClientMessage(playerid, COR_BRANCO, "{Server-Ban}: Vocк foi banido por usar Fake Kill! ");
        SetTimerEx("BanTimer", 10, 0, "i", playerid);
    }
    if(killerid == playerid)
    {
       SendClientMessage(playerid, COR_BRANCO, "{Server-Ban}: Vocк foi banido por usar Fake Kill!");
       SetTimerEx("BanTimer", 10, 0, "i", playerid);
    }
    if(DamageTaken[playerid] == 1)
    {
       SetTimerEx("DamageTimer", 10, false, "i", playerid);
       }
    }
    return 1;


new DamageTaken[MAX_PLAYERS];
forward BanTimer(playerid);
public BanTimer(playerid)
{
	Ban(playerid);
	return 1;
}
forward DamageTimer(playerid);
public DamageTimer(playerid)
{
    DamageTaken[playerid] = 0;
    return 1;
}


}
Esse codigo abaixo tem nas duas public give e take.

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
   DamageTaken[issuerid] = 1;
 if(gPlayerLogged[issuerid] == 1) return 0;
 if(issuerid == INVALID_PLAYER_ID)
 {
     if(gPlayerLogged[issuerid] == 0)
     {
      if(PlayerInfo[issuerid][pLevel] < 1)
      {
       if(GetPlayerWeapon(issuerid) == 0)
       {
     if(amount >= 400)
     {
      Ban(issuerid);
      return 1;
     }
    }
      }
  }
 }
 return 1;
}
Alguem pode me ajudar...


Re: anti cheat - BrunoLuiz - 27.10.2017

OBS: O mesmo nem chega a logar no servidor, e mata todos do servidor sem parar.


Re: anti cheat - C4rtm4n - 27.10.2017

Alphazin pq ta de fake ?.


Re: anti cheat - Swinte - 27.10.2017

Quote:
Originally Posted by C4rtm4n
Посмотреть сообщение
Alphazin pq ta de fake ?.
acho que n й o alpha n em.


Re: anti cheat - BrunoLuiz - 27.10.2017

sou dono de um servidor RPG onde esse crianзa desse alpha estб usando kill all.


Re: anti cheat - RodrigoMSR - 27.10.2017

Ele mata usando qual arma?


Re: anti cheat - BrunoLuiz - 27.10.2017

se nгo me engano й aleartorio , mais ele usa soco tambem, ou o brass a weapon id 1


Re: anti cheat - IlanZ - 27.10.2017

Isso ta longe da funcionar com exito, eu jб tive esse problema, fiz um. Porem mantenho privado apenas para meu servidor.

obs: й possнvel, estude.


Re: anti cheat - golzaum - 27.10.2017

sente o kill all


Re: anti cheat - RodrigoMSR - 27.10.2017

Quote:
Originally Posted by Cycle
Посмотреть сообщение
Assista esse vнdeo e veja como funciona.
PRO KILL
Esse cheat funciona com fake bullets, nгo vi relaзгo com o que o autor do tуpico descreveu.