UpdatePlayer3DTextLabelText
From SA-MP Wiki
UpdatePlayer3DTextLabelText
Warning: This is a new function working since SA-MP 0.3. It won't work in previous versions.
Updates Player 3D Text Label text and color
.
Parameters:(playerid, PlayerText3D:id, color, text[])
| playerid | The player for which the 3D Text Label was created. |
| PlayerText3D:id | The 3D Text Label you want to update. |
| color | The color the 3D Text Label should have from now on. |
| text[] | The new text which the 3D Text Label should have from now on. |
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- Create3DTextLabel: Creates a 3D Text Label.
- Delete3DTextLabel: Destroys a specific 3D Text Label.
- Attach3DTextLabelToPlayer: Attaches a 3D Text Label to a specific player.
- Attach3DTextLabelToVehicle: Attaches a 3D Text Label to a specific vehicle.
- Update3DTextLabelText: Changes a 3D Text Label.
- CreatePlayer3DTextLabel: Creates a 3D Text Label for a specific player.
- DeletePlayer3DTextLabel: Destroys a 3D Text Label for a specific player.
