Raised This Month: $ Target: $400
 0% 

Change secondary weapon to a new one


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 02-08-2013 , 16:20   Re: Re: Change secondary weapon to a new one
Reply With Quote #9

Quote:
Originally Posted by leonardo_ View Post
that warning:


and line 144 is that one:

PHP Code:
strip_user_weapons(player



And tried that code:
PHP Code:
 for(new 0pnumi++)
    {
        
player players[i];
        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")
give_item(player"weapon_knife")
            
            if (!
get_pcvar_num(g_menu_active))
                return 
PLUGIN_CONTINUE
            
            
if(CurrentRound >= 3)
            {
                
Showrod(player);
            }
        }
    } 
and I didn't have anything, just deagle... even knife was deleted, like the menu that usually shows on the top-left of the screen was deleted too... Like when you choosing between knife and primary weapon it shows you a yellow menu on the top, and with that code it didn't show me anything...

Can anyone help me to fix that...
The stock I gave you was. StripUserWeapons not the fun native
Doc-Holiday 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