Quote:
Originally Posted by hornet
Because you didn't make VecFlOrigin a float, not to mention that you didn't make it print anything.
Code:
#include <amxmodx>
#include <engine>
public plugin_init()
{
register_plugin("PLUGIN", "VERSION", "AUTHOR")
register_clcmd("say /myposition", "setori")
}
public setori(id)
{
new Float:VecFlOrigin[3];
entity_get_vector( id, EV_VEC_origin, VecFlOrigin );
client_print( id, print_chat, "Your origin is: %f %f %f", VecFlOrigin[ 0 ], VecFlOrigin[ 1 ], VecFlOrigin[ 2 ] );
}
|
Thanks man you are the best
and can you learn me how to make entity_set_vector( Ent, EV_VEC_angles, Float:{-55.0, -40.0, -89.0}
__________________