26.07.2012, 06:40
That's really basic. Yes, you can do that using Format:
pawn Код:
new Float:health; // a float variable to store the health in
new str[32]; // a string to hold the message. Consider the length
GetPlayerHealth(playerid, health); // get's the player helath and store it into the variable health
format(str, sizeof(str), "Health: %.1f", health);
SendClientMessage(playerid, -1, str);