Skip to content

Certain garage ID's do not open #545

@ArranTuna

Description

@ArranTuna

Describe the bug
Garage ID's 1 (lspd), 26 (sfpd) and 29(lvpd) do not open.

tested with runcode and got setGarageOpen(1, false) returns true

But still garage is closed.

Tested server side, but tested client side and same problem occurred.

To reproduce
tested code with ID 19 (doherty pay and spray) and worked fine

test code:

function gfunc(playersource, commandName, garageID)
	if (not isGarageOpen(tonumber(garageID))) then
		-- open the door
		setGarageOpen( tonumber(garageID), true)
	else
		setGarageOpen ( tonumber(garageID), false )
	end
end
addCommandHandler("garage", gfunc, false)

Expected behaviour
Garage door(s) to open.

Additional context
The same seems to be the case with garage ID 32, the one near Royal Casino.

From https://bugs.mtasa.com/view.php?id=3935

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions