Raised This Month: $ Target: $400
 0% 

force weapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wyrda
Member
Join Date: Nov 2009
Old 01-03-2010 , 08:14   Re: force weapon
Reply With Quote #8

I thought i solve it with get-user_wepon but it doesn't work

PHP Code:
if(PW[id])
    {
        
PW[id]=0;
        new 
ammo,clip;
        if( 
get_user_weapon(id,clip,ammo) == CSW_KNIFE )
            
console_cmd(id,"lastinv;lastinv");
    }
    else
    {
        
PW[id]=1;
        new 
ammo,clip;
        if( 
get_user_weapon(id,clip,ammo) == CSW_KNIFE )        
            
set_pevidpev_viewmodel2g_NewModel );
    } 

If I have a pistol it still change the model.Why?
__________________
wyrda 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 04:16.


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