Du musst erstmal bei OnDialogResponse noch:
SetPVarString(playerid, "maskname", inputtext);
einfügen.
Dann bei OnPlayerUpdate:
public OnPlayerUpdate(playerid)
{
if(Maske[playerid] == 1)
{
new string[128], Float:health, Float:armour, mname[MAX_PLAYER_NAME];
GetPlayerHealth(playerid, health);
GetPlayerArmour(playerid, armour);
new rhealth = floatround(health, floatround_round);
new rarmour = floatround(armour, floatround_round);
GetPVarString(playerid, "maskname", mname, MAX_PLAYER_NAME);
format(string, 128, "{FFFFFF}%s \n{FF2800}H: %i | A: %i", mname, rhealth, rarmour);
Update3DTextLabelText(maskenlabel[playerid], 0xFFFFFFFF, string);
}
}
Ist mal wieder nicht getestet, aber so sollts gehn.
Mfg,
UncleSub