💻Exports
Take Free Room (to link when new character created)
--- This function triggers the client event to retrieve an empty hotel room
--- @param days integer - The number of days the room is needed
--- @return None
-- Client-side: Notify the server to get an empty room
TriggerClientEvent('l2s-hotel:server:getEmptyRoom', days)
--- This function triggers a request for an empty hotel room
--- @param source integer - The identifier of the player making the request
--- @param days integer - The number of days the room is needed
--- @return None
-- Server-side: Request an empty room for a player
TriggerEvent('l2s-hotel:server:getEmptyRoom', source, days)
Last updated