SA-MP Forums Archive
3dtext car ownership - 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: 3dtext car ownership (/showthread.php?tid=314790)



3dtext car ownership - punisher93 - 31.01.2012

hi guys.


I searched all over the internet.

Someone has a good 3dtext car ownership ?

I try to edit this system car but..it not working well...(see attachament)

someone can edit the system in attachament to working 3dtext

the problem in this filterscript is that add 3dtextlabel on another....

please someone help me ....


Re: 3dtext car ownership - milanosie - 31.01.2012

What do you mean with 3Dtext?

Like labels showing the owner etc?


Re: 3dtext car ownership - punisher93 - 31.01.2012

Quote:
Originally Posted by milanosie
Посмотреть сообщение
What do you mean with 3Dtext?

Like labels showing the owner etc?
yes to write on car the owner name...

i make to write the owner on .car file...but i can't get the name from there...


sorry for bad english..

i spend 2 days but it don't work...


Re: 3dtext car ownership - punisher93 - 31.01.2012

nobody?


Re: 3dtext car ownership - milanosie - 31.01.2012

Well.. just use 3DTextLabels with the strings and data from your car ownership


Re: 3dtext car ownership - punisher93 - 31.01.2012

Quote:
Originally Posted by milanosie
Посмотреть сообщение
Well.. just use 3DTextLabels with the strings and data from your car ownership
i tried everything....

i posted the car ownership that i have edited....

but when a player exit the 3dtext label get the exit player name and put on that car....

nobody can continue de fs that i posted?


Re: 3dtext car ownership - punisher93 - 31.01.2012

please someone....nobody can edit what i start ?


Re: 3dtext car ownership - punisher93 - 01.02.2012

http://pastebin.com/KbXn0ngm

this is my pastebin code...

i continue trying but no work...


Re: 3dtext car ownership - milanosie - 01.02.2012

Read my post
I will take a look when im home


Re: 3dtext car ownership - Min - 01.02.2012

This's an example of it:

pawn Код:
new name[MAX_PLAYER_NAME],string[128];
new Float:vehx, Float:vehy, Float:vehz;
new Text3D:vehowner;
GetPlayerName(playerid,name,sizeof(name));
GetVehiclePos(veh, vehx, vehy, vehz);
format(string, sizeof(string), "%s (%d)'s vehicle.", name, playerid);
vehowner = Create3DTextLabel( string, COLOR, vehx, vehy, vehz, 40.0, 0, 0 );
Attach3DTextLabelToVehicle( vehowner, YOURVEHICLE, 0.0, 0.0, 1.0);