SA-MP Forums Archive
3D text on cars [Please Help] - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 3D text on cars [Please Help] (/showthread.php?tid=208135)



3D text on cars [Please Help] - darkknight123 - 07.01.2011

I want to attatch a 3d text to my cars not a license plate but 3D text to advertise the server this is what i got so far but when i start the server nothing shows up on the cars

Quote:

new vehicle_id, Text3D:vehicle3Dtext;
vehicle3Dtext = Create3DTextLabel( "MW-DM", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
vehicle_id = (What should this be to mean all cars?)
Attach3DTextLabelToVehicle( vehicle3Dtext, vehicle_id, 0.0, 0.0, 2.0);

what do i put for the vehicle id to make it to where it shows on all cars?


Re: 3D text on cars [Please Help] - SWEMike - 07.01.2011

pawn Код:
new Text3D:vehicle3Dtext;
vehicle3Dtext = Create3DTextLabel( "MW-DM", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
for(new i=0; i<MAX_VEHICLES; i++)
{
Attach3DTextLabelToVehicle( vehicle3Dtext, i, 0.0, 0.0, 2.0);
}
Haven't tested but it should work.


Re: 3D text on cars [Please Help] - darkknight123 - 07.01.2011

No luck. :/


Re: 3D text on cars [Please Help] - wolfcock - 09.01.2011

Idk how to make it...


Re: 3D text on cars [Please Help] - _rAped - 09.01.2011

Where are you calling this?


Re: 3D text on cars [Please Help] - Kwarde - 09.01.2011

Quote:

Where are you calling this?

Ehm OR with an command (something like /add3d) or just in OnGameModeInit (if you're using a gamemode, for FS, FilterScriptInit of course)