CreatePlayer3DTextLabel KO
From SA-MP Wiki
Description:
선택된 플레이어에게만 텍스트를 생성한다.
. 번역자 : Cool
Parameters:(playerid, text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, attachedplayer, attachedvehicle, testLOS)
playerid | 텍스트를 생성시킬 플레이어 |
text[] | 플레이어에게 보여줄 문자열 |
color | 플레이어에게 보여줄 문자열의 색상 |
x | 위치할 맵의 X좌표 |
y | 위치할 맵의 Y좌표 |
z | 위치할 맵의 Z좌표) |
DrawDistance | 텍스트가 보일 거리 |
attachedplayer | 텍스트가 따라다닐 플레이어의 id (안할시: INVALID_PLAYER_ID) |
attachedvehicle | 텍스트가 따라다닐 차량의 id (안할시: INVALID_VEHICLE_ID) |
testLOS | 0 - 맵을 통과하여 텍스트가 보임. 1 - 텍스트가 맵을 통과하지않는다. |
Return Values:
플레이어에게 3D Text ID를 리턴
if(strcmp(cmd, "/playerlabel", true) == 0) { new PlayerText3D:playertextid; new Float:X, Float:Y, Float:Z; GetPlayerPos( playerid, X, Y, Z ); playertextid = CreatePlayer3DTextLabel(playerid,"나에게만 보이는 텍스트",0x008080FF,X,Y,Z,40.0); return 1; }
Related Functions
The following functions may be helpful as they relate to this function in one way or another.
- Create3DTextLabel: Create a 3D text label.
- Delete3DTextLabel: Delete a 3D text label.
- Attach3DTextLabelToPlayer: Attach a 3D text label to a player.
- Attach3DTextLabelToVehicle: Attach a 3D text label to a vehicle.
- Update3DTextLabelText: Change the text of a 3D text label.
- DeletePlayer3DTextLabel: Delete a player's 3D text label.
- UpdatePlayer3DTextLabelText: Change the text of a player's 3D text label.