How can do that?
Becouse the entity origin is here : entity_set_origin( Entity, Float:{ 1066.52, -1025.00, -551.00 } );
I tried this but not working
Code:
new const Float:Origin[][2] =
{
{ 1066.52, -1025.00, -551.00 }
}
fDistance = get_distance_f( Origin , PlayerOrigin )
entity_set_origin( Entity, Origin );