AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Getting defualt HL models (https://forums.alliedmods.net/showthread.php?t=22964)

Des12 01-07-2006 19:37

Getting defualt HL models
 
Is it possible to use

entity_set_model(ent,"models/mymodel.mdl");

With a default model in the half life engine? Like a door?

I cannot seem to find the models in the half life folder.

Hawk552 01-07-2006 19:57

You need GCFScape.

And yes, it is possible. You have to precache it first though, as in

Code:
public plugin_precache() {        precache_model("models/whatever.mdl"); }


All times are GMT -4. The time now is 16:10.

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