DeletePlayer3DTextLabel

From SA-MP Wiki

Jump to: navigation, search


DeletePlayer3DTextLabel was added in SA-MP 0.3a This function was added in SA-MP 0.3a and will not work in earlier versions!


Description:

Destroy a 3D text label that was created using CreatePlayer3DTextLabel.


Parameters:
(playerid, PlayerText3D:id)
playeridThe ID of the player whose 3D text label to delete.
PlayerText3D:idThe ID of the player's 3D text label to delete.


Return Values:

  • 1: The function executed successfully.
  • 0: The function failed to execute. This means the label specified doesn't exist.


Example Usage:

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.


Personal tools
Navigation
Toolbox
In other languages