Raised This Month: $ Target: $400
 0% 

Need Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Balck
Senior Member
Join Date: Apr 2013
Location: Kosova-Mitrovica
Old 04-16-2013 , 07:38   Re: Need Help
Reply With Quote #13

Quote:
Originally Posted by hornet View Post
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}
__________________
Balck is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode