Hello 3D Label [Request]
#1

Hello! I was wanting a 3D label that says the players ID due to I have the Tags Off so name tags are not visible so i was wanting a 3D label with that players ID. If anyone does that, I will +Rep Thanks!
Reply
#2

This will create a 3D text label once a player spawns.

Код:
public OnPlayerSpawn(playerid)
{
	new string[128], Float:X, Float:Y, Float:Z;
	GetPlayerPos(playerid, X, Y, Z);
	format(string, sizeof(string), "Playerid: %d", playerid);
	Create3DTextLabel(string, COLOR_WHITE, X, Y, Z, 10, 0);
	return 1;
}
Reply
#3

Quote:
Originally Posted by Shetch
Посмотреть сообщение
This will create a 3D text label once a player spawns.

Код:
public OnPlayerSpawn(playerid)
{
	new string[128], Float:X, Float:Y, Float:Z;
	GetPlayerPos(playerid, X, Y, Z);
	format(string, sizeof(string), "Playerid: %d", playerid);
	Create3DTextLabel(string, COLOR_WHITE, X, Y, Z, 10, 0);
	return 1;
}
You don't attach it...
Reply
#4

Use this: https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)