SA-MP Forums Archive
3d Text Label disappear - 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: 3d Text Label disappear (/showthread.php?tid=450109)



3d Text Label disappear - Blackazur - 11.07.2013

Hello, why this 3d text label disappear when someone is near it?

Код:
new Text3D:checkpoint[MAX_PLAYERS];
at function ShowCheckPoint:
Код:
	checkpoint[playerid] = Create3DTextLabel("Evacuation Point", 0xFFB405AA, Map[CPx],Map[CPy],Map[CPz], 80.0, 0);
at function StartMap:

Код:
Delete3DTextLabel(checkpoint[i]);



Re: 3d Text Label disappear - WorldWideGaming - 11.07.2013

Why u used max_players

Код:
new Text3D:checkpoint;
at function ShowCheckPoint:
Код:
	checkpoint = Create3DTextLabel("Evacuation Point", 0xFFB405AA, Map[CPx],Map[CPy],Map[CPz], 80.0, 0);
at function StartMap:

Код:
Delete3DTextLabel(checkpoint);