3dText
#1

Hello,
Can someone make me a simple script that shows a text on top of the vehicle roof.
the vehicle id is GetPlayerVehicleID(playerid).
When player enters a vehicle, the text appears on top of the vehicle.
I need just those 2 - 3 lines that have Attach3DTextLabelToVehicle and those things...
Reply
#2

If you enter the vehicle, get it's current coordinates and save them into variables.
Then create the 3DText and use the coordinates from the vehicle, just add some small value (2-5) to the y-value to position it slightly higher than the vehicle and you're done.
Reply
#3

There's a really good example on the wiki about this:
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToVehicle
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)