Raised This Month: $32 Target: $400
 8% 

Be Right Back


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 05-18-2004 , 09:31   Be Right Back
Reply With Quote #1

.: 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
Attached Files
File Type: sma Get Plugin or Get Source (brb.sma - 4512 views - 3.2 KB)
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.

Last edited by Cheap_Suit; 08-07-2006 at 18:37.
Cheap_Suit is offline
Girthesniper
Senior Member
Join Date: Mar 2004
Location: Maryland
Old 05-25-2004 , 16:20  
Reply With Quote #2

Just change ur name to AFK or soemthing. Dont be so lazy .
__________________
BANNED
Girthesniper is offline
Send a message via AIM to Girthesniper Send a message via MSN to Girthesniper
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 05-26-2004 , 02:09  
Reply With Quote #3

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 .
Cheap_Suit is offline
Dark_Clutz
Junior Member
Join Date: Apr 2004
Old 05-27-2004 , 01:16  
Reply With Quote #4

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.
Dark_Clutz is offline
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 05-28-2004 , 14:04  
Reply With Quote #5

Happened for me, this plugin is broken currently, don't use it until it's fixed.
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 06-03-2004 , 09:53  
Reply With Quote #6

Sorry, for taking so long. I hope this fixed the problem.
Cheap_Suit is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 06-09-2004 , 23:26  
Reply With Quote #7

crap Im getting the promblem its not fix yet.
can anybody help me fix it?
Cheap_Suit is offline
Girthesniper
Senior Member
Join Date: Mar 2004
Location: Maryland
Old 06-10-2004 , 00:00  
Reply With Quote #8

kinda gay?
__________________
BANNED
Girthesniper is offline
Send a message via AIM to Girthesniper Send a message via MSN to Girthesniper
Nick
Senior Member
Join Date: Apr 2004
Location: Canada, Alberta, Cal
Old 06-10-2004 , 00:21  
Reply With Quote #9

Im newbie but this is my shot at fixing it. :p
Im sure its the worst way of doing it...
Attached Files
File Type: sma Get Plugin or Get Source (brb.sma - 1685 views - 672 Bytes)
__________________
Nick is offline
Send a message via MSN to Nick
Parakeet
Junior Member
Join Date: May 2004
Old 06-12-2004 , 13:21  
Reply With Quote #10

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")   
  }
 }
}
__________________
french AMX/AMXX Community
Pour des traductions compatibles AMX et AMXX:
http://cyberguerrier.free.fr/amxcodingV2/index.php
Parakeet is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:10.


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