Get3DTextLabelVirtualWorld
cảnh báo
Đã thêm hàm trong phiên bản omp v1.1.0.2612. Mục này không hoạt động trên các phiên bản cũ hơn!
Description
Gets the 3D text label virtual world id.
| Name | Description |
|---|---|
| Text3D:textid | The ID of the 3D text label to get the virtual world id of. |
Returns
Returns the virtual world id of the 3D text label.
Examples
new Text3D:gMyLabel;
new worldid;
gMyLabel = Create3DTextLabel("Hello World!", 0x008080FF, 30.0, 40.0, 50.0, 10.0, 20, false);
worldid = Get3DTextLabelVirtualWorld(gMyLabel);
// worldid = 20
Related Functions
- Set3DTextLabelVirtualWorld: Sets the 3D text label virtual world id.
- GetPlayer3DTextLabelVirtualWorld: Gets the player 3D text label virtual world id.