[FilterScript] Easy and Simple AFK system
#1

Hi guys, How is it going? I have decided to release some FS so I could advertise my server, I am releasing a AFK System today, Simple and Easy code You just need ZCMD and a_samp(main) includes
Basically this filterscript turns player into AFK mode and sethim godmode, after he is back, his old hp will return, When in AFK mode the player cant speak, Press F or attempt to sit in car, If he tried, he will be slapped and his Z Axis will be 15+
Download(RaR File)

For more mirrors, MSG me

Report bugs
Reply
#2

Works but , I found a bug if a player is afk and he tries to enter a car it takes him up and when he types /togafk again he will fall and die ....
Reply
#3

Oh yeah, I have to tell, You can add more colors/change colors and even change when he presses F or tries to enter car, Change the Z+15 to z+5.0 or 0.5
Or whatever you want
Reply
#4

Changing the Z Axis to lower one will fix it
EDIT: Sorry for double post
Reply
#5

Nice job you done.
Sugestions:
- Indent your code ()
- On your togafk command, after the brackets end. (if afk =1 ) the other part set to to else (make the script look more awesome)
- dont use defines just to write a simple SendClientMessage
(also you can use Macros: like #define SendWarning(%0,%1, "WARNING: "%2" ") SendClientMessage(%0,%1, "WARNING: "%2" ") )

Those are just suggestions, if you want to use them, is ok, else is still ok, i dont mind
Im not still a PRO either, those are just piece of advices you can follow to learn and become greater in Scripting.
Things like: Macros, Functions will help you alot.
Is important to be ORGANISED... you'll see later.
Contact me: I can help you with that server.
Reply
#6

Sure, btw I need administrators, I am not pro too but I am good, Thanks for the suggestions, I have low time here..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)