24.04.2016, 23:22
pawn Код:
CoreVehicles[vehicleid][vehSirenOn] = 1;
CoreVehicles[vehicleid][vehSirenObject] = CreateObject(19797, 0.0, 0.0, 1000.0, 0.0, 0.0, 0.0);
AttachObjectToVehicle(CoreVehicles[vehicleid][vehSirenObject], vehicleid, -fSeat[0], fSeat[1], fSize[2] / 2.0, 0.0, 0.0, 0.0);
EditObject(playerid, CoreVehicles[vehicleid][vehSirenObject]);