04.04.2015, 21:55 
	
	
	
		Hello SA-MP!,
Can u just give me a few more details on how to make a Health And Armour Percentage? +1 Rep
	
	
	
Can u just give me a few more details on how to make a Health And Armour Percentage? +1 Rep

//on gamemode load new Text:PlayerHealth[MAX_PLAYERS]; //on player spawn or when his status changes or on a command new Float:Health, TextFormat[32]; GetPlayerHealth(playerid, Health[playerid]); format(TextFormat, sizeof(TextFormat), "Health: %i %", floatround(Health)); TextDrawSetString(PlayerHealth[playerid], TextFormat); TextDrawShowForPlayer(playerid, PlayerHealth[playerid]);