Owner in the vehicle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Owner in the vehicle (
/showthread.php?tid=438491)
Owner in the vehicle -
mufid1995 - 20.05.2013
Hello, I'm interested in how to make me the owner's name written on the car as 3D text, here's a picture to see how it looks, who knows, let me do it all and put it in the pastebin and send
Here I pulled out of a script for this just do not know how to do to make it as filterscripts
Picture what it looked like:
http://i.imgur.com/NAU9txbh.jpg
Here I think this is it, so we just need to get more of this code do filterscripts
Код:
vehicle3Dtext[ PrivateVehicles[IDAuta[playerid]][_vehicleid] ] = Create3DTextLabel(PrivateVehicles[IDAuta[playerid]][_owner], COLOR_WHITE, 0.0, 0.0, 0.0, 15.0, 0, 1 );
Attach3DTextLabelToVehicle( vehicle3Dtext[PrivateVehicles[IDAuta[playerid]][_vehicleid] ] , PrivateVehicles[IDAuta[playerid]][_vehicleid], 0.0, 0.0, 0.0);
Maybe you did not understand the best, because I am from Bosnia and do not know English well, thank you
Re: Owner in the vehicle -
mufid1995 - 21.05.2013
BUMP
Re: Owner in the vehicle -
edzis84 - 21.05.2013
Is this your working script and you want to make it as filescript or its just some lines from script you downloaded?
Re: Owner in the vehicle -
MassDivide - 21.05.2013
3DTextLabel
https://sampwiki.blast.hk/wiki/Create3DTextLabel
Do a foreach player.
Create a looping timer and assign it to Create3DTextLabel
Have it GetVehiclePosition(i); and send the x y z to Create3DTextLabel along with owner parameters.
Re: Owner in the vehicle -
mufid1995 - 21.05.2013
Quote:
Originally Posted by edzis84
Is this your working script and you want to make it as filescript or its just some lines from script you downloaded?
|
Right here gamemode, so I try to draw this code
http://www.2shared.com/file/oQjAmCwc/vehsdll.html
Re: Owner in the vehicle -
mufid1995 - 21.05.2013
bump
Re: Owner in the vehicle -
mufid1995 - 22.05.2013
BUMP
Re: Owner in the vehicle -
radiobizza - 22.05.2013
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToVehicle