Vehicles variable
#5

Код:
new vehicle_id = CreateVehicle( 411, 0.0, 0.0, 0.0, 0.0, -1, -1, -1 );
printf( "%i", vehicle_id ); // Will print the vehicle id that we created above
This example shows how it's done with local variable, but you can also asign IDs to global variables.
Reply


Messages In This Thread
Vehicles variable - by Armands - 15.12.2012, 08:21
Re: Vehicles variable - by FTLOG - 15.12.2012, 08:55
Re: Vehicles variable - by Armands - 15.12.2012, 09:27
Re: Vehicles variable - by Armands - 15.12.2012, 10:15
Re: Vehicles variable - by FTLOG - 15.12.2012, 10:18
Re: Vehicles variable - by Armands - 15.12.2012, 10:50

Forum Jump:


Users browsing this thread: 3 Guest(s)