Attach3DTextLabelToPlayer KO
From SA-MP Wiki
SA:MP Wiki 한글화 작업
Description:
특정한 플레이어에 3D 텍스트라벨을 붙임니다.
(Text3D:id, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ)
Text3D:id | 붙이고 싶은 3D 텍스트라벨. |
playerid | 3D 텍스트라벨을 붙이고 싶은 플레이어의 번호 |
OffsetX | 플레이어의 X 좌표. |
OffsetY | 플레이어의 Y 좌표. |
OffsetZ | 플레이어의 Z 좌표. |
Return Values:
This function does not return any specific values.
new Text3D:label[MAX_PLAYERS]; public OnPlayerConnect(playerid) { label[playerid] = Create3DTextLabel("안녕하세요, 전 여기 처음왔어요!",0x008080FF,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7); return 1; } public OnPlayerDisconnect(playerid, reason) { Delete3DTextLabel(label[playerid]); return 1; }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- Create3DTextLabel: Create a 3D text label.
- Delete3DTextLabel: Delete a 3D text label.
- Attach3DTextLabelToVehicle: Attach a 3D text label to a vehicle.
- Update3DTextLabelText: Change the text of a 3D text label.
- CreatePlayer3DTextLabel: Create A 3D text label for one player.
- DeletePlayer3DTextLabel: Delete a player's 3D text label.
- UpdatePlayer3DTextLabelText: Change the text of a player's 3D text label.
SA:MP Wiki 한글판 페이지는 TheNoFace에 의해 만들어졌습니다. |
---|