22.02.2015, 13:23
Strcat concats i.e. joins two "strings" so you cannot format a string in the function there itself... Your code should be like
Код:
new str[10]; format(str,sizeof(str),"%f",GetPlayerHealth(playerid)); //change line here with %f not %d as health is always a real number strcat(string,str);