UpdatePlayer3DTextLabelText
Description:
Function UpdatePlayer3DTextLabelText updates a player 3D Text Label's text and color.
Function UpdatePlayer3DTextLabelText was added in 0.3a and will not work in earlier versions! |
If text[] is empty, the server/clients next to the text might crash! |
Parameters:
(playerid, PlayerText3D:id, color, text[])
int | playerid | The ID of the player for which the 3D Text Label was created. |
int | id | The 3D Text Label you want to update. |
int | color | The color the 3D Text Label should have from now on. |
string | text | The new text which the 3D Text Label should have from now on. |
Return Values:
This function does not return any specific values.
Examples:
-
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.
- DeletePlayer3DTextLabel: Delete a player's 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.