Getting float values from pev()
For the pev() function, the AMXx funcwiki says "To retrieve a float, pass a single float by reference." The only examples of finding a float value from pev() is when it returns a vector, and in that case it is an array so it needs a float by reference. But if you are retrieving a single-value float, such as pev_nextthink, do you still need to pass a float by reference?
|
Why not use the entvars functions of the engine module? (pev : pointer (to) ent vars).
Anyway, from the description you provided, you should pass a normal float, it will be passed by reference automatically if it's a variable argument list. |
| All times are GMT -4. The time now is 19:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.