Formatting a Dynamic 3D Text Label (+REP) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Formatting a Dynamic 3D Text Label (+REP) (
/showthread.php?tid=601051)
Formatting a Dynamic 3D Text Label (+REP) -
Matical - 16.02.2016
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 ))
Re: Formatting a Dynamic 3D Text Label (+REP) -
Matical - 16.02.2016
bumpbumpbumpbumpbump
Re: Formatting a Dynamic 3D Text Label (+REP) -
-CaRRoT - 16.02.2016
Код:
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);