Samp CreateVehicle rotation
#6

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
try this

PHP код:
//At top of script
new vehicle_id[3];
//Then at where you are creating vehicles
//1st vehicle
vehicle_id[0] = CreateVehicle(431, -126.66, -1210.45,    2.69, 5, 0, 120 );
vehicle3Dtext[vehicle_id[0]] = Create3DTextLabel("Bus 45 Los Santos", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
//Attaching Text Label To Vehicle
Attach3DTextLabelToVehicle(vehicle3Dtext[vehicle_id[0]], vehicle_id[0], 0.0, 0.0, 2.0);
//2nd vehicle
vehicle_id[1] = CreateVehicle(431, 1402.71, 1028.00,   10.81, 5, 0, 120 );
vehicle3Dtext[vehicle_id[1]] = Create3DTextLabel("Bus 25 San Fierro", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
//Attaching Text Label To Vehicle
Attach3DTextLabelToVehicle(vehicle3Dtext[vehicle_id[1]], vehicle_id[1], 0.0, 0.0, 2.0);
//3rd vehicle
vehicle_id[2] = CreateVehicle(431, -98.67, -1168.64,    2.57, 5, 0, 120 );
vehicle3Dtext[vehicle_id[2]] = Create3DTextLabel("Bus 31 Las Venturas", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
//Attaching Text Label To Vehicle
Attach3DTextLabelToVehicle(vehicle3Dtext[vehicle_id[2]], vehicle_id[2], 0.0, 0.0, 2.0); 
n/a s
Reply


Messages In This Thread
{Solved}Samp CreateVehicle rotation - by coolmark1995 - 03.01.2016, 09:05
Re: Samp CreateVehicle rotation - by Tamy - 03.01.2016, 10:11
Re: Samp CreateVehicle rotation - by CodeStyle175 - 03.01.2016, 10:28
Re: Samp CreateVehicle rotation - by coolmark1995 - 03.01.2016, 11:21
Re: Samp CreateVehicle rotation - by IceBilizard - 03.01.2016, 12:21
Re: Samp CreateVehicle rotation - by coolmark1995 - 03.01.2016, 21:09

Forum Jump:


Users browsing this thread: 2 Guest(s)