16.04.2014, 14:24
Код:
if(IsPlayerInAnyVehicle(playerid)){ new currentveh = GetPlayerVehicleID(playerid); new trailercheck = GetVehicleTrailer(currentveh); DetachTrailerFromVehicle(currentveh); SetVehiclePos(trailercheck, 6774.9, -1945.2001953125, 15.199999809265); SetVehiclePos(currentveh, 6778.9,-1950.5, 15.199999809265); SetVehicleZAngle(currentveh, 215.9); SetVehicleZAngle(trailercheck, 215.9); AttachTrailerToVehicle(trailercheck, currentveh);