Attach3DTextLabelToPlayer
From SA-MP Wiki
Attach3DTextLabelToPlayer
Warning: This is a new function working since SA-MP 0.3. It won't work in previous versions.
Attaches a 3D Text Label to a specific player.
(Text3D:id, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ)
| Text3D:id | The 3D Text Label you want to attach. |
| playerid | The player you want to attach the 3D Text Label to. |
| OffsetX | The Offset-X coordinate of the player (the player is 0.0,0.0,0.0). |
| OffsetY | The Offset-Y coordinate of the player (the player is 0.0,0.0,0.0). |
| OffsetZ | The Offset-Z coordinate of the player (the player is 0.0,0.0,0.0). |
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.
- Attach3DTextLabelToVehicle: Attaches a 3D Text Label to a specific player.
- 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.
- UpdatePlayer3DTextLabelText: Changes a 3D Text Label for a specific player.
