AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Be Right Back (https://forums.alliedmods.net/showthread.php?t=2033)

Cheap_Suit 05-18-2004 09:31

Be Right Back
 
3 Attachment(s)
.: Description :.
A simple plugin that allow's a player to notify other players that he will be AFK (Away From Keyboard) but will be back.
It also has an automatic feature that sends AFKs to spectator instead of kicking, killing, or slaying the player.

.: Client Commands :.
say /brb - sets client to "be right back" mode

.: Cvars :.
amx_brbtime (D: 40) - Max afk time before the plugin sents them to spec
amx_warntime (D: 10) - Time before it starts to warn afk clients

.: Changelog :.
  • Version 1.0 - Initial Release
  • Version 1.1 to 2.4 - Lost changelog
  • Version 2.5 - Fixed minor bugs
  • Version 2.6 - Fixed bot issue

Girthesniper 05-25-2004 16:20

Just change ur name to AFK or soemthing. Dont be so lazy :).

Cheap_Suit 05-26-2004 02:09

what do you mean?
if u mean [AFK] (name) then, great idea ill add it in the next release.

BTW this is my first plugin . :roll:

Dark_Clutz 05-27-2004 01:16

plugin seems to have a problem it kills everyone and moves all but admins to the spec team. i'll take a look at it see if i can't smooth it out.

Kamikaze 05-28-2004 14:04

Happened for me, this plugin is broken currently, don't use it until it's fixed.

Cheap_Suit 06-03-2004 09:53

Sorry, for taking so long. I hope this fixed the problem. :oops:

Cheap_Suit 06-09-2004 23:26

crap Im getting the promblem its not fix yet.
can anybody help me fix it?

Girthesniper 06-10-2004 00:00

kinda gay?

Nick 06-10-2004 00:21

1 Attachment(s)
Im newbie but this is my shot at fixing it. :p
Im sure its the worst way of doing it...

Parakeet 06-12-2004 13:21

try this :
Code:

#include <amxmodx>
#include <amxmisc>

public plugin_init() {
        register_plugin("BRB","1.1","Cheap_Suit")
        register_clcmd("say","say_event")
        return PLUGIN_CONTINUE
}
 
new phrase[1][] = { "/brb" }

public say_event(id)
{
    new sid[2]
    sid[0] = id
    num_to_str(id,sid,2)
    new said[192]
    read_args(said,191)
    new name[32]
    get_user_name(id,name,31)

    new i

    for( i = 0; i < 1; i++ )
    {

    if(containi(said,phrase[i]) != -1)
  {
        if (is_user_alive(id)) user_kill(id)
        client_cmd(0,"spk ^"barney/ba_later.wav^"")
        client_print(0,print_chat,"*DEAD* %s : I'll be back...",name)
        client_cmd(id,"jointeam 6") 
  }
 }
}



All times are GMT -4. The time now is 02:30.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.