Floats in Blue'G's R7
#2

Try this;
pawn Код:
new Health[20];

cache_get_field_content(0, "Health", Health), pInfo[playerid][aHealth] = floatstr(Health);

// Or this way if you want to use R18 or higher
pInfo[playerid][aHealth] =  cache_get_field_content_float(0, "Health");
Reply


Messages In This Thread
Floats in Blue'G's R7 - by [WSF]ThA_Devil - 03.06.2013, 15:07
Re: Floats in Blue'G's R7 - by Richie© - 03.06.2013, 15:20
Re: Floats in Blue'G's R7 - by [WSF]ThA_Devil - 03.06.2013, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)