Raised This Month: $ Target: $400
 0% 

Model not precached? *HELP*


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Qvantry
Junior Member
Join Date: Aug 2012
Old 01-05-2014 , 06:21   Re: Model not precached? *HELP*
Reply With Quote #4

Quote:
Originally Posted by DavidJr View Post
PHP Code:
switch (key) {
        case 
0: { // 1
            
format(vModel,32,"models/vip-models/desert.mdl")
            
format(pModel,32,"models/vip-models/desert.mdl")
        }
        case 
1: { // 2
            
format(vModel,32,"models/vip-models/m9.mdl")
            
format(pModel,32,"models/vip-models/m9.mdl")
        }
        case 
2: { // 3
            
format(vModel,32,"models/vip-models/golden.mdl")
            
format(pModel,32,"models/vip-models/golden.mdl")
        }
        case 
3: { // 4
            
format(vModel,32,"models/vip-models/pocket.mdl")
            
format(pModel,32,"models/vip-models/pocket.mdl")
        } 
>>

PHP Code:
switch (key) {
        case 
0: { // 1
            
format(vModel,32,"models/vip-models/p_desert.mdl")
            
format(pModel,32,"models/vip-models/v_desert.mdl")
        }
        case 
1: { // 2
            
format(vModel,32,"models/vip-models/p_m9.mdl")
            
format(pModel,32,"models/vip-models/v_m9.mdl")
        }
        case 
2: { // 3
            
format(vModel,32,"models/vip-models/p_golden.mdl")
            
format(pModel,32,"models/vip-models/v_golden.mdl")
        }
        case 
3: { // 4
            
format(vModel,32,"models/vip-models/p_pocket.mdl")
            
format(pModel,32,"models/vip-models/v_pocket.mdl")
        } 
Anyway, you don't need to precache v_knife.mdl. Already precached by default.
Thanks alot David, it worked! Alltough, if I load a knife skin, then switch weapons, I get the normal knife and not the skinned knife, is there anyway to prevent the skin from changing? I would like if they were saved even if you disconnect.
Qvantry 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 10:12.


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