Raised This Month: $51 Target: $400
 12% 

Be Right Back


Post New Thread Reply   
 
Thread Tools Display Modes
unique
Senior Member
Join Date: Sep 2007
Old 04-02-2011 , 09:12   Re: Be Right Back
Reply With Quote #71

hy man.can you make it for so linux please ?
solved

Last edited by unique; 04-04-2011 at 16:14.
unique is offline
nzkswfxzqe
New Member
Join Date: Mar 2012
Old 03-07-2012 , 14:04   Re: Be Right Back
Reply With Quote #72

Quote:
Originally Posted by Parakeet View Post
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")   
  }
 }
}
Is it possible to make not to kill you? I know is this line:
Code:
    if (is_user_alive(id)) user_kill(id)
What do I have to write instead of
Code:
user_kill
to make it not to kill you?
nzkswfxzqe 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 05:09.


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