Raised This Month: $ Target: $400
 0% 

Respawn Help..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 08-02-2010 , 15:50   Re: Respawn Help..
Reply With Quote #1

Try that
PHP Code:
    if( !is_user_aliveid ) ) {
        
ChatColor0"%s You must be dead to !gRespawn!y!"CLAN_TAG );
        return 
PLUGIN_HANDLED;
    }
    if( 
g_bRespawnUsed[id] )
    {
        
ChatColorid"%s You've already !gRespawned!y! Wait until next map!"CLAN_TAG );
    }
    if( 
iMoney RESPAWN_COST ) {
        
ChatColorid"%s You don't have enough !gMoney !yto buy that!"CLAN_TAG );
        
CmdMainMenuid );
    }
    else
    {
        
ExecuteHamBHam_CS_RoundRespawnid );
        
        
g_bRespawnUsed[id] = true
        
        cs_set_user_money
idiMoney RESPAWN_COST );
        
        new 
name[32]
        
get_user_nameidname31 )
        
        
ChatColor0"%s %s You have been !gRespawned!y!"CLAN_TAGname );    
    }

__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
infek is offline
EpicFail.
Senior Member
Join Date: May 2010
Old 08-02-2010 , 17:02   Re: Respawn Help..
Reply With Quote #2

Quote:
Originally Posted by infek View Post
Try that
PHP Code:
    if( !is_user_aliveid ) ) {
        
ChatColor0"%s You must be dead to !gRespawn!y!"CLAN_TAG );
        return 
PLUGIN_HANDLED;
    }
    if( 
g_bRespawnUsed[id] )
    {
        
ChatColorid"%s You've already !gRespawned!y! Wait until next map!"CLAN_TAG );
    }
    if( 
iMoney RESPAWN_COST ) {
        
ChatColorid"%s You don't have enough !gMoney !yto buy that!"CLAN_TAG );
        
CmdMainMenuid );
    }
    else
    {
        
ExecuteHamBHam_CS_RoundRespawnid );
        
        
g_bRespawnUsed[id] = true
        
        cs_set_user_money
idiMoney RESPAWN_COST );
        
        new 
name[32]
        
get_user_nameidname31 )
        
        
ChatColor0"%s %s You have been !gRespawned!y!"CLAN_TAGname );    
    }

Now this Revive me when i alive
and when i death this no give me to revive O_O
EpicFail. 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 00:11.


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