SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 04/03/2011, 08:28 PM   #1
Markx
Gangsta
 
Markx's Avatar
 
Join Date: Dec 2010
Location: Zagreb, Croatia
Posts: 976
Reputation: 39
Thumbs up Simple AFK System

Simple AFK System

By: [KMA]Markx

About:
[U]Commands[/U]

/afk
/back
More info

It got a anti spam system.
Very useful.
Player Cant talk while thair AFK.
English FileScript

Images





Credits
Zeex for Zcmd

#Note
You will need Zcmd inc in your includes folder!

Instalation

1.Put AFK.pwn in your FileScript Folder.
2.Download Zeex's Zcmd include.
3.Open server.cfg and add AFK to Filescript line.
4.Enjoy!


Download

SolidFiles
Pastebin
__________________
...Left samp for now, hope i gonna be back someday...

Markx is offline   Reply With Quote
Old 04/03/2011, 08:29 PM   #2
Ironboy
High-roller
 
Ironboy's Avatar
 
Join Date: Nov 2010
Location: United Arab Emirates
Posts: 1,670
Reputation: 375
Default Re: Simple AFK System

good job
__________________
Ironboy is offline   Reply With Quote
Old 04/03/2011, 08:32 PM   #3
Markx
Gangsta
 
Markx's Avatar
 
Join Date: Dec 2010
Location: Zagreb, Croatia
Posts: 976
Reputation: 39
Default Re: Simple AFK System

Quote:
Originally Posted by Ironboy View Post
good job
Thanks! Its my First FS
__________________
...Left samp for now, hope i gonna be back someday...

Markx is offline   Reply With Quote
Old 04/03/2011, 08:34 PM   #4
Ironboy
High-roller
 
Ironboy's Avatar
 
Join Date: Nov 2010
Location: United Arab Emirates
Posts: 1,670
Reputation: 375
Default Re: Simple AFK System

Nice starting xD
__________________
Ironboy is offline   Reply With Quote
Old 04/03/2011, 08:36 PM   #5
Markx
Gangsta
 
Markx's Avatar
 
Join Date: Dec 2010
Location: Zagreb, Croatia
Posts: 976
Reputation: 39
Default Re: Simple AFK System

Quote:
Originally Posted by Ironboy View Post
Nice starting xD
Wow thanks, i didnt think that i will do that good :P i ain't very good at scripting

EDIT: Added Credits, #Note and Installation to the main post
__________________
...Left samp for now, hope i gonna be back someday...

Markx is offline   Reply With Quote
Old 04/03/2011, 10:42 PM   #6
Mean
Banned
 
Join Date: Jul 2010
Location: 14th annual lemon party
Posts: 2,888
Reputation: 229
Default Re: Simple AFK System

It's good, but someone should make a system that would kick afk players.
Mean is offline   Reply With Quote
Old 04/03/2011, 11:26 PM   #7
Master_Gangster
Huge Clucker
 
Master_Gangster's Avatar
 
Join Date: Jan 2009
Posts: 272
Reputation: 0
Default Re: Simple AFK System

Quote:
Originally Posted by Mean View Post
It's good, but someone should make a system that would kick afk players.
actually it's quite easy.

use this script for example and find where the afk command is, then just add a simple kick. After detecting IF the player is really afk.

take into account this code can be changed to kick the player if they are afk:
Code:
if (IsPlayerAfk[playerid] == 1) 
{
    Kick(playerid); //kick the player
}
maybe an opinion?
Master_Gangster is offline   Reply With Quote
Old 05/03/2011, 12:04 AM   #8
sherlock
High-roller
 
sherlock's Avatar
 
Join Date: Aug 2010
Location: United Kingdom
Posts: 1,045
Reputation: 60
Default Re: Simple AFK System

Quote:
Originally Posted by [KMA]Lord_Deji View Post
how about you make like a tree...
"AND GET OUTTA HERE! Its LEAVE! Maake like a tree,and LEAVE. You sound like a dam fool when you say it wrong!" Sorry,couldnt resist :P Back to the future part 2 xD. ..... Anyway i agree.Its his first script and it looks cool. I think for a next version you can make it freeze the player too? Then i will be using it :P
__________________


sherlock is offline   Reply With Quote
Old 05/03/2011, 12:22 AM   #9
Master_Gangster
Huge Clucker
 
Master_Gangster's Avatar
 
Join Date: Jan 2009
Posts: 272
Reputation: 0
Default Re: Simple AFK System

Quote:
Originally Posted by sherlock View Post
"AND GET OUTTA HERE! Its LEAVE! Maake like a tree,and LEAVE. You sound like a dam fool when you say it wrong!" Sorry,couldnt resist :P Back to the future part 2 xD. ..... Anyway i agree.Its his first script and it looks cool. I think for a next version you can make it freeze the player too? Then i will be using it :P
for that you can simply use
Code:
TogglePlayerControllable(playerid, 0);
somewhere in your code bro (:
Master_Gangster is offline   Reply With Quote
Old 05/03/2011, 01:46 AM   #10
Jovanny
Banned
 
Join Date: Oct 2010
Location: Siиαloα
Posts: 1,482
Reputation: 0
Default Respuesta: Simple AFK System

good job
Jovanny 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
[FilterScript] [FS] Simple GPS System Jofi Filterscripts 24 27/12/2013 07:37 PM
[FilterScript] || Simple TAX System || mrcoolballs Filterscripts 14 16/06/2013 07:00 PM
[FilterScript] Simple Pm system Tessar Filterscripts 5 14/06/2013 01:44 PM
[FilterScript] A simple AFK system Ironboy Filterscripts 4 24/05/2011 09:10 AM
Simple Job system Haji Filterscripts 13 13/08/2009 08:33 PM


All times are GMT. The time now is 04:04 PM.


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