Skip to content

The third door of the Camper doesn't work #1338

@PlatinMTA

Description

@PlatinMTA

Describe the bug
The Camper is the only vehicle in GTA:SA that has 3 passenger seats. In MTA:SA the 3rd passenger seat doesnt work (for peds & players alike).

To reproduce
Run this code:

function onStart()
        local veh = createVehicle(483, 0, 0, 3)
	local ped = createPed(178, 0, 1, 5)
	warpPedIntoVehicle(ped, veh, 0)
	ped = createPed(178, 0, 1, 5)
	warpPedIntoVehicle(ped, veh, 1)
	ped = createPed(178, 0, 2, 5)
	warpPedIntoVehicle(ped, veh, 2)
	for k,v in pairs(getVehicleOccupants(veh)) do
		outputChatBox(k.." -> "..tostring(v))
	end
end
addEventHandler("onResourceStart", resourcerRoot, onStart)

The third passenger will not enter the vehicle. You won't be able to enter either.

Expected behaviour
The third door should work just as in GTA:SA singleplayer

Version
Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions