SA-MP Forums Archive
[FilterScript] [FS] Simple Advance "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] [FS] Simple Advance "AFK" System (/showthread.php?tid=60446)



[FS] Simple Advance "AFK" System - flakey - 04.01.2009

Simple Advance

System
What is this?
This is a little AFK system made by pujan. This is my first released [FS] So don't expect much. I made this long ago to my gamemode and now it's released as filterscript. Have fun!

Features:
Код:
------------------------------------------------------------------------------
-List of AFK players
-No command spam
-Set players in afk mode to different virtual world until they are /back
------------------------------------------------------------------------------
Commands:
Код:
/afk  -  Inform players that you're in AFK mode. You will be set to a different virtual world so you won't get harmed by other players
/brb  -  Same as AFK
/back -  Set your virtual world to 0 (default). And inform other players that you are back.
/afklist -  Shows a list of players who typed /afk or /brb. Player's name who typed /back will be removed from the list.
Changelog:
Код:
-Changed virtual world to more numbers instead of 1 to make sure there's no screw-ups when you're using it with your gamemode.
Download:
Click here!
Pastebin.com




Re: [FS] Simple Advance "AFK" System - rafay - 04.01.2009

cool!


Re: [FS] Simple Advance "AFK" System - Zezombia - 04.01.2009

1- The indentation is horrible.
2- You don't need "sendername" as a global variable.3- You don't need "string" as a global variable.4- "string" doesn't need to be 256 cells long.5- Your creating more strings, leaving your global "string" basically unused.
6- All of your "str"s don't need to be 256 cells long.
7- AFK and BRB are the same thing.8- You take no consideration for those who use VirtualWorld's in their server. And this is just an opinion-based thing, but this script doesn't actually do anything. It just displays a message.

Sorry for sounding like such an ass, but you can do better then this pujan.


Re: [FS] Simple Advance "AFK" System - flakey - 04.01.2009

Quote:
Originally Posted by Zezombia
1- The indentation is horrible.
2- You don't need "sendername" as a global variable.
  • It just weights down the script.
3- You don't need "string" as a global variable.
  • It just weights down the script.
4- "string" doesn't need to be 256 cells long.
  • Max for this type of script would be 128.
  • The max for this script itself would be 25.
5- Your creating more strings, leaving your global "string" basically unused.
6- All of your "str"s don't need to be 256 cells long.
7- AFK and BRB are the same thing.
  • You even use the same AFK error for AFK and BRB.
8- You take no consideration for those who use VirtualWorld's in their server.
  • Not everyone leaves it at 0.
And this is just an opinion-based thing, but this script doesn't actually do anything. It just displays a message.

Sorry for sounding like such an ass, but you can do better then this pujan.
Ok, thanks for the supporting comment, but this script is still safe to use, true?


Re: [FS] Simple Advance "AFK" System - Zezombia - 04.01.2009

Not if they use Virtual Worlds. Then their screwed.

None the less, the script Show Room is for showing off scripts, and letting people learn from what you've done.


Re: [FS] Simple Advance "AFK" System - Rks25 - 04.01.2009

Also a pastebin link please.


Re: [FS] Simple Advance "AFK" System - Lidor Kalfa - 04.01.2009

simple or advance? ><


Re: [FS] Simple Advance "AFK" System - Zezombia - 04.01.2009

Quote:
Originally Posted by Rks_
Also a pastebin link please.
Pastebin:
http://pastebin.com/f30a357d6

Quote:
Originally Posted by Lidor Kalfa
simple or advance? ><
Simple. I think "advance" was just a "catchy" name.


Re: [FS] Simple Advance "AFK" System - Mikep - 04.01.2009

http://forum.sa-mp.com/index.php?topic=65899.0

*giggles*


Re: [FS] Simple Advance "AFK" System - flakey - 05.01.2009

Quote:
Originally Posted by Mikep
So what?