29.04.2012, 19:27
Hi all,
i need help with this function GetVehicleModelInfo
Because i try to attach light on roof,
so i do
new Float:X, Float:Y, Float:Z;
GetVehicleModelInfo(carid, VEHICLE_MODEL_INFO_SIZE , X, Y, Z); //Get the size of vehicle model 411 (Infernus)
new gyro = CreateObject(19419,0,0,0,0,0,0,100.0); //
AttachObjectToVehicle(gyro, carid, 0.0, 0.0, Z, 0.0, 0.0, 0.0);
But my light get into the car O_o
How can i do?
Max
i need help with this function GetVehicleModelInfo
Because i try to attach light on roof,
so i do
new Float:X, Float:Y, Float:Z;
GetVehicleModelInfo(carid, VEHICLE_MODEL_INFO_SIZE , X, Y, Z); //Get the size of vehicle model 411 (Infernus)
new gyro = CreateObject(19419,0,0,0,0,0,0,100.0); //
AttachObjectToVehicle(gyro, carid, 0.0, 0.0, Z, 0.0, 0.0, 0.0);
But my light get into the car O_o
How can i do?
Max