DeletePlayer3DTextLabel
Description:
Function DeletePlayer3DTextLabel destroy a 3D text label that was created using CreatePlayer3DTextLabel.
Function DeletePlayer3DTextLabel was added in 0.3a and will not work in earlier versions! |
Parameters:
(playerid, PlayerText3D:id)
int | playerid | The ID of the player whose 3D text label to delete. |
int | id | The ID of the player's 3D text label to delete. |
Return Values:
- 1: The function was executed successfully.
- 0: The function failed to execute. This means the label specified doesn't exist.
Examples:
new PlayerText3D:labelid = CreatePlayer3DTextLabel(...); // Later... DeletePlayer3DTextLabel(playerid, labelid);
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- Create3DTextLabel: Create a 3D text label.
- CreatePlayer3DTextLabel: Create A 3D text label for one player.
- Delete3DTextLabel: Delete a 3D text label.
- 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.
- UpdatePlayer3DTextLabelText: Change the text of a player's 3D text label.