new objectid = CreateObject(...);new vehicleid = GetPlayerVehicleID(playerid);AttachObjectToVehicle(objectid, vehicleid, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);