spawn model with script

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Goro92
CJ Spammer!
CJ Spammer!
Posts: 605
Joined: March 7th, 2011, 5:54 pm
Location: Brescia, Italy

spawn model with script

Post by Goro92 » May 7th, 2011, 3:41 pm

i wanna spawn a xmodel with a script....i tried this but appears a big red fx

model1 = spawn("script_model",(0,0,0));
model1 setModel("xmodel/bathroom_toilet");
model1.origin = (0,0,200);

i also precache the xmodel and uploaded the zone files with xmodel,bathroom_toilet

pls i need help :(
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests