UpdatePlayer3DTextLabelText

From SA-MP Wiki

Jump to: navigation, search


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


Description:

Updates a player 3D Text Label's text and color


Parameters:
(playerid, PlayerText3D:id, color, text[])
playeridThe ID of the player for which the 3D Text Label was created.
PlayerText3D:idThe 3D Text Label you want to update.
colorThe color the 3D Text Label should have from now on.
text[]The new text which the 3D Text Label should have from now on.


Return Values:

This function does not return any specific values.


Image:32px-Circle-style-warning.png

Important
Note

If text[] is empty, the server/clients next to the text might crash!


Related Functions

The following functions may be useful, as they are related to this function in one way or another.


In other languages