SA-MP Forums Archive
Labels Not Showing - 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: Labels Not Showing (/showthread.php?tid=610015)



Labels Not Showing - K0P - 18.06.2016

Hi guys,today i was scripting a filterscript but i was facing a weird problem,when i use the filterscript in my freeroam gamemode,it works fine/shows the labels but when i use it in other gamemodes (Bare),it does not.I first thought its streamer so i tried adding streamer include and plugin but still it didn't work.

Код:
	new str[50];
	format(str, sizeof(str), "%s(%d)", GetName(playerid), playerid);

	NameTag[playerid] = Create3DTextLabel(str, NAMETAG_COLOR, 0, 0, 0, 40.0, 1);
    Attach3DTextLabelToPlayer(NameTag[playerid], playerid, 0.0, 0.0, 0.2);

	new label[80];
	format(label, sizeof(label), "Health: %f\nDamage: %f", STARTING_HEALTH,STARTING_DAMAGE);

    StatsLabel[playerid] = Create3DTextLabel(label, LABEL_COLOR, 0.0, 0.0, 0.0, 40.0, 1);
    Attach3DTextLabelToPlayer(StatsLabel[playerid], playerid, 0.0, 0.0, -1);



Re: Labels Not Showing - K0P - 19.06.2016

Anyone?