05.06.2016, 15:15
The problem is that CallRemoteFunction don't know the correct tag and treats the float as integer
To save memory and the problem with the tag you should either create a function or use native
With native this could look like
To save memory and the problem with the tag you should either create a function or use native
With native this could look like
PHP код:
// Float: GetPlayerHealthEx(playerid) - returns current health
native Float: _GetPlayerHealthEx(func[] = "GetPlayerHealthEx", form[] = "i", {Float, _}: ...) = CallRemoteFunction;
#define GetPlayerHealthEx( _GetPlayerHealthEx(_,_,