Raised This Month: $ Target: $400
 0% 

Change secondary weapon to a new one


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 02-06-2013 , 14:24   Re: Change secondary weapon to a new one
Reply With Quote #4

Quote:
Originally Posted by wickedd View Post
Strip their weapons first, then give them a weapon.

PHP Code:
if(is_user_alive(player) && get_user_flags(player) & ADMIN_LEVEL_G)
        {
            
strip_user_weaponsplayer)
            
give_item(player"weapon_deagle")
            
give_item(player"ammo_50ae")
            
give_item(player"ammo_50ae")
            
give_item(player"ammo_50ae"
                        
            
if (!get_pcvar_num(g_menu_active))
                return 
PLUGIN_CONTINUE
            
            
if(CurrentRound >= 3)
            {
                
Showrod(player);
            }
        }
    } 
do i remember it right that "strip_user_weapons()" also drop knife?
.Dare Devil. 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:31.


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