Attach3DTextLabelToVehicle KO

From SA-MP Wiki

Jump to: navigation, search

SA:MP Wiki 한글화 작업



Attach3DTextLabelToVehicle KO was added in SA-MP 0.3a This function was added in SA-MP 0.3a and will not work in earlier versions!


Description:

특정한 차량에 3D 텍스트라벨을 붙입니다.


Parameters:
(Text3D:id, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ)
Text3D:id붙이고 싶은 3D 텍스트라벨의 내용.
vehicleid3D 텍스트라벨을 붙이고 싶은 차량의 번호.
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.



SA:MP Wiki 한글판 페이지는 TheNoFace에 의해 만들어졌습니다.
Personal tools
Navigation
Toolbox
In other languages