[Ajuda] If playerdeesc bug anti cheat simples - 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] If playerdeesc bug anti cheat simples (
/showthread.php?tid=594779)
If playerdeesc bug anti cheat simples -
warriorfrog - 23.11.2015
Fiz um anti cheat bem simples pro meu servidor q se alguem passa de 99 de vida acusa como vida hack, consegui tudo direitinho, mas qnd ta de esc ta bugando a poha toda, alguem sabe uma funзгo pra q eu possa fazer um if(player estб de esc)?
Re: If playerdeesc bug anti cheat simples -
Gii - 23.11.2015
http://forum.sa-mp.com/showpost.php?...postcount=3077
Re: If playerdeesc bug anti cheat simples -
warriorfrog - 23.11.2015
Quote:
Originally Posted by Gii
|
Essa funзгo estб bugando toda bugada irmгo, de vez em qnd diz q tava de esc em aproximadamente 1 segundo...
Nгo tem como checar assim o tempo tbm?
eu tentei usar o timeafk
new tempopausado = GetPausedTime(playerid);
if(tempopausado > 10) return 1;
tambйm nгo funcionou direito
Nгo tem outro jeito de pegar o tempo que um cara ta de esc?