[FS] Simple AFK system by Toniu_ -
*ToM* - 11.06.2009
-AFK- System
Scripted by : Toniu_
Today I am realising a very simple stuff, I was pretty bored so I decided to make an AFK System
It took me about, 30 minutes to make it, I know there's a couple of AFK Systems already made, but I guarantee this small FS has been made from a scratch ! So it's a basic stuff maybe usefull for some servs, but it's not a good thing for Roleplay servs, as the command /afk can be exploited. Once you type /afk your position will be saved,and when you'll decide to /stopafk you will be spawned at the position you left. Also it will send a client message to all that someone is currently AFK and once he type /stopafk it will say that he got back to keyboard again.
Commands
- /afk - teleports you into an AFK zone
- /stopafk - teleports you back to your old position
Credits
All credits go to me ( Toniu_ ). You can edit it in anyway you like but never ever re-realise it or claim this as your own !
Download
AFK.pwn

AFK.amx

Re: [FS] Simple AFK system by Toniu_ -
Weirdosport - 11.06.2009
I can believe you made it from scratch, predominantly because it's very basic..
By the way, what are the object id 971's for?
pawn Code:
CreateObject(971,1228.186,-805.987,802.618,91.100,-0.859,-11.173);
CreateObject(971,1227.392,-809.501,805.978,0.0,0.0,-11.250);
CreateObject(971,1232.266,-807.863,806.149,0.0,0.859,-102.109);
CreateObject(971,1228.715,-802.546,806.276,0.0,0.0,-12.969);
CreateObject(971,1223.862,-804.533,806.088,0.0,0.0,-101.250);
CreateObject(971,1228.230,-805.998,809.414,91.960,0.0,-191.250);
You could add something that sends a message to a player if they try to private message an AFK player saying they're away.
You could also TogglePlayerControllable to force them to use the /stopafk command.
Re: [FS] Simple AFK system by Toniu_ -
*ToM* - 11.06.2009
Quote:
Originally Posted by Weirdosport
I can believe you made it from scratch, predominantly because it's very basic..
By the way, what are the object id 971's for?
pawn Code:
CreateObject(971,1228.186,-805.987,802.618,91.100,-0.859,-11.173); CreateObject(971,1227.392,-809.501,805.978,0.0,0.0,-11.250); CreateObject(971,1232.266,-807.863,806.149,0.0,0.859,-102.109); CreateObject(971,1228.715,-802.546,806.276,0.0,0.0,-12.969); CreateObject(971,1223.862,-804.533,806.088,0.0,0.0,-101.250); CreateObject(971,1228.230,-805.998,809.414,91.960,0.0,-191.250);
You could add something that sends a message to a player if they try to private message an AFK player saying they're away.
You could also TogglePlayerControllable to force them to use the /stopafk command.
|
Maybe you're right, but I didn't put any effort into that FS. it's just a small fs for those who really need it.