Allright, I need a fix for this code >_<
1. I need that the entity isn't turned around by 90 degress above his legs...
2. I need that when its spawned its turned in direction player is looking, so its looking and is turned on same direction where player is..
Code:
cookie[id] = create_entity("info_target")
new Float:Origin[3]
pev(id, pev_origin, Origin)
engfunc(EngFunc_SetOrigin, cookie[id], Origin)
new Float:Min[3] = {-42.0, -42.0, -128.0}
new Float:Max[3] = {42.0, 42.0, 128.0}
engfunc(EngFunc_SetSize, cookie[id], Min, Max )
entity_set_model(oozaru[id],"models/player/cookie/cookie.mdl")
entity_set_int(cookie[id], EV_INT_sequence, 25 )
entity_set_float(cookie[id], EV_FL_frame, 0.0 )
entity_set_float(cookie[id], EV_FL_framerate, 1.0 )
__________________