01.08.2017, 17:25
I can always define two separate functions, like:
But I want my code to look nice. I would rather use one function for both cases. If only there is a way to distinguish whether float is passed by value or by reference.
Код:
float GetFloatValueGiven(AMX * amx, cell * params, int i); float GetFloatRefereceGiven(AMX * amx, cell * params, int i);

