AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   change the monster's model (https://forums.alliedmods.net/showthread.php?t=56880)

crazylf2 06-23-2007 03:23

change the monster's model
 
i want to change the monster's model from monstermod
should i use find_ent_by_model to change them ?

mateo10 06-24-2007 08:39

Re: change the monster's model
 
Do something like this:
Code:
public model_change() {     new ent = find_ent_by_model(-1, "classname", "model");     entity_set_string(ent, EV_SZ_model, "newmodel"); }


All times are GMT -4. The time now is 21:34.

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