I'm trying to find a solution for the plugin
back weapons by cheap_suit to not use custom models and use w_ models, so far i can't get nothing. I tried changing the origin with entity_set_origin but dunno what is wrong.
Code:
if(g_bwEnt[id] < 1)
{
g_bwEnt[id] = create_entity("info_target")
if(g_bwEnt[id] > 0)
{
new float:test[3]
entity_get_vector(id, EV_VEC_origin,test)
entity_set_origin(g_bwEnt[id], test)
entity_set_int(g_bwEnt[id], EV_INT_movetype, MOVETYPE_FOLLOW)
entity_set_edict(g_bwEnt[id], EV_ENT_aiment, id)
test[1] += 500.0 // numbers just for test
test[2] += 9998.0
entity_set_origin(g_bwEnt[id], test)
}
}
Any other idea to change the angle and origin are welcome.
__________________