Formatting a Dynamic 3D Text Label (+REP)
#1

Hello i was wondering how i can format this dynamic 3d text label to display the playerid next to /damages

Код:
DeathReason[playerid] = CreateDynamic3DTextLabel("(( This player has been injured, /damages for more information ))", COLOR_LIGHTRED, 0.0, 0.0, 0.0, 15.0, _, playerid, GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid), 0);
It would be like, I.E My IG playerid is 20 so it would say

(( This player has been injured, /damages 20 for more information ))
Reply
#2

bumpbumpbumpbumpbump
Reply
#3

Код:
new label[256];
format(label, sizeof(label), "(( This player has been injured, /damages %i for more information))", playerid);
DeathReason[playerid] = CreateDynamic3DTextLabel(label, COLOR_LIGHTRED, 0.0, 0.0, 0.0, 15.0, _, playerid, GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid), 0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)