SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 29/03/2011, 08:45 AM   #1
Antonio [G-RP]
High-roller
 
Join Date: Jul 2009
Location: Canada
Posts: 1,180
Reputation: 4
Default Lach's Multi AFK System

Lach's Multi AFK System

Features

- Aquire AFK status from both tabbing out, and staying in the same position.
- Kicks the player after a determined amout of time.
- Changes players name to red and puts "Player is AFK" text above the players head when AFK.
- Easy to use, easy to edit.

Credits

- Credits are to me - Antonio (or Lach)
- Keep all credits in the FS. Feel free to edit & re-release in necessary.

Download

http://pastebin.com/smBWhKXC
__________________
If I've helped you at all, give me a REP. It's appreciated.
Antonio [G-RP] is offline   Reply With Quote
Old 29/03/2011, 08:45 AM   #2
Ironboy
High-roller
 
Ironboy's Avatar
 
Join Date: Nov 2010
Location: United Arab Emirates
Posts: 1,669
Reputation: 374
Default Re: Lach's Multi AFK System

Nice work
__________________
Ironboy is offline   Reply With Quote
Old 29/03/2011, 08:47 AM   #3
Antonio [G-RP]
High-roller
 
Join Date: Jul 2009
Location: Canada
Posts: 1,180
Reputation: 4
Default Re: Lach's Multi AFK System

Thanks, however it is my first release. BTW - thanks for remind me about the wrong section.
__________________
If I've helped you at all, give me a REP. It's appreciated.
Antonio [G-RP] is offline   Reply With Quote
Old 29/03/2011, 08:57 AM   #4
Retardedwolf
High-roller
 
Retardedwolf's Avatar
 
Join Date: Jun 2009
Posts: 1,599
Reputation: 60
Default Re: Lach's Multi AFK System

1second timer + plain player loop + PVar, a good start for a release tho.
Retardedwolf is offline   Reply With Quote
Old 29/03/2011, 09:06 AM   #5
[nL]W0rfleR
Big Clucker
 
[nL]W0rfleR's Avatar
 
Join Date: Jan 2011
Location: •California/Compton•
Posts: 151
Reputation: 8
Default Re: Lach's Multi AFK System

well done but Fuck me. Theres enough AFK systems released...
__________________


GamerZ Playground 81! New to SA:MP! Come join the fun today!
34 players Plus in just 3 days!

Looking for a pro mapper? I can assist you to a great mate of mine
[nL]W0rfleR is offline   Reply With Quote
Old 29/03/2011, 09:35 AM   #6
antonio112
High-roller
 
antonio112's Avatar
 
Join Date: Aug 2009
Location: Romania
Posts: 1,011
Reputation: 86
Default Re: Lach's Multi AFK System

Like Retardedwolf said, 1 second timer it`s a bit unnecessary.

And one more piece of advice, instead of setting a pvar to 0, you could just delete it (DeletePVar(playerid, "Variable"). Don`t worry, it`ll be readed as 0 if the pvar doesn`t exists.

Anyway, good job with the filterscript.
__________________
antonio112 is offline   Reply With Quote
Old 29/03/2011, 10:22 AM   #7
NikolaKrstic97
Little Clucker
 
Join Date: Jan 2011
Posts: 5
Reputation: 0
Default Re: Lach's Multi AFK System

this was very helpfull , thank you !
NikolaKrstic97 is offline   Reply With Quote
Old 29/03/2011, 10:58 AM   #8
BASITJALIL
Gangsta
 
Join Date: Mar 2010
Location: C:\WINDOWS\system32\BasitJalil.dll
Posts: 555
Reputation: 7
Default Re: Lach's Multi AFK System

Nice work
BASITJALIL is offline   Reply With Quote
Old 29/03/2011, 08:20 PM   #10
Antonio [G-RP]
High-roller
 
Join Date: Jul 2009
Location: Canada
Posts: 1,180
Reputation: 4
Default Re: Lach's Multi AFK System

Thanks everybody for the tips & comments.
__________________
If I've helped you at all, give me a REP. It's appreciated.
Antonio [G-RP] is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.exe Multi Options? DeltaAirlines12 Help Archive 2 03/10/2009 09:42 PM
San Fierro PR multi language system Tony_Arracardo Help Archive 9 31/07/2009 03:02 PM


All times are GMT. The time now is 07:36 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.