26.10.2017, 07:25
I'm new in scripting so i dont know everything, all i want is to have an update on my Dynamic3dtextlabel, because when we shoot each other it didn't update the health/armor Textdraw, can someone help me please?
here's the code i used.
here's the code i used.
Код:
format(string, sizeof(string), "%s\n{089DCE}HP: %.1f - {00FF00}AR: %.1f", GetPlayerRPName(playerid), GetPlayerHealth(playerid), GetPlayerArmour(playerid)); PlayerInfo[playerid][pSpecialTag] = CreateDynamic3DTextLabel(string, COLOR_WHITE, 0.0, 0.0, 0.2, 20.0, .attachedplayer = playerid, .testlos = 1);