Raised This Month: $ Target: $400
 0% 

Revive


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
pacheco
Senior Member
Join Date: Jul 2011
Old 12-21-2011 , 16:21   Re: Revive
Reply With Quote #3

PHP Code:
#include <amxmodx>
#include <colorchat>
#include <hamsandwich>
 
public plugin_init(){
        
register_plugin("ReViVe""1.0""pacheco"),
        
        
register_clcmd("amx_revive""cmd_revive")
}

public 
cmd_revive(id){
    if(!
is_user_alive(id)){
        
ExecuteHamB(Ham_CS_RoundRespawnid);

        new 
szName32 ];
        
get_user_nameidszName31 );
        
ColorChat(0GREEN"%s has been revived."szName)
    }

You need ColorChat include.
__________________




Last edited by pacheco; 12-21-2011 at 16:25.
pacheco is offline
 



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 20:54.


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