Ugrás a fő tartalomhoz

Delete3DTextLabel

Description

Delete a 3D text label (created with Create3DTextLabel).

NameDescription
Text3D:textidThe ID of the 3D text label to delete.

Returns

true if the 3D text label was deleted, otherwise false.

Examples

new Text3D:gMyLabel;

public OnGameModeInit()
{
gMyLabel = Create3DTextLabel("I'm at the coordinates:\n30.0, 40.0, 50.0", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, false);
return 1;
}

// Later
Delete3DTextLabel(gMyLabel);