Raised This Month: $ Target: $400
 0% 

Weapon model change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
egbertjan
Senior Member
Join Date: Mar 2007
Location: The Netherlands
Old 04-07-2011 , 13:41   Weapon model change
Reply With Quote #1

Hello,

I have a weapon model, but when I get the weapon and change to a pistol it keeps the weapon model instead of taking the pistol. When I shoot I do hear the pistol shot, so that means that the weapon model replaces the pistol, but when I change to another item (like a knife) and then change to the pistol I do get it. So I was wondering what I did wrong with this code:

PHP Code:
    new wpnid read_data(2)

        if(
player_class[id] == Mage  && wpnid == CSW_AK47 ) {
        
entity_set_string(idEV_SZ_viewmodelMAGICAK47)
        } 
egbertjan is offline
 


Thread Tools
Display Modes

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:11.


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