AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   About precache_model (https://forums.alliedmods.net/showthread.php?t=127351)

epic . 05-20-2010 01:57

About precache_model
 
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 :)

Exolent[jNr] 05-20-2010 02:33

Re: About precache_model
 
They have to have the same name because that's the way it has to be.
It won't work any other way.

epic . 05-20-2010 02:37

Re: About precache_model
 
Quote:

Originally Posted by Exolent[jNr] (Post 1185702)
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 :up:


All times are GMT -4. The time now is 03:33.

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