warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
Delete3DTextLabel
Description
Delete a 3D text label (created with Create3DTextLabel).
Name | Description |
---|---|
Text3D:textid | The 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);
Related Functions
- Create3DTextLabel: Create a 3D text label.
- IsValid3DTextLabel: Checks if a 3D text label is valid.
- Is3DTextLabelStreamedIn: Checks if a 3D text label is streamed in for a player.
- Attach3DTextLabelToPlayer: Attach a 3D text label to a player.
- Attach3DTextLabelToVehicle: Attach a 3D text label to a vehicle.
- 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.