AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Spawning model (https://forums.alliedmods.net/showthread.php?t=22914)

Dirty DuMont 01-06-2006 19:14

Spawning model
 
How would you spawn your current model? I kno how to spawn NPC's, but what I'm trying to get is how to spawn the model YOU are at that current moment. I.E GIGN

Hawk552 01-06-2006 19:33

Code:
new ent = create_entity("info_target"), model[64]; entity_get_string(id,EV_SZ_model,model,63); entity_set_string(ent,EV_SZ_model,model);

I guess? Then set it's origin at your location or whatever.

Dirty DuMont 01-06-2006 20:14

Thanks. Will try.

Des12 01-06-2006 20:59

For a more detailed description check the documentation > scripting > advance > entities


All times are GMT -4. The time now is 15:57.

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