01.08.2017, 12:45
Hi, dudes. I try to write function-wrapper for retrieving float values in C++. Something like:
I want it to work equally well when a floating-point number is passed by value or by reference:
How do I know if a floating-point number was passed by value or by reference?
Код:
float GetFloat(AMX * amx, cell * params, int i);
Код:
native my_func(Float:f); native his_func(&Float:f);