Unique AFK-System - Very cool -
sim_sima - 25.02.2011
This filterscript is made by Sim_sima.
This is my first filterscript, so i hope you guys like it.
This filterscript is very usefull for most servers. It allows the player to set his status to AFK mode, and his name-color changes to grey, he is invisible for other players, he is not able to type in chat, and he is not able to move.
When he is not afk anymore, his name-color changes back to the original color, and he is again able to move and chat.
COMMANDS:
/goafk = Puts player in AFK mode
/back = Returns the player from AFK mode
/afklist = Shows a list of AFK players
/afkhelp = Shows a list of commands related to this script
Version 1.0b:
This filterscript has 3 commands:
/goafk = If a player types this, he will be invisible for other non-afk players. He is also unable to move or chat. His color on the scoreboard also changes to grey.
/back = Returns the player from AFK mode. He can now move around again, and type in the chat. His color on the scoreboard also changes back to the normal color again.
/afkhelp = Just an extra command i added for information in-game.
*UPDDATE*
Version 1.0a released!
New features:
- /afklist command (Shows list of players in AFK mode).
- Rebuilded code structure.
*UPDATE*
Version 1.1b released!
Same system, same commands.
All (known) bugs are fixed!
*UPDATE*
Version 1.2b released!
Tetdraws added in stead of game text.
Same system, same commands.
Hope you like the script. Feel free to edit it in any way you want.
IMPORTANT: Read the "IMPORTANT NOTES! Read before installing.txt" before installing! IT CONTAINS VERY IMPORTANT INFORMATION!
Find it in attachmelts below
FUTURE PLANS WITH THIS SCRIPT:
I also want to make a timer on about 5-10 seconds when a player types /goafk, and if he moves, the /goafk will cancel. Ill made this in order to make players unable to abuse it.
I will also make a system, that automaticly turns the player AFK if he is not moving for 10-15 minutes.
Maybe i will change to zcmd in stead of strcmp in later versions.
DOWNLOAD HERE:
http://forum.sa-mp.com/attachment.ph...5&d=1300909573 <-- Or from attached files below.
PASTEBIN:
http://pastebin.com/TR2TfRtj <-- Remember to read the TXT file from attachments below!
If you are using this script on your server, please let me know. Post the IP of your server in a comment here, or send a mail to
simon.krogsgaard@hotmail.com. Thank you.
Enjoy.
- Sim_sima.
Re: AFK-System v1.0b -
Mean - 25.02.2011
There are alot of thoose, but not bad.
Just a suggestion:
Would be better because some people do a redefinition.
Re: AFK-System v1.0b -
sim_sima - 25.02.2011
Quote:
Originally Posted by Mean
There are alot of thoose, but not bad.
Just a suggestion:
Would be better because some people do a redefinition.
|
Yea, thats right...
Re: AFK-System v1.0b -
sim_sima - 26.02.2011
Quote:
Originally Posted by Mean
There are alot of thoose, but not bad.
Just a suggestion:
Would be better because some people do a redefinition.
|
@Fixed in v1.0a or newer
Re: AFK-System v1.0b -
sim_sima - 01.03.2011
All known bugs are now fixed. Enjoy.
Re: AFK-System v1.0b -
black_dota - 01.03.2011
Upload on PasteBin
Re: AFK-System v1.0b -
sim_sima - 01.03.2011
Quote:
Originally Posted by black_dota
Upload on PasteBin
|
Now on Pastebin.
Re: AFK-System v1.0b -
black_dota - 02.03.2011
Why strcmp and why creating a new variables?
Do you know what PVars are?
Re: AFK-System v1.0b -
sim_sima - 23.03.2011
v1.2b released! Read more above. Enjoy.
Re: AFK-System v1.0b -
Madsen - 23.03.2011
ty sim_sima i am defintly going to use this in my server.
in the next update:
add a timer so it takes 5-10 seconds to go afk