SA-MP Forums Archive
[Pedido] Anti teleporte / Anti Spam Car - 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: [Pedido] Anti teleporte / Anti Spam Car (/showthread.php?tid=569795)



Anti teleporte / Anti Spam Car - MarlboroBr - 02.04.2015

Fala galera, bom eu vi aqui no prуprio fуrum alguns tуpicos relacionados. Porem nenhum anticheater / etcs estб pegando esses "Sorvetes" da versгo 0.3z alguem poderia compartilhar anti "Sorvete" ou anti teleporte ou Anti Spam Car para nуs por favor?! Obrigado !


Re: Anti teleporte / Anti Spam Car - Holl - 02.04.2015

Jб tento um sistema d tempo no qualcaso o player entre em 2 carros ou mais em 3 seg , Envie uma msg ao adms , bani ou kick ??


Re: Anti teleporte / Anti Spam Car - NexNix - 02.04.2015

Jб testou estes?

https://sampforum.blast.hk/showthread.php?tid=545724

https://sampforum.blast.hk/showthread.php?tid=474618
https://sampforum.blast.hk/showthread.php?tid=335007

Esse detecta o sobe.it:

http://pastebin.com/N76cybyH
(Link pego do HomeHots)


Re: Anti teleporte / Anti Spam Car - ImperioHosting - 02.04.2015

https://sampforum.blast.hk/showthread.php?tid=545724


Re: Anti teleporte / Anti Spam Car - MarlboroBr - 02.04.2015

Obrigado a todos, se tiver mais algum, ъtil que vocкs souberem que funciona, ficarei feliz

Obs: Alguem sabe me dizer porque nгo estб dando ban ?! Esta dando somente kick:
PHP код:
    if(GetPVarInt(playerid, "ClickMap") > gettime())
    if(!
IsPlayerInRangeOfPoint(playerid, 10.0, GetPVarFloat(playerid, "PX"), GetPVarFloat(playerid, "PY"), GetPVarFloat(playerid, "PZ")))
    return 
BanEx(playerid, "Teleport");
    new 
Float:Pos[3]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    
SetPVarFloat(playerid, "PX", Pos[0]); SetPVarFloat(playerid, "PY", Pos[1]); SetPVarFloat(playerid, "PZ", Pos[2]);
    return 
1;
} 
Eu queria muito adaptar para isto, porйm estб kickando apos fazer o login, ou estб dando flood me mensagem apos logar, mais nгo estou conseguindo fazer banir uma pessoa...
PHP код:
    format( gstring, sizeof( gstring ),"{37CA3A}[ BPO ] CASTIEL:{FFFFFF} baniu o jogador(a) %s - {F90C14}MOTIVO:{FFFFFF} Teleporte !", PlayerName( playerid ));
    
SendClientMessageToAll( COLOR_BRANCO, gstring );
    
dini_IntSet( gFile, "Banido", 1 );
    return 
Ban( playerid ), 1; 



Re: Anti teleporte / Anti Spam Car - MarlboroBr - 04.04.2015

UP !


Re: Anti teleporte / Anti Spam Car - Locky_ - 04.04.2015

Quote:
Originally Posted by MarlboroBr
Посмотреть сообщение
Obrigado a todos, se tiver mais algum, ъtil que vocкs souberem que funciona, ficarei feliz

Obs: Alguem sabe me dizer porque nгo estб dando ban ?! Esta dando somente kick:
PHP код:
    if(GetPVarInt(playerid, "ClickMap") > gettime())
    if(!
IsPlayerInRangeOfPoint(playerid, 10.0, GetPVarFloat(playerid, "PX"), GetPVarFloat(playerid, "PY"), GetPVarFloat(playerid, "PZ")))
    return 
BanEx(playerid, "Teleport");
    new 
Float:Pos[3]; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    
SetPVarFloat(playerid, "PX", Pos[0]); SetPVarFloat(playerid, "PY", Pos[1]); SetPVarFloat(playerid, "PZ", Pos[2]);
    return 
1;
} 
Eu queria muito adaptar para isto, porйm estб kickando apos fazer o login, ou estб dando flood me mensagem apos logar, mais nгo estou conseguindo fazer banir uma pessoa...
PHP код:
    format( gstring, sizeof( gstring ),"{37CA3A}[ BPO ] CASTIEL:{FFFFFF} baniu o jogador(a) %s - {F90C14}MOTIVO:{FFFFFF} Teleporte !", PlayerName( playerid ));
    
SendClientMessageToAll( COLOR_BRANCO, gstring );
    
dini_IntSet( gFile, "Banido", 1 );
    return 
Ban( playerid ), 1; 
Tudo isso tem que estar dentro do OnPlayerClickMap..


Re: Anti teleporte / Anti Spam Car - MarlboroBr - 09.04.2015

Vish valeu funcionou, mais esse FS de anti cheater nгo й muito aconselhavel porque quando a pessoa vai marcar algo no mapa ele jб da ban por teleporte --'