Skip to content

New motel door problem  #64

@Torro96

Description

@Torro96

I added 1 new mlo hotel ymap, but the doors always remain open.
I added the hash number and the coordination, but it doesn't work. Could someone help me ?

[2] = { -- index name of motel
	manual = false, -- set the motel to auto accept occupants or false only the owner of motel can accept Occupants
	Mlo = true, -- if MLO you need to configure each doors coordinates,stash etc. if false resource will use shells
	shell = 'modern', -- shell type, configure only if using Mlo = true
	label = 'Yacht Club Motel',
	rental_period = 'day',-- hour, day, month
	payment = 'money', -- money, bank
	rate = 1000, -- cost per period
	motel = 'yacht',
	door = `597055185`, -- door hash for MLO type
	businessprice = 1000000,
	rentcoord = vec3(964.41,-192.67,73.30),
	coord = vec3(964.41,-192.67,73.30), -- center of the motel location
	radius = 50.0, -- radius of motel location
	maxoccupants = 5, -- maximum renters per room
	uniquestash = true, -- if true. each players has unique stash ID (non sharable and non stealable). if false stash is shared to all Occupants if maxoccupans is > 1
	doors = { -- doors and other function of each rooms
		[1] = {
			door = vec3(970.8675,-200.1984,73.5298),
			stash = vec3(-944.08,-1317.83,6.19),
			wardrobe = vec3(-941.21,-1324.9,6.19),
			--fridge = vec3(305.26,-206.43,54.22),
			-- luckyme = vec3(0.0,0.0,0.0) -- extra shit
		},
	},
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions