Raised This Month: $ Target: $400
 0% 

entity_set_model


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 04-11-2007 , 23:08   entity_set_model
Reply With Quote #1

PHP Code:
case CSW_M4A1:
        {
            new 
V_RIFLE[56]
            new 
P_RIFLE[56]
            
            
format(V_RIFLE,55,"models/v_halorifle.mdl")
            
format(P_RIFLE,55,"models/p_halorifle.mdl")
            
entity_set_model(EV_SZ_modelP_RIFLE)
            
entity_set_model(EV_SZ_viewmodelV_RIFLE)
            
            return 
PLUGIN_HANDLED
        

This isn't setting any models at all, I did precache the models. Also, my knife model sets but when changing to grenade it stays the knife model, any way around that? Thanks
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
 



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 06:34.


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