19.02.2017, 02:45
healt + armor it's remain silent 100.
PHP код:
forward mauvagiap(playerid);
public mauvagiap(playerid)
{
new string[15];
new Float:pmau; //Float:pgiap;
GetPlayerHealth(playerid,pmau);
format(string, sizeof(string), "%.0f%", pmau);
TextDrawSetString(mau1[playerid], string);
TextDrawShowForPlayer(playerid, mau1[playerid]);
new Float:pgiap;
new giap[15];
GetPlayerArmour(playerid,pgiap);
format(giap, sizeof(giap), "%.0f%", pgiap);
TextDrawSetString(giap1[playerid], giap);
TextDrawShowForPlayer(playerid, giap1[playerid]);