03.06.2013, 15:20
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");