Page 1 of 1

spawn model with script

Posted: May 7th, 2011, 3:41 pm
by Goro92
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 :(