Accessing floats from a different script
#2

Have from the gamemode the public function with Float: tag to return the float value and in filterscript:
pawn Код:
new
    health = CallRemoteFunction("GetPlayerHealthEx", "i", playerid);

printf("health from fs: %f", Float: health);
Reply


Messages In This Thread
Accessing floats from a different script - by Stinged - 05.06.2016, 13:09
Re: Accessing floats from a different script - by Konstantinos - 05.06.2016, 13:28
Re: Accessing floats from a different script - by Spmn - 05.06.2016, 13:34
Re: Accessing floats from a different script - by Stinged - 05.06.2016, 13:47
Re: Accessing floats from a different script - by IFilip - 05.06.2016, 13:51
Re: Accessing floats from a different script - by Stinged - 05.06.2016, 14:02
Re: Accessing floats from a different script - by Nero_3D - 05.06.2016, 15:15
Re: Accessing floats from a different script - by Stinged - 05.06.2016, 17:35
Re: Accessing floats from a different script - by Nero_3D - 05.06.2016, 19:12
Re: Accessing floats from a different script - by Stinged - 05.06.2016, 19:29

Forum Jump:


Users browsing this thread: 2 Guest(s)