![]() |
|
spawning models - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: spawning models (/Thread-spawning-models.html) |
spawning models - Xzite - 09-06-2011 I can't load the models .I found some models in the assetviewer: one of them is mp_crisis_nuke well i precached it, in zone source Code: xmodel, mp_crisis_nukeAnd when that was finished i putted it in my mod: Code: spawnModel()
{
testEnt = spawn( "script_model", (1552, 800, 100 ));
testEnt SetModel( "mp_crisis_nuke" );
}so plz help me
RE: spawning models - iAegle - 09-06-2011 remove the space in the .csv xmodel,mp_crisis_nuke RE: spawning models - Xzite - 09-07-2011 nope doesnt work
RE: spawning models - Rendflex - 09-07-2011 Where did you thread it from? RE: spawning models - Xzite - 09-07-2011 spawnModel() { testEnt = spawn( "script_model", (1552, 800, 100 )); testEnt SetModel( "mp_crisis_nuke" ); } player thread spawnModel(); thread it from onPlayerConnect RE: spawning models - OrangePL - 09-07-2011 try self thread ninja edit : and do what @Rendflex said RE: spawning models - Rendflex - 09-07-2011 ...You're supposed to thread that from Init. RE: spawning models - iAegle - 09-07-2011 (09-07-2011, 16:06)Rendflex Wrote: ...You're supposed to thread that from Init. He's not supposed to thread it at all RE: spawning models - Madnesslink5 - 09-07-2011 You need to precache it in your .gsc script aswell as in the zone source. In init(), precacheModel("crisis_nuke_mp whatever it was"); RE: spawning models - Xzite - 09-07-2011 (09-07-2011, 17:47)Madnesslink5 Wrote: You need to precache it in your .gsc script aswell as in the zone source. how about read the main part -.- |