04.04.2011, 20:11
Anyway it's easy
use these:
use these:
Код:
new carobject; new targetvehicle; public OnGameModeInit() { carobject = CreateObject([modelid],[x co-ordinate], [y co-ordinate], [z co-ordinate], [x rotation], [y rotation],[z rotation], [draw distance]); // I suggest you to put 0.0,0.0,0.0 for co-ordinates ;) targetvehicle = CreateVehicle([vehicleid],[x co-ordinate], [y co-ordinate], [z co-ordinate], [rotation], [colo1],[color2],[respawn delay]); AttachObjectToVehicle(carobject,targetvehicle, [position X], [position Y], [position Z], [rotation X], [rotation Y], [rotation Z]); return 1; }