SA-MP Forums Archive
[FilterScript] <3rd FS> Basic AFK System! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] <3rd FS> Basic AFK System! (/showthread.php?tid=435459)



<3rd FS> Basic AFK System! - DJTunes - 07.05.2013

Notice:

This script was made by DJTunes, and brought to SA-MP forums by DJTunes. I did watch a tutorial on a small portion of this system. Please keep in mind that this system is my THIRD filter script that I have ever made. Please try to avoid from being harsh; thank you.

Credits
Quote:

Scripter: DJTunes

General Information
This is a simple AFK system.

Commands
Quote:

"/afk" = Displays a message to the server, and sets your health to 99999.99, and you can\'t move.

"/back" = Allows you to move again, and displays a message to the server, and sets your health to 100.

Updates
Version 1.0 (5/6/2013) = http://pastebin.com/DVa7HHYh



Respuesta: <3rd FS> Basic AFK System! - Dreyfuz - 07.05.2013

simple but good...


Re: Respuesta: <3rd FS> Basic AFK System! - DJTunes - 07.05.2013

Quote:
Originally Posted by Dreyfuz
View Post
simple but good...
Thanks!


Re: <3rd FS> Basic AFK System! - JeffAnder - 07.05.2013

Nice man. I like how it\'s simple, understandable and good enough to use.


Re: <3rd FS> Basic AFK System! - Joe Staff - 07.05.2013

You have all of those defined colors but are only using 2 of them, lol.
Also, (unless it has changed) when you use \'TogglePlayerControllable(..,0)\', the player can\'t be hurt, so no point in setting the player\'s health to 99999, especially since animations disable the freeze, which would leave them with 99999 health and able to move.

I made this mistake a long time ago when I was new.


Re: <3rd FS> Basic AFK System! - DJTunes - 09.05.2013

Quote:
Originally Posted by JeffAnder
View Post
Nice man. I like how it\'s simple, understandable and good enough to use.
Thanks! It\'s very simple as you can see, and very easy to use.

Quote:
Originally Posted by Joe Staff
View Post
You have all of those defined colors but are only using 2 of them, lol.

Also, (unless it has changed) when you use \'TogglePlayerControllable(..,0)\', the player can\'t be hurt, so no point in setting the player\'s health to 99999, especially since animations disable the freeze, which would leave them with 99999 health and able to move.


I made this mistake a long time ago when I was new.
Ah.. I\'ll edit this in version 2.0