Raised This Month: $ Target: $400
 0% 

Claws models use /models/ folder & XXXXX folder


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
emoto2
Member
Join Date: May 2016
Old 06-26-2016 , 20:32   Claws models use /models/ folder & XXXXX folder
Reply With Quote #1

Hi on my zombie server have zombie class enemy (like a human skin and claws knife) i want only this class to use default knife model (/cstrike/models/v_knife) and other class use XXXXX folder (/cstrike/models/XXXXX/xxx.mdl)
I not want players download originall knife model on XXXXX folder.. just use originall cs model..
Line to edit code:
PHP Code:
            // Precache clawmodel

        
formatex(prec_mdlcharsmax(prec_mdl), "models/XXXXX/%s"buffer)

        
engfunc(EngFunc_PrecacheModelprec_mdl
and
PHP Code:
        // Precache default clawmodel

        
formatex(prec_mdlcharsmax(prec_mdl), "models/XXXXX/%s"clawmodel)

        
engfunc(EngFunc_PrecacheModelprec_mdl

Last edited by emoto2; 06-26-2016 at 20:33.
emoto2 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:03.


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