Quick question, I can't seem to find anything, but is it possible to set an angle onto the "bounding box" of an entity when it's spawned?
Code:
new storecar = create_entity("info_target")
if(!storecar)
return PLUGIN_HANDLED;
entity_set_origin(storecar,origin)
entity_set_string(storecar,EV_SZ_classname,"ts_car")
entity_set_string(storecar,EV_SZ_targetname,targetname)
entity_set_model(storecar,model)
entity_set_int(storecar,EV_INT_solid, 2)
entity_set_byte(storecar,EV_BYTE_controller1,125)
entity_set_byte(storecar,EV_BYTE_controller2,125)
entity_set_byte(storecar,EV_BYTE_controller3,125)
entity_set_byte(storecar,EV_BYTE_controller4,125)
entity_set_vector(storecar,EV_VEC_angles,angles)
//Set angle to the ent size?
entity_set_size(storecar,mins,maxs)
Thanks in advance!
__________________