Raised This Month: $ Target: $400
 0% 

About precache_model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 05-20-2010 , 01:57   About precache_model
Reply With Quote #1

Is This wrong ? (the name of the model is different from the name of the folder)
Code:
precache_model("models/player/ABC/XYZ.mdl")
Must I write it like this ? (the name of the model is as the same as the name of the folder)
Code:
precache_model("models/player/XYZ/XYZ.mdl")
If the name of the model must be as the same as the name of the folder, who could tell me why ?

Thanks
__________________
Quote:
Destinies in my AWP sight are all alike;
Destinies out of my AWP sight in its own way.
epic . is offline
Send a message via ICQ to epic .
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-20-2010 , 02:33   Re: About precache_model
Reply With Quote #2

They have to have the same name because that's the way it has to be.
It won't work any other way.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 05-20-2010 , 02:37   Re: About precache_model
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
They have to have the same name because that's the way it has to be.
It won't work any other way.
Really thanks
__________________
Quote:
Destinies in my AWP sight are all alike;
Destinies out of my AWP sight in its own way.
epic . is offline
Send a message via ICQ to epic .
Reply


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


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