Update3DTextLabelText KO

From SA-MP Wiki

Jump to: navigation, search



Update3DTextLabelText 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:

활성화된 3DText를 새로 업데이트한다.


번역자 : Cool

Parameters:
(Text3D:id, color, text[])
Text3D:id업데이트 시킬 3D Text의 ID
color새롭게 바꿀 3D Text의 색상
text[]새롭게 바꿀 3D Text의 문자

Return Values:

This function does not return any specific values.


예시:

public OnGameModeInit()
{
    new Text3D:Test;
 
    Test = Create3DTextLabel("I'm at the coordinates:\n30.0,40.0,50.0",0x008080FF,30.0,40.0,50.0,40.0,0);
    Update3DTextLabelText(Test ,0x008080FF, "문자열을 바꾼다.");
    return 1;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.


Personal tools
Navigation
Toolbox
In other languages