SA-MP Forums Archive
[Pedido] Ant Teleport - 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] Ant Teleport (/showthread.php?tid=551040)



Ant Teleport - Auxiz - 16.12.2014

Bom galera hoje venho fazer um pedido.
Quero um anti-teleport.
O quк estб acontecendo no meu server? estб acontecendo o seguinte as pessoas entra de hackers й digita "/t, /trabalhar etc..." e й teleportado no checkpoint alguйm, poderia me ajudar e me passar a fs anti-teleport?

Server de Trucker!


Re: Ant Teleport - JonathanFeitosa - 16.12.2014

Utilize lуgica amigo! Temos que pensar.

Ex: Usa SetTimerEx, se o Player chegar antes de 3 segundos no CheckPoint, vocк kicka.


Obs: SetTimerEx porque й apenas para 'um' Player.
Obs2: Verificar se a diferenзa de um CheckPoint para o outro de chegada(com velocidade mбxima) й de menos de 3 segundos, caso nгo, altere.
Obs3: Ai vocк kicka, manda recomeзar, ou dar ban.

Simples, nгo? Funciona atй para Air-Break Abraзos


Re: Ant Teleport - viniciuship - 16.12.2014

Eu recomendo fazer o que o Jonathan falou...

Aqui estб o link se quiser https://sampforum.blast.hk/showthread.php?tid=60178