Attach3DTextLabelToVehicle KO
From SA-MP Wiki
SA:MP Wiki 한글화 작업
Description:
특정한 차량에 3D 텍스트라벨을 붙입니다.
(Text3D:id, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ)
Text3D:id | 붙이고 싶은 3D 텍스트라벨의 내용. |
vehicleid | 3D 텍스트라벨을 붙이고 싶은 차량의 번호. |
OffsetX | 플레이어 차량의 X 좌표 (차량의 좌표는 0.0,0.0,0.0) |
OffsetY | 플레이어 차량의 Y 좌표 (차량의 좌표는 0.0,0.0,0.0) |
OffsetZ | 플레이어 차량의 Z 좌표 (차량의 좌표는 0.0,0.0,0.0) |
Return Values:
This function does not return any specific values.
public OnGameModeInit ( ) { new vehicle_id, Text3D:vehicle3Dtext; //텍스트라벨 생성 vehicle3Dtext = Create3DTextLabel( "텍스트라벨 예제", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 ); //차량 생성 vehicle_id = CreateVehicle( 510, 0.0. 0.0, 15.0, 5, 0, 120 ); //차량에 택스트라벨 붙임 Attach3DTextLabelToVehicle( vehicle3Dtext, vehicle_id, 0.0, 0.0, 2.0); }
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.
- Attach3DTextLabelToPlayer: Attach a 3D text label to a player.
- 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에 의해 만들어졌습니다. |
---|