3D text on cars [Please Help]
#1

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?
Reply
#2

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.
Reply
#3

No luck. :/
Reply
#4

Idk how to make it...
Reply
#5

Where are you calling this?
Reply
#6

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)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)