SA-MP Forums Archive
[Ajuda] AFK - 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] AFK (/showthread.php?tid=630557)



AFK - ThuuGLif3 - 15.03.2017

Qual funзгo utilizo pra checar se o player se movimentou? No caso, estou fazendo um sistema AFK que se o jogador se mover, ele й removido de AFK.


Programando e Relaxando! - RazorGuigo - 15.03.2017

Pode fazer de varias formas, como preferir, vou citar alguns exemplos:
  1. timestamp+KeyStateChange+timer
  2. Plugin YSF-> PauseStateChange
  3. Include verificando AFK
Existem muitas outras formas, mas creio que uma delas ja te ajuda
Thx, se poder +REP pelo post bem feitinho, e editado, q deu trabalho, agradeзo!