[HELP] AFK SYSTEM! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] AFK SYSTEM! (
/showthread.php?tid=332550)
[HELP] AFK SYSTEM! -
JeroenX - 08.04.2012
Hello, ive made an simple afk system.
But i have one question:
I want to auto-afk someone if he is not moving for 30 minutes, how to do this?
I hope you guys can help me!
- Jeroen
I accidently posted this somewhere else, but this is the right section
Re: [HELP] AFK SYSTEM! -
Method.Man - 08.04.2012
Bro her you go
https://sampforum.blast.hk/showthread.php?tid=189884
can you give me 1+ ?
AW: [HELP] AFK SYSTEM! -
Tigerkiller - 08.04.2012
he means auto afk! so whitout typing cmds
for that you need a timer, 3 float pos for all players
Re: [HELP] AFK SYSTEM! -
JeroenX - 08.04.2012
@tigerkiller, I just want to get the player afk when he's not moving for 30 minutes, can you give some examples?
Re: [HELP] AFK SYSTEM! -
tyler12 - 08.04.2012
Quote:
Originally Posted by Method.Man
|
dont beg for rep ...
Re: [HELP] AFK SYSTEM! -
JeroenX - 08.04.2012
Anyone can help?
AW: [HELP] AFK SYSTEM! -
Campbell- - 08.04.2012
You will have to check someones position frequently and count on 30 minutes. Once he is moving again you may reset the counter to start from 0 again. So all in all you create a timer and a counter and count on 30 minutes.
Re: [HELP] AFK SYSTEM! -
JeroenX - 08.04.2012
Campbell, can you give a example?
Re: [HELP] AFK SYSTEM! -
Steezy_ - 08.04.2012
check out this, its an old project of my friend...
http://pastebin.com/45C7t7ne