05.12.2010, 19:16
you have to create the object before you can you use AttachObjectToVehicle
example :
example :
Код:
new carid, objectid; puplic OnGamemodeInit() { carid =AddStaticVehicleEx(597,-1572.9839,730.6843,-5.4714,88.8422,1,1, -1); objectid = CreateObject(12839,0,0,0,0,0,0); AttachObjectToVehicle(objectid,carid 1,0.0,0.0,0.0,0.0,0.0,0.0); }