C++ -> AMXX velocity length?
I have a line of c++ code that I have been trying to convert to AMXX [pawn] (its from a large metamod plugin, im converting)
anyways.. the line is PHP Code:
Thanks for considering to help me :) |
Re: C++ -> AMXX velocity length?
Get entity velocity then use
PHP Code:
-> PHP Code:
|
Re: C++ -> AMXX velocity length?
much obliged, so im going to be getting the velocity stored to a vector, then use vector_length(), and all will work? if so, thank you very much!
|
Re: C++ -> AMXX velocity length?
FYI, the length of a vector corresponds to
Code:
sqrt(v[0]*v[0] + v[1]*v[1] + v[2]*v[3]) |
Re: C++ -> AMXX velocity length?
Quote:
|
Re: C++ -> AMXX velocity length?
you can look at the header file vector.h in sdk to see how this method defined.
|
Re: C++ -> AMXX velocity length?
what is default step lenght in cs ?
|
Re: C++ -> AMXX velocity length?
Quote:
http://wiki.amxmodx.org/CS_Weapons_Information |
| All times are GMT -4. The time now is 05:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.