diff --git a/resources/[cars]/ag_brickade_pack/data/vehicles.meta b/resources/[cars]/ag_brickade_pack/data/vehicles.meta
index 1e68b88af..6dcaa529d 100644
--- a/resources/[cars]/ag_brickade_pack/data/vehicles.meta
+++ b/resources/[cars]/ag_brickade_pack/data/vehicles.meta
@@ -85,7 +85,7 @@
VEHICLE_TYPE_CAR
VPT_FRONT_PLATES
VDT_TRUCK
- VC_INDUSTRIAL
+ VC_COMMERCIAL
VWT_SPORT
diff --git a/resources/[carscripts]/lc_fuel/config.lua b/resources/[carscripts]/lc_fuel/config.lua
index fca9a6ab1..4b24af53b 100644
--- a/resources/[carscripts]/lc_fuel/config.lua
+++ b/resources/[carscripts]/lc_fuel/config.lua
@@ -250,7 +250,21 @@ Config.DieselVehicles = {
"bcbrutetele",
"sandkinghauler",
"phantomhd",
- "tractorc"
+ "tractorc",
+ "brickadeb",
+ "brickaded",
+ "brickadef",
+ "brickadec",
+ "brickader",
+ "brickades",
+ "brickadem",
+ "brickadet",
+ "brickadeta",
+ "brickadebr",
+ "brickaderv"
+
+
+
}
diff --git a/resources/[housing]/oph3z-motels/client/main.lua b/resources/[housing]/oph3z-motels/client/main.lua
new file mode 100644
index 000000000..5f042d5f8
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/client/main.lua
@@ -0,0 +1,1289 @@
+if Config.Data.Framework == "OLDQBCore"then
+ QBCore = nil
+
+ Citizen.CreateThread(function()
+ while QBCore == nil do
+ TriggerEvent('QBCore:GetObject', function(obj) QBCore = obj end)
+ Citizen.Wait(30) -- Saniye Bekletme
+ end
+ end)
+else
+ QBCore = exports['qb-core']:GetCoreObject()
+end
+CurrentMotel = 0
+local motelodasinda = false
+local Motelid = nil
+local Odano = nil
+local OdaType = nil
+local Odatasarimi = nil
+local OwnerMode = false
+local odatipi = nil
+local targetmotelid = nil
+
+local function OpenMotel(id)
+ TriggerServerEvent("oph3z-motels:ReqData")
+ CurrentMotel = id
+ local ActiveMotelRooms = 0
+ for k, v in pairs(Config.Motels[id].Rooms) do
+ if v.Rent == false and v.Active == true then
+ ActiveMotelRooms = ActiveMotelRooms + 1
+ end
+ end
+
+ local data = {
+ motel = Config.Motels[id],
+ location = Config.Motels[id].Location,
+ name = Config.Motels[id].Name,
+ description = Config.Motels[id].Description,
+ Active = Config.Motels[id].Active,
+ activeRooms = ActiveMotelRooms,
+ totalRooms = #Config.Motels[id].Rooms,
+ rooms = Config.Motels[id].Rooms,
+
+ }
+ SendNUIMessage({
+ type = "OpenMotel",
+ data = data,
+ motelid = CurrentMotel,
+ translate = Config.Lang
+ })
+
+ SetNuiFocus(true, true)
+ TriggerServerEvent("oph3z-motels:server:RentMotelAcildi", id, true)
+end
+
+function OpenBossMenu(id)
+ TriggerServerEvent("oph3z-motels:ReqData")
+ local player, distance = QBCore.Functions.GetClosestPlayer()
+ local ActiveMotelRooms = 0
+
+ local yarrakcss = {}
+
+ for i=1, #Config.Motels[id].Rooms do
+ yarrakcss[Config.Motels[id].Rooms[i].motelno] = Config.Motels[id].Rooms[i].StyleMenu
+ end
+
+ for k, v in pairs(Config.Motels[id].Rooms) do
+ if v.Rent == false and v.Active == true then
+ ActiveMotelRooms = ActiveMotelRooms + 1
+ end
+ end
+
+ QBCore.Functions.TriggerCallback("oph3z-motels:server:RequestMotel", function(RequestData)
+ if distance ~= -1 and distance <= 3.0 then
+ QBCore.Functions.TriggerCallback("oph3z-motels:server:PlayerName", function(name)
+ local data = {
+ motel = Config.Motels[id],
+ rooms = Config.Motels[id].Rooms,
+ ActiveTotalRooms = ActiveMotelRooms,
+ employees = Config.Motels[id].Employes,
+ players = name,
+ name = Config.Motels[id].Name,
+ requestdata = RequestData,
+
+ }
+ SendNUIMessage({
+ type = "OpenBossMenu",
+ data = data,
+ yarrak = yarrakcss,
+ motelid = id,
+ translate = Config.Lang
+ })
+
+ end, GetPlayerServerId(player))
+ else
+ local data = {
+ motel = Config.Motels[id],
+ rooms = Config.Motels[id].Rooms,
+ ActiveTotalRooms = ActiveMotelRooms,
+ employees = Config.Motels[id].Employes,
+ vipmotelupgradeprice = Config.Motels[id].VIPUpgradeMoney,
+ middleupgradeprice = Config.Motels[id].MiddleUpgradeMoney,
+ name = Config.Motels[id].Name,
+ requestdata = RequestData,
+ }
+ SendNUIMessage({
+ type = "OpenBossMenu",
+ data = data,
+ yarrak = yarrakcss,
+ motelid = id,
+ translate = Config.Lang
+ })
+ end
+ end, id)
+ SetNuiFocus(true, true)
+ TriggerServerEvent("oph3z-motels:server:BossMenuAcildi", id, true)
+end
+
+local motelZones = {}
+
+function UseTargetClient(coords, eventname, eventneresi, eventlabel)
+ if motelZones[eventneresi] then
+ exports['qb-target']:RemoveZone(eventneresi)
+ motelZones[eventneresi] = false
+ end
+ if not motelZones[eventneresi] then
+ exports["qb-target"]:AddBoxZone("oph3z-motel:UseTarget:OpenMotel", vector3(coords.x, coords.y, coords.z), 1, 2.4, {
+ name = eventneresi,
+ heading=270,
+ minZ= coords.z-5,
+ maxZ= coords.z +5
+ }, {
+ options = {
+ {
+ event = eventname,
+ icon = "fas fa-circle",
+ calisacakyer = eventneresi,
+ label = eventlabel
+ },
+ },
+ job = {"all"},
+ distance = 1
+ })
+ motelZones[eventneresi] = true
+ end
+end
+
+RegisterNetEvent("oph3z-motel:client:UseTarget", function (eventneresi)
+ eventneresi = eventneresi.calisacakyer
+ if eventneresi == "RentMotel" then
+ OpenMotel(targetmotelid)
+ elseif eventneresi == "OpenBossMenu" then
+ OpenBossMenu(targetboosmenuid)
+ elseif eventneresi == "OpenRoom" then
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", targetmoteldata.odadataone, targetmoteldata.odadatawtow, targetmoteldata.OdaTipi, targetmoteldata.OdaType, targetmoteldata.OdaTheme, targetmoteldata.OdaStrip, targetmoteldata.OdaBooze)
+ elseif eventneresi == "ExitRoom" then
+ TriggerServerEvent("oph3z-motels:server:ExitRoom", Motelid, Odano)
+ elseif eventneresi == "Stash" then
+ Config.StashFunction(Motelid, Odano, OdaType)
+ elseif eventneresi == "Manage" then
+ ManageFunction(Motelid, Odano, OdaType, odatipi, OdaTheme)
+ elseif eventneresi == "Wardrobe" then
+ Config.WardrobeFunction()
+ elseif eventneresi == "BuyMotel" then
+ OpenBuyMenu()
+ end
+end)
+
+CreateThread(function()
+ while true do
+ local sleep = 1000
+ local Player = PlayerPedId()
+ local PlayerCoords = GetEntityCoords(Player)
+ if ScriptLoaded then
+ for k,v in pairs(Config.Motels) do
+ if v.Owner == "" then
+ if #(PlayerCoords - v.RentMotel) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ targetmotelid = k
+ UseTargetClient(v.RentMotel, "oph3z-motel:client:UseTarget", "RentMotel", "Rent Motel")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Open Motel", vector3(v.RentMotel.x, v.RentMotel.y, v.RentMotel.z))
+ if IsControlJustReleased(0, 38) then
+ OpenMotel(k)
+ end
+ end
+ end
+ end
+ end
+ end
+ Wait(sleep)
+ end
+end)
+
+local MotelNameDeisti = true
+local motelBlips = {}
+
+RegisterNetEvent("oph3z-motels:client:MotelNameBlip", function()
+ MotelNameDeisti = true
+end)
+
+CreateThread(function()
+ while true do
+ local sleep = 1000
+ if ScriptLoaded then
+ if MotelNameDeisti then
+ for _, blip in pairs(motelBlips) do
+ RemoveBlip(blip)
+ end
+ motelBlips = {}
+
+ for key, v in pairs(Config.Motels) do
+ if v.Blip then
+ local blip = AddBlipForCoord(v.RentMotel.x, v.RentMotel.y, v.RentMotel.z)
+ SetBlipSprite(blip, v.BlipSettings.ID)
+ SetBlipDisplay(blip, 4)
+ SetBlipScale(blip, v.BlipSettings.Scale)
+ SetBlipColour(blip, v.BlipSettings.Color)
+ SetBlipAsShortRange(blip, true)
+ BeginTextCommandSetBlipName("STRING")
+ AddTextComponentString(v.Name)
+ EndTextCommandSetBlipName(blip)
+ table.insert(motelBlips, blip)
+ end
+ end
+ MotelNameDeisti = false
+ end
+ end
+ Wait(sleep)
+ end
+end)
+
+
+CreateThread(function()
+ while true do
+ local sleep = 1000
+ local Player = PlayerPedId()
+ local PlayerCoords = GetEntityCoords(Player)
+ if ScriptLoaded then
+ for k,v in pairs(Config.Motels) do
+ local employesExist = false
+ if v.Employes ~= nil then
+ for key, value in pairs(v.Employes) do
+ employesExist = true
+ if v.Owner == tostring(QBCore.Functions.GetPlayerData().citizenid) or value.Citizenid == tostring(QBCore.Functions.GetPlayerData().citizenid) then
+ if #(PlayerCoords - v.OpenBossMenu) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ targetboosmenuid = k
+ UseTargetClient(v.OpenBossMenu, "oph3z-motel:client:UseTarget", "OpenBossMenu", "Open Boss Menu")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Open Boss Menu", vector3(v.OpenBossMenu.x, v.OpenBossMenu.y, v.OpenBossMenu.z))
+ if IsControlJustReleased(0, 38) then
+ OpenBossMenu(k)
+ end
+ end
+ end
+ end
+ end
+ end
+ if not employesExist then
+ if v.Owner == tostring(QBCore.Functions.GetPlayerData().citizenid) then
+ if #(PlayerCoords - v.OpenBossMenu) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ targetboosmenuid = k
+ UseTargetClient(v.OpenBossMenu, "oph3z-motel:client:UseTarget", "OpenBossMenu", "Open Boss Menu")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Open Boss Menu", vector3(v.OpenBossMenu.x, v.OpenBossMenu.y, v.OpenBossMenu.z))
+ if IsControlJustReleased(0, 38) then
+ OpenBossMenu(k)
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ Wait(sleep)
+ end
+end)
+
+
+
+RegisterNUICallback("CloseUI", function ()
+ SetNuiFocus(false, false)
+ RenderScriptCams(0, 0, 750, 1, 0)
+ DestroyCam(cam, false)
+end)
+
+
+RegisterNUICallback("CloseUIRent", function ()
+ SetNuiFocus(false, false)
+ RenderScriptCams(0, 0, 750, 1, 0)
+ DestroyCam(cam, false)
+ TriggerServerEvent("oph3z-motels:server:RentMotelAcildi", id, false)
+end)
+RegisterNUICallback("CloseUIBoosmenu", function ()
+ SetNuiFocus(false, false)
+ RenderScriptCams(0, 0, 750, 1, 0)
+ DestroyCam(cam, false)
+ TriggerServerEvent("oph3z-motels:server:BossMenuAcildi", id, false)
+end)
+
+function AcceptMotelRoom(data)
+ QBCore.Functions.TriggerCallback("oph3z-motels:server:RentRoom", function (export)
+ if export then
+ OpenMotel(CurrentMotel)
+ end
+ end, data)
+end
+
+CreateThread(function ()
+ while true do
+ Citizenid = tostring(QBCore.Functions.GetPlayerData().citizenid)
+ local sleep = 1000
+ local Player = PlayerPedId()
+ local PlayerCoords = GetEntityCoords(Player)
+ for k,v in pairs (Config.Motels) do
+ for i, room in ipairs(v.Rooms) do
+ local Friends = json.encode(room.Owner.Friends)
+ local EmployesMenu = json.encode(v.Employes)
+ if Friends ~= "[]"then
+ for i, data in ipairs(room.Owner.Friends) do
+ friendscitizenid = data.Citizenid
+ if EmployesMenu ~= "[]" then
+ for vf, employees in ipairs(v.Employes) do
+ if Config.Data.EmployesRoomSee then
+ if employees then
+ if room.Owner.RoomsOwner == Citizenid or v.Owner == Citizenid or employees.Citizenid == Citizenid or friendscitizenid == Citizenid then
+ if #(PlayerCoords - vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z)) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ OdaTipi = tostring(v.Rooms[i].type..k)
+ OdaType = tostring(v.Rooms[i].type)
+ if employees.Citizenid == Citizenid and room.Owner.RoomsOwner ~= Citizenid then
+ OwnerMode = true
+ end
+ if v.Owner == Citizenid and room.Owner.RoomsOwner ~= Citizenid and friendscitizenid ~= Citizenid then
+ OwnerMode = true
+ end
+ if OdaType == "VIP" then
+ OdaTheme = v.Rooms[i].theme
+ OdaStrip = v.Rooms[i].strip
+ OdaBooze = v.Rooms[i].booze
+
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ OdaTheme = OdaTheme,
+ OdaStrip = OdaStrip,
+ OdaBooze = OdaBooze
+ }
+ else
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ }
+ end
+ UseTargetClient(vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z), "oph3z-motel:client:UseTarget", "OpenRoom", "Open Room")
+ else
+ if IsControlJustReleased(0, 38) then
+ Config.DrawText3D("~INPUT_PICKUP~ - Open Room", vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z))
+ if employees.Citizenid == Citizenid and room.Owner.RoomsOwner ~= Citizenid then
+ OwnerMode = true
+ end
+ if v.Owner == Citizenid and room.Owner.RoomsOwner ~= Citizenid and friendscitizenid ~= Citizenid then
+ OwnerMode = true
+ end
+ local OdaTipi = tostring(v.Rooms[i].type..k)
+ local OdaType = tostring(v.Rooms[i].type)
+ if OdaType == "VIP" then
+ local OdaTheme = v.Rooms[i].theme
+ local OdaStrip = v.Rooms[i].strip
+ local OdaBooze = v.Rooms[i].booze
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", OdaTipi, OdaType, OdaTheme, OdaStrip, OdaBooze)
+ else
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", OdaTipi, OdaType)
+ end
+ end
+ end
+ end
+ end
+ else
+ if room.Owner.RoomsOwner == Citizenid or v.Owner == Citizenid or friendscitizenid == Citizenid then
+ if #(PlayerCoords - vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z)) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ OdaTipi = tostring(v.Rooms[i].type..k)
+ OdaType = tostring(v.Rooms[i].type)
+ if v.Owner == Citizenid and room.Owner.RoomsOwner ~= Citizenid and friendscitizenid ~= Citizenid then
+ OwnerMode = true
+ end
+ if OdaType == "VIP" then
+ OdaTheme = v.Rooms[i].theme
+ OdaStrip = v.Rooms[i].strip
+ OdaBooze = v.Rooms[i].booze
+
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ OdaTheme = OdaTheme,
+ OdaStrip = OdaStrip,
+ OdaBooze = OdaBooze
+ }
+ else
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ }
+ end
+ UseTargetClient(vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z), "oph3z-motel:client:UseTarget", "OpenRoom", "Open Room")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Open Room", vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z))
+ if IsControlJustReleased(0, 38) then
+ if v.Owner == Citizenid and room.Owner.RoomsOwner ~= Citizenid and friendscitizenid ~= Citizenid then
+ OwnerMode = true
+ end
+ local OdaTipi = tostring(v.Rooms[i].type..k)
+ local OdaType = tostring(v.Rooms[i].type)
+ if OdaType == "VIP" then
+ local OdaTheme = v.Rooms[i].theme
+ local OdaStrip = v.Rooms[i].strip
+ local OdaBooze = v.Rooms[i].booze
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType, OdaTheme, OdaStrip, OdaBooze)
+ else
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType)
+ end
+ end
+ end
+ end
+ end
+ end
+ else
+ if Config.Data.OwnerRoomSee then
+ if room.Owner.RoomsOwner == Citizenid or v.Owner == Citizenid or friendscitizenid == Citizenid then
+ if #(PlayerCoords - vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z)) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ OdaTipi = tostring(v.Rooms[i].type..k)
+ OdaType = tostring(v.Rooms[i].type)
+ if v.Owner == Citizenid and room.Owner.RoomsOwner ~= Citizenid and friendscitizenid ~= Citizenid then
+ OwnerMode = true
+ end
+ if OdaType == "VIP" then
+ OdaTheme = v.Rooms[i].theme
+ OdaStrip = v.Rooms[i].strip
+ OdaBooze = v.Rooms[i].booze
+
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ OdaTheme = OdaTheme,
+ OdaStrip = OdaStrip,
+ OdaBooze = OdaBooze
+ }
+ else
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ }
+ end
+ UseTargetClient(vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z), "oph3z-motel:client:UseTarget", "OpenRoom", "Open Room")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Open Room", vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z))
+ if IsControlJustReleased(0, 38) then
+ if v.Owner == Citizenid and room.Owner.RoomsOwner ~= Citizenid and friendscitizenid ~= Citizenid then
+ OwnerMode = true
+ end
+ local OdaTipi = tostring(v.Rooms[i].type..k)
+ local OdaType = tostring(v.Rooms[i].type)
+ if OdaType == "VIP" then
+ local OdaTheme = v.Rooms[i].theme
+ local OdaStrip = v.Rooms[i].strip
+ local OdaBooze = v.Rooms[i].booze
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType, OdaTheme, OdaStrip, OdaBooze)
+ else
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType)
+ end
+ end
+ end
+ end
+ end
+ else
+ if room.Owner.RoomsOwner == Citizenid or friendscitizenid == Citizenid then
+ if #(PlayerCoords - vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z)) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ OdaTipi = tostring(v.Rooms[i].type..k)
+ OdaType = tostring(v.Rooms[i].type)
+ if OdaType == "VIP" then
+ OdaTheme = v.Rooms[i].theme
+ OdaStrip = v.Rooms[i].strip
+ OdaBooze = v.Rooms[i].booze
+
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ OdaTheme = OdaTheme,
+ OdaStrip = OdaStrip,
+ OdaBooze = OdaBooze
+ }
+ else
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ }
+ end
+ UseTargetClient(vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z), "oph3z-motel:client:UseTarget", "OpenRoom", "Open Room")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Open Room", vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z))
+ if IsControlJustReleased(0, 38) then
+ local OdaTipi = tostring(v.Rooms[i].type..k)
+ local OdaType = tostring(v.Rooms[i].type)
+ if OdaType == "VIP" then
+ local OdaTheme = v.Rooms[i].theme
+ local OdaStrip = v.Rooms[i].strip
+ local OdaBooze = v.Rooms[i].booze
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType, OdaTheme, OdaStrip, OdaBooze)
+ else
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType)
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ else
+ if Config.Data.OwnerRoomSee then
+ if room.Owner.RoomsOwner == Citizenid or v.Owner == Citizenid or friendscitizenid == Citizenid then
+ if #(PlayerCoords - vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z)) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ OdaTipi = tostring(v.Rooms[i].type..k)
+ OdaType = tostring(v.Rooms[i].type)
+ if v.Owner == Citizenid and room.Owner.RoomsOwner ~= Citizenid and friendscitizenid ~= Citizenid then
+ OwnerMode = true
+ end
+ if OdaType == "VIP" then
+ OdaTheme = v.Rooms[i].theme
+ OdaStrip = v.Rooms[i].strip
+ OdaBooze = v.Rooms[i].booze
+
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ OdaTheme = OdaTheme,
+ OdaStrip = OdaStrip,
+ OdaBooze = OdaBooze
+ }
+ else
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ }
+ end
+ UseTargetClient(vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z), "oph3z-motel:client:UseTarget", "OpenRoom", "Open Room")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Open Room", vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z))
+ if IsControlJustReleased(0, 38) then
+ if v.Owner == Citizenid and room.Owner.RoomsOwner ~= Citizenid and friendscitizenid ~= Citizenid then
+ OwnerMode = true
+ end
+ local OdaTipi = tostring(v.Rooms[i].type..k)
+ local OdaType = tostring(v.Rooms[i].type)
+ if OdaType == "VIP" then
+ local OdaTheme = v.Rooms[i].theme
+ local OdaStrip = v.Rooms[i].strip
+ local OdaBooze = v.Rooms[i].booze
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType, OdaTheme, OdaStrip, OdaBooze)
+ else
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType)
+ end
+ end
+ end
+ end
+ end
+ else
+ if room.Owner.RoomsOwner == Citizenid or friendscitizenid == Citizenid then
+ if #(PlayerCoords - vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z)) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ OdaTipi = tostring(v.Rooms[i].type..k)
+ OdaType = tostring(v.Rooms[i].type)
+ if OdaType == "VIP" then
+ OdaTheme = v.Rooms[i].theme
+ OdaStrip = v.Rooms[i].strip
+ OdaBooze = v.Rooms[i].booze
+
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ OdaTheme = OdaTheme,
+ OdaStrip = OdaStrip,
+ OdaBooze = OdaBooze
+ }
+ else
+ targetmoteldata = {
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ }
+ end
+ UseTargetClient(vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z), "oph3z-motel:client:UseTarget", "OpenRoom", "Open Room")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Open Room", vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z))
+ if IsControlJustReleased(0, 38) then
+ local OdaTipi = tostring(v.Rooms[i].type..k)
+ local OdaType = tostring(v.Rooms[i].type)
+ if OdaType == "VIP" then
+ local OdaTheme = v.Rooms[i].theme
+ local OdaStrip = v.Rooms[i].strip
+ local OdaBooze = v.Rooms[i].booze
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType, OdaTheme, OdaStrip, OdaBooze)
+ else
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType)
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ else
+ if room.Owner.RoomsOwner == Citizenid or v.Owner == Citizenid then
+ if #(PlayerCoords - vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z)) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ OdaTipi = tostring(v.Rooms[i].type..k)
+ OdaType = tostring(v.Rooms[i].type)
+ if OdaType == "VIP" then
+ OdaTheme = v.Rooms[i].theme
+ OdaStrip = v.Rooms[i].strip
+ OdaBooze = v.Rooms[i].booze
+ targetmoteldata = {
+ odadataone = k,
+ odadatawtow = i,
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ OdaTheme = OdaTheme,
+ OdaStrip = OdaStrip,
+ OdaBooze = OdaBooze
+ }
+ else
+ targetmoteldata = {
+ odadataone = k,
+ odadatawtow = i,
+ OdaTipi = OdaTipi,
+ OdaType = OdaType,
+ }
+ end
+ if v.Owner == Citizenid and room.Owner.RoomsOwner ~= Citizenid then
+ OwnerMode = true
+ end
+ UseTargetClient(vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z), "oph3z-motel:client:UseTarget", "OpenRoom", "Open Room")
+ else
+
+ Config.DrawText3D("~INPUT_PICKUP~ - Open Room", vector3(v.Rooms[i].Coords.x, v.Rooms[i].Coords.y, v.Rooms[i].Coords.z))
+ if IsControlJustReleased(0, 38) then
+ if v.Owner == Citizenid and room.Owner.RoomsOwner ~= Citizenid then
+ OwnerMode = true
+ end
+ local OdaTipi = tostring(v.Rooms[i].type..k)
+ local OdaType = tostring(v.Rooms[i].type)
+ if OdaType == "VIP" then
+ local OdaTheme = v.Rooms[i].theme
+ local OdaStrip = v.Rooms[i].strip
+ local OdaBooze = v.Rooms[i].booze
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType, OdaTheme, OdaStrip, OdaBooze)
+ else
+ TriggerServerEvent("oph3z-motels:server:OpenRoom", k, i, OdaTipi, OdaType)
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ end
+ Wait(sleep)
+ end
+end)
+
+RegisterCommand("motelodasinda", function ()
+ Motelid = 1
+ Odano = 3
+ OdaType = "Squatter"
+
+ motelodasinda = true
+ -- Config.StashFunction(Motelid, Odano, OdaType)
+end)
+
+CreateThread(function ()
+ while true do
+ sleep = 0
+ if motelodasinda then
+ sleep = 0
+ local Player = PlayerPedId()
+ local PlayerCoords = GetEntityCoords(Player)
+ for k, v in pairs(Config.Maps) do
+ Exit = #(PlayerCoords - v.out)
+ Stash = #(PlayerCoords - v.stash)
+ Manage = #(PlayerCoords - v.manage)
+ Wardrobe = #(PlayerCoords - v.wardrobe)
+ if Exit <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ UseTargetClient(vector3(v.out.x, v.out.y, v.out.z), "oph3z-motel:client:UseTarget", "ExitRoom", "Exit")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Exit", vector3(v.out.x, v.out.y, v.out.z ))
+ if sleep == 0 and IsControlJustReleased(0, 38) then
+ TriggerServerEvent("oph3z-motels:server:ExitRoom", Motelid, Odano)
+ end
+ end
+ end
+ if Stash <= 2.0 then
+ if not OwnerMode then
+ sleep = 0
+ if Config.Data.UseTarget then
+ UseTargetClient(vector3(v.stash.x, v.stash.y, v.stash.z), "oph3z-motel:client:UseTarget", "Stash", "Stash")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Stash", vector3(v.stash.x, v.stash.y, v.stash.z))
+ if IsControlJustReleased(0, 38) then
+ Wait(100)
+ print("exit")
+ Config.StashFunction(Motelid, Odano, OdaType)
+ end
+ end
+
+ end
+ end
+ if Config.Data.CustomersManage then
+ if Manage <= 2.0 then
+ if not OwnerMode then
+ sleep = 0
+ if Config.Data.UseTarget then
+ UseTargetClient(vector3(v.manage.x, v.manage.y, v.manage.z), "oph3z-motel:client:UseTarget", "Manage", "Manage")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Manage", vector3(v.manage.x, v.manage.y, v.manage.z))
+ if IsControlJustReleased(0, 38) then
+ ManageFunction(Motelid, Odano, OdaType, odatipi, OdaTheme)
+ end
+ end
+ end
+ end
+ end
+ if Wardrobe <= 2.0 then
+ if not OwnerMode then
+ sleep = 0
+ if Config.Data.UseTarget then
+ UseTargetClient(vector3(v.wardrobe.x, v.wardrobe.y, v.wardrobe.z), "oph3z-motel:client:UseTarget", "Wardrobe", "Wardrobe")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Wardrobe", vector3(v.wardrobe.x, v.wardrobe.y, v.wardrobe.z))
+ if IsControlJustReleased(0, 38) then
+ Config.WardrobeFunction()
+ end
+ end
+ end
+ end
+ end
+ else
+ Wait(sleep)
+ end
+ Wait(sleep)
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:client:AdamYoruyorsunuz", function (NewMotelid, NewOdano, NewOdaType, NewOdaTipi, NewOdatasarimi,OdaStrip, OdaBooze)
+ local Player = PlayerPedId()
+ local PlayerCoords = GetEntityCoords(Player)
+ Motelid = NewMotelid
+ Odano = NewOdano
+ OdaType = NewOdaType
+ odatipi = NewOdaTipi
+ motelodasinda = true
+ Odatasarimi = NewOdatasarimi
+ OdaStrip = OdaStrip
+ OdaBooze = OdaBooze
+ if OdaType == "VIP" then
+ Exit = #(PlayerCoords - Config.Maps[odatipi].out)
+ if Exit <= 35 then
+ if Odatasarimi ~= nil then
+ local exportname = Config.Maps[odatipi].exportName
+ DoScreenFadeOut(500)
+ Wait(400)
+ FreezeEntityPosition(Player, true)
+ local apartmentObject = exports['bob74_ipl'][exportname]()
+ interiorID = GetInteriorAtCoords(GetEntityCoords(PlayerPedId()))
+ local selectedTheme = nil
+ for themeName, themeData in pairs(Config.Maps[odatipi].ThemeData) do
+ if themeName == Odatasarimi then
+ selectedTheme = themeData
+ break
+ end
+ end
+
+ if selectedTheme ~= nil then
+ apartmentObject.Style.Set(selectedTheme, true)
+ RefreshInterior(interiorID)
+ end
+ if odastrip then
+ apartmentObject.Strip.Enable({
+ apartmentObject.Strip.A,
+ apartmentObject.Strip.B,
+ apartmentObject.Strip.C
+ }, true)
+ RefreshInterior(interiorID)
+ end
+
+ if odabooze then
+ apartmentObject.Booze.Enable({
+ apartmentObject.Booze.A,
+ apartmentObject.Booze.B,
+ apartmentObject.Booze.C
+ }, true)
+ RefreshInterior(interiorID)
+ end
+ SetEntityCoords(PlayerPedId(), PlayerCoords.x, PlayerCoords.y, PlayerCoords.z-1, 0, 0, 0, false)
+ FreezeEntityPosition(Player, false)
+ Wait(400)
+ DoScreenFadeIn(1000)
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:client:OdaBitti", function (odmid)
+ for k,v in pairs(Config.Motels) do
+ if v.Motelid == odmid then
+ local Player = PlayerPedId()
+ Wait(400)
+ DoScreenFadeOut(500)
+ Wait(400)
+ FreezeEntityPosition(Player, true)
+ SetEntityCoords(Player, v.RentMotel.x, v.RentMotel.y, v.RentMotel.z-1.0)
+ Wait(400)
+ FreezeEntityPosition(Player, false)
+ DoScreenFadeIn(1000)
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:client:OpenRoom", function (motelno, odano, odatipi, odatype, odatheme, odastrip, odabooze)
+ if odatheme == nil then
+ local Player = PlayerPedId()
+ DoScreenFadeOut(500)
+ Wait(400)
+ SetEntityCoords(Player, Config.Maps[odatipi].out.x, Config.Maps[odatipi].out.y, Config.Maps[odatipi].out.z-1.0)
+ Wait(400)
+ DoScreenFadeIn(1000)
+ else
+ local exportname = Config.Maps[odatipi].exportName
+ local Player = PlayerPedId()
+ DoScreenFadeOut(500)
+ Wait(400)
+ SetEntityCoords(Player, Config.Maps[odatipi].out.x, Config.Maps[odatipi].out.y, Config.Maps[odatipi].out.z-1.0)
+ FreezeEntityPosition(Player, true)
+ Wait(200)
+ local playerCoords = GetEntityCoords(PlayerPedId())
+ local apartmentObject = exports['bob74_ipl'][exportname]()
+ interiorID = GetInteriorAtCoords(GetEntityCoords(PlayerPedId()))
+ local selectedTheme = nil
+
+ for themeName, themeData in pairs(Config.Maps[odatipi].ThemeData) do
+ if themeName == odatheme then
+ selectedTheme = themeData
+ break
+ end
+ end
+
+ if selectedTheme ~= nil then
+ apartmentObject.Style.Set(selectedTheme, true)
+ RefreshInterior(interiorID)
+ end
+
+ if odastrip then
+ apartmentObject.Strip.Enable({
+ apartmentObject.Strip.A,
+ apartmentObject.Strip.B,
+ apartmentObject.Strip.C
+ }, true)
+ RefreshInterior(interiorID)
+ end
+
+ if odabooze then
+ apartmentObject.Booze.Enable({
+ apartmentObject.Booze.A,
+ apartmentObject.Booze.B,
+ apartmentObject.Booze.C
+ }, true)
+ RefreshInterior(interiorID)
+ end
+
+ SetEntityCoords(PlayerPedId(), playerCoords.x, playerCoords.y, playerCoords.z-1, 0, 0, 0, false)
+ FreezeEntityPosition(Player, false)
+ Wait(400)
+ DoScreenFadeIn(1000)
+ end
+ Motelid = motelno
+ Odano = odano
+ OdaType = odatype
+ odatipi = odatipi
+ odatheme = odatheme
+ motelodasinda = true
+end)
+
+RegisterNetEvent("oph3z-motels:client:ExitRoom", function()
+ local Player = PlayerPedId()
+ DoScreenFadeOut(500)
+ Wait(400)
+ SetEntityCoords(Player, Config.Motels[Motelid].Rooms[Odano].Coords.x, Config.Motels[Motelid].Rooms[Odano].Coords.y, Config.Motels[Motelid].Rooms[Odano].Coords.z-1.0)
+ SetEntityHeading(Player, Config.Motels[Motelid].Rooms[Odano].Coords.w)
+ Wait(400)
+ Motelid = nil
+ Odano = nil
+ Odatasarimi = nil
+ OdaType = nil
+ odatipi = nil
+ motelodasinda = false
+ OwnerMode = false
+ DoScreenFadeIn(1000)
+end)
+
+function OpenBuyMenu()
+ local data = {
+ motel = Config.Motels,
+ motelcount = #Config.Motels,
+ }
+ SendNUIMessage({
+ type = "OpenBuyMenu",
+ data = data,
+ translate = Config.Lang
+ })
+ SetNuiFocus(true, true)
+end
+local buymotelcoords = nil
+CreateThread(function ()
+ while true do
+ local sleep = 1000
+ local Player = PlayerPedId()
+ local PlayerCoords = GetEntityCoords(Player)
+ if Config.Data.BuyMotelPass then
+ if #(PlayerCoords - vector3(Config.Data.BuyMotel.x, Config.Data.BuyMotel.y, Config.Data.BuyMotel.z)) <= 2.0 then
+ sleep = 0
+ if Config.Data.UseTarget then
+ UseTargetClient(vector3(Config.Data.BuyMotel.x, Config.Data.BuyMotel.y, Config.Data.BuyMotel.z), "oph3z-motel:client:UseTarget", "BuyMotel", "Buy Motel")
+ else
+ Config.DrawText3D("~INPUT_PICKUP~ - Buy Motel", vector3(Config.Data.BuyMotel.x, Config.Data.BuyMotel.y, Config.Data.BuyMotel.z))
+ if IsControlJustReleased(0, 38) then
+ buymotelcoords = GetEntityCoords(PlayerPedId())
+ OpenBuyMenu()
+ end
+ end
+ end
+ end
+ Wait(sleep)
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:client:InvitePlayerRequest", function(data, sendername)
+ SendNUIMessage({
+ type = "SendRoomInviteRequest",
+ data = data,
+ sendernameRoom = sendername,
+ translate = Config.Lang
+ })
+ SetNuiFocus(true, true)
+end)
+
+RegisterNetEvent("oph3z-motels:client:InvitePlayerRequestFriends", function (data, sendername)
+ SendNUIMessage({
+ type = "SendRoomFriendsRequest",
+ data = data,
+ sendernameRoom = sendername,
+ translate = Config.Lang
+ })
+ SetNuiFocus(true, true)
+end)
+
+RegisterNetEvent("oph3z-motels:client:TransferMotelRequest", function(data, sendername)
+ SendNUIMessage({
+ type = "SendTransferMotelUI",
+ data = data,
+ sendernameRoom = sendername,
+ translate = Config.Lang
+ })
+ SetNuiFocus(true, true)
+end)
+
+RegisterNetEvent("oph3z-motels:client:NearbyRequest", function(data, sendername)
+ SendNUIMessage({
+ type = "SendNearbyRequest",
+ data = data,
+ sendername = sendername,
+ translate = Config.Lang
+ })
+ SetNuiFocus(true, true)
+end)
+
+RegisterNetEvent("oph3z-motels:client:InviteEmployee", function(data, sendername)
+ SendNUIMessage({
+ type = "SendInviteEmployee",
+ data = data,
+ sendername = sendername,
+ translate = Config.Lang
+ })
+ SetNuiFocus(true, true)
+end)
+
+
+
+ManageFunction = function (data1, Odano, OdaType)
+ local PlayerData = QBCore.Functions.GetPlayerData()
+ local playerCitizenId = tostring(PlayerData.citizenid)
+ for k, v in pairs(Config.Motels) do
+ if data1 == v.Motelid then
+ VIPUpgradeMoney = v.VIPUpgradeMoney
+ MiddleUpgradeMoney = v.MiddleUpgradeMoney
+ for i, room in ipairs(v.Rooms) do
+ if Odano == room.motelno then
+ StyleMenu = room.StyleMenu
+ Coords = room.Coords
+ Friends = room.Owner.Friends
+ Date = room.Owner.Date
+ SaatlikPrice = room.money
+ odaTheme = room.theme
+ Motelname = v.Name
+ Strip = room.strip
+ Booze = room.booze
+ end
+ end
+ end
+ end
+
+ SendNUIMessage({
+ type = "MotelManagement",
+ MotelNo = data1,
+ dataR = data,
+ OdanoR = Odano,
+ OdaTypeR = OdaType,
+ Coords = Coords,
+ stylemenu = StyleMenu,
+ Friends = Friends,
+ Date = Date,
+ SaatlikPrice = SaatlikPrice,
+ odaTheme = odaTheme,
+ Motelname = Motelname,
+ Strip = Strip,
+ Booze = Booze,
+ MiddleUpgradeMoney = MiddleUpgradeMoney ,
+ VIPUpgradeMoney = VIPUpgradeMoney,
+ translate = Config.Lang
+ })
+ SetNuiFocus(true, true)
+end
+
+RegisterNetEvent("oph3z-motels:client:SendMail", function(sender, subject,messege,button)
+ TriggerServerEvent('qb-phone:server:sendNewMail', {
+ sender = sender,
+ subject = subject,
+ message = messege,
+ button = button
+ })
+end)
+
+function CurrentMotelBuy(data)
+ TriggerServerEvent("oph3z-motels:server:BuyMotel", data)
+end
+
+function MotelNoCekme(data)
+ local MotelData = Config.Motels[data.motelno]
+ local PlayerPed = PlayerPedId()
+ cam = CreateCam('DEFAULT_SCRIPTED_CAMERA', true)
+ SetCamActive(cam, true)
+ RenderScriptCams(1, 1, 750, 1, 0)
+ SetEntityCoords(PlayerPed, MotelData.MotelCamDashboard.x, MotelData.MotelCamDashboard.y, MotelData.MotelCamDashboard.z)
+ SetEntityHeading(PlayerPed, MotelData.MotelCamDashboard.w)
+ FreezeEntityPosition(PlayerPed, true)
+ SetEntityVisible(PlayerPed, false)
+ SetCamCoord(cam, MotelData.MotelCamDashboard.x, MotelData.MotelCamDashboard.y, MotelData.MotelCamDashboard.z)
+ SetCamRot(cam, 0.0, 0.0, MotelData.MotelCamDashboard.w)
+ RenderScriptCams(true, false, 0, true, true)
+end
+
+RegisterNUICallback("CloseUIBuy", function ()
+ SetNuiFocus(false, false)
+ RenderScriptCams(0, 0, 750, 1, 0)
+ DestroyCam(cam, false)
+ SetEntityCoords(PlayerPedId(), buymotelcoords.x, buymotelcoords.y, buymotelcoords.z-1)
+ SetEntityVisible(PlayerPedId(), true)
+ FreezeEntityPosition(PlayerPedId(), false)
+ buymotelcoords = nil
+end)
+
+RegisterNetEvent("oph3z-motels:OpenBossMenu", function (id)
+
+ OpenBossMenu(id)
+end)
+
+RegisterNetEvent("oph3z-motels:RentMotel", function (id)
+ OpenMotel(id)
+end)
+
+function SaveDashboard(data)
+ TriggerServerEvent("oph3z-motels:server:SaveDashboard", data)
+end
+
+function CompanyMoney(data)
+ TriggerServerEvent("oph3z-motels:server:CompanyMoney", data)
+end
+
+RegisterNetEvent("oph3z-motels:OpenManagement", function ()
+ ManageFunction(Motelid, Odano, OdaType)
+end)
+
+function KickCustomer(data)
+ TriggerServerEvent("oph3z-motels:server:KickCustomer", data)
+end
+
+function KickEmployee(data)
+ TriggerServerEvent("oph3z-motels:server:KickEmployee", data)
+end
+
+function RankUp(data)
+ TriggerServerEvent("oph3z-motels:server:RankUp", data)
+end
+
+function RankDown(data)
+ TriggerServerEvent("oph3z-motels:server:RankDown", data)
+end
+
+function NerabyPlayers(data)
+ local player, distance = QBCore.Functions.GetClosestPlayer()
+ if data.employees then
+ if distance ~= -1 and distance <= 3.0 then
+ QBCore.Functions.TriggerCallback("oph3z-motels:server:PlayerName", function(name)
+ SendNUIMessage({
+ type = "LoadPlayers",
+ players = name,
+ })
+
+ end, GetPlayerServerId(player))
+ end
+ elseif data.management then
+ if distance ~= -1 and distance <= 3.0 then
+ QBCore.Functions.TriggerCallback("oph3z-motels:server:PlayerName", function(name)
+ SendNUIMessage({
+ type = "LoadPlayers",
+ players = name,
+ })
+ end, GetPlayerServerId(player))
+ end
+ elseif data.managementDoor then
+ if data.Coords ~= nil then
+ Coords = vector3(data.Coords.x, data.Coords.y, data.Coords.z)
+ QBCore.Functions.TriggerCallback("oph3z-motels:server:RoomInvite", function(name)
+ SendNUIMessage({
+ type = "LoadPlayers1",
+ RoomInvite = name,
+ })
+ end, Coords)
+ end
+ else
+ if distance ~= -1 and distance <= 3.0 then
+ QBCore.Functions.TriggerCallback("oph3z-motels:server:PlayerName", function(name)
+ SendNUIMessage({
+ type = "LoadPlayers",
+ players = name,
+ })
+ end, GetPlayerServerId(player))
+ end
+ end
+end
+
+function NearbyAccept(data)
+ TriggerServerEvent("oph3z-motels:server:NearbyAccept", data)
+end
+
+function NearbyRequest(data)
+ TriggerServerEvent("oph3z-motels:server:NearbyRequest", data)
+end
+
+function InviteEmployee(data)
+ TriggerServerEvent("oph3z-motels:server:InviteEmployee", data)
+end
+
+function JobOfferAccepted(data)
+ TriggerServerEvent("oph3z-motels:server:JobOfferAccepted", data)
+end
+
+function RepairRoom(data)
+ TriggerServerEvent("oph3z-motels:server:RepairRoom", data)
+end
+
+function UpgradeRoom(data)
+ TriggerServerEvent("oph3z-motels:server:UpgradeRoom", data)
+end
+
+function ChangeSalary(data)
+ TriggerServerEvent("oph3z-motels:server:ChangeSalary", data)
+end
+
+function AddFriend(data)
+ TriggerServerEvent("oph3z-motels:server:AddFriend", data)
+end
+
+function KickFriends(data)
+ TriggerServerEvent("oph3z-motels:server:KickFriends", data)
+end
+
+function InvitePlayerRequest(data)
+ TriggerServerEvent("oph3z-motels:server:InvitePlayerRequest", data)
+end
+
+function InvitePlayerRequestFriends(data)
+ TriggerServerEvent("oph3z-motels:server:InvitePlayerRequestFriends", data)
+end
+
+function UpHours(data)
+ TriggerServerEvent("oph3z-motels:server:UpHours", data)
+end
+
+function RoomInviteAccept(data)
+ TriggerServerEvent("oph3z-motels:server:RoomInviteAccept", data)
+end
+
+function UpgradeRoomRequest(data)
+ TriggerServerEvent("oph3z-motels:server:UpgradeRoomRequest", data)
+end
+
+function AcceptRequste(data)
+ TriggerServerEvent("oph3z-motels:server:AcceptRequste", data)
+end
+
+function CancelRequest(data)
+ TriggerServerEvent("oph3z-motels:server:CancelRequest", data)
+end
+
+function SellMotel(data)
+ if Config.Data.SellMotelPass then
+ TriggerServerEvent("oph3z-motels:server:SellMotel", data)
+ else
+ Config.Notify(Config.Langue["NotPermissionsMotelSell"][1], Config.Langue["NotPermissionsMotelSell"][2], Config.Langue["NotPermissionsMotelSell"][3])
+ end
+end
+
+function MotelTransferAccept(data)
+ if Config.Data.TransferPass then
+ TriggerServerEvent("oph3z-motels:server:TransferMotel", data)
+ else
+ Config.Notify(Config.Langue["NotPermissionsMotelTransfer"][1], Config.Langue["NotPermissionsMotelTransfer"][2], Config.Langue["NotPermissionsMotelTransfer"][3])
+ end
+end
+
+function MotelTransferRequest(data)
+ TriggerServerEvent("oph3z-motels:server:MotelTransferRequest", data)
+end
+
+RegisterNUICallback("CurrentMotelBuy", CurrentMotelBuy)
+RegisterNUICallback("MotelNoCekme", MotelNoCekme)
+RegisterNUICallback("SaveDashboard", SaveDashboard)
+RegisterNUICallback("AcceptMotelRoom", AcceptMotelRoom)
+RegisterNUICallback("CompanyMoney", CompanyMoney)
+RegisterNUICallback("KickCustomer", KickCustomer)
+RegisterNUICallback("KickEmployee", KickEmployee)
+RegisterNUICallback("RankUp", RankUp)
+RegisterNUICallback("RankDown", RankDown)
+RegisterNUICallback("NerabyPlayers", NerabyPlayers)
+RegisterNUICallback("NearbyRequest", NearbyRequest)
+RegisterNUICallback("NearbyAccept", NearbyAccept)
+RegisterNUICallback("InviteEmployee", InviteEmployee)
+RegisterNUICallback("JobOfferAccepted", JobOfferAccepted)
+RegisterNUICallback("RepairRoom", RepairRoom)
+RegisterNUICallback("UpgradeRoom", UpgradeRoom)
+RegisterNUICallback("ChangeSalary", ChangeSalary)
+RegisterNUICallback("AddFriend", AddFriend)
+RegisterNUICallback("KickFriends", KickFriends)
+RegisterNUICallback("InvitePlayerRequest", InvitePlayerRequest)
+RegisterNUICallback("InvitePlayerRequestFriends", InvitePlayerRequestFriends)
+RegisterNUICallback("UpHours", UpHours)
+RegisterNUICallback("RoomInviteAccept", RoomInviteAccept)
+RegisterNUICallback("UpgradeRoomRequest", UpgradeRoomRequest)
+RegisterNUICallback("AcceptRequste", AcceptRequste)
+RegisterNUICallback("CancelRequest", CancelRequest)
+RegisterNUICallback("SellMotel", SellMotel)
+RegisterNUICallback("MotelTransferRequest", MotelTransferRequest)
+RegisterNUICallback("MotelTransferAccept", MotelTransferAccept)
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/client/utils.lua b/resources/[housing]/oph3z-motels/client/utils.lua
new file mode 100644
index 000000000..43e8df6a0
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/client/utils.lua
@@ -0,0 +1,23 @@
+local QBCore = exports["qb-core"]:GetCoreObject()
+ScriptLoaded = false
+
+local function StartScript()
+ while true do
+ Wait(1000)
+ if NetworkIsPlayerActive(PlayerId()) then
+ TriggerServerEvent("oph3z-motels:ReqData")
+ Wait(2000)
+ break
+ end
+ end
+end
+
+RegisterNetEvent("oph3z-motels:Update", function (table, loaded, table2)
+ Config.Motels = table
+ ScriptLoaded = loaded
+ if not table2 then
+ return
+ end
+end)
+
+Citizen.CreateThread(StartScript)
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/config/config.lua b/resources/[housing]/oph3z-motels/config/config.lua
new file mode 100644
index 000000000..c42ec2838
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/config/config.lua
@@ -0,0 +1,165 @@
+Config = {}
+
+Config.Data = {
+ BuyMotelPass = true, -- If it's true, the motel purchase screen will be activated, and players can buy motels from that menu.
+ BuyMotel = vector3(313.24, -225.02, 54.22), -- The coordinates of the motel business sale menu can be set.
+ OwnerRoomSee = true, -- If it's true, the motel owner sees all the rooms and can enter and exit the rooms.
+ EmployesRoomSee = true, -- If it's true, motel employees see all the rooms and can enter and exit the rooms.
+ CustomersManage = true, -- If it's true, the room owner enables individuals to access the room management panel.
+ UseTarget = false, -- If it's true, the targeting system comes into play, and adaptation is made according to your own target.
+ Moneytype = "bank", -- In places such as purchasing a motel room or acquiring a motel business, the place where the payment will be deducted can be cash, bank, or cryptocurrency.
+ ["VIP"] = 300000, -- The VIP Rooms stash amount! Config.Lang.["vip"] = "VIP" should be the same as rooms.type = "VIP", and they should all be the same.
+ ["Middle"] = 200000, -- The Middle Rooms stash amount! Config.Lang.["middle"] = "Middle" should be the same as rooms.type = "Middle", and they should all be the same.
+ ["Squatter"] = 50000, -- The Squatter Rooms stash amount! Config.Lang.["squatter"] = "Squatter" should be the same as rooms.type = "Squatter", and they should all be the same.
+ ["VIPs"] = 40, -- The number of slots in the inventory of the VIP Room!
+ ["Middles"] = 25, -- The number of slots in the inventory of the Middle Room!
+ ["Squatters"] = 15, --The number of slots in the inventory of the Squatter Room!
+ EmployesSalaryTime = 0.5, -- If you write "1" for the wage interval of motel employees, it means they will receive their salary every hour.
+ EmployesOfflinePayment = false, -- You can enable or disable salary payments for motel employees while they are offline.
+ NoOwnedRentMotelAmount = 2, -- In the absence of a motel owner, a person can set the maximum number of rooms they can rent.
+ OwneRentMotelAmount = 1, -- When there is a motel owner, a person can set the maximum number of rooms they can rent.
+ MaxMotelBossAmount = 1, -- It determines the maximum number of motel businesses a person can purchase.
+ EmployesTax = true, -- If it's true, motel employees receive a share for each room they sell.
+ EmployesTaxAmount = 15, -- The share rate for motel employees per room they sell operates as a percentage.
+ FriendSystem = true, -- If it's true, the friend system operates, allowing individuals to add friends to their rooms.
+ FriendLimitV = 3, -- The maximum number of friends that can be added to a VIP room is determined.
+ FriendLimitM = 3, -- The maximum number of friends that can be added to a middle room is determined.
+ FriendLimitS = 3, -- The maximum number of friends that can be added to a squatter room is determined.
+ AcceptYuzdelik = 10, -- It sets the percentage of the requested amount from the room management section that needs to go to the cash register after being approved by the motel owner. The recommended percentage is 100.
+ SellMotelPass = true, -- If it's true, the motel owner can sell the motel back, and the price will be determined based on the availability of funds in the cash register. If there is no money in the cash register, the price will be set according to the SellPriceDefault settings.
+ SellMotelPrice = 0.5, -- If there is money in the cash register, it determines the amount by which the motel will be sold based on the current balance in the cash register.
+ SellMotelTax = 0.1, -- If the motel is sold, it sets the amount of tax to be paid, and the tax amount will be deducted accordingly.
+ SellPriceDeafult = 2000, -- If there is no money in the cash register when the motel is sold, it will be sold at a price that is half of the recommended selling price for the motel business.
+ TransferPass = true, -- If it's true, the motel business can be transferred to another player (ID) in the game.
+ Framework = "QBCore", -- OLDQBCore or QBCore
+ Inventory = "qb", -- ox or qb
+ Appearance = false,
+}
+
+Config.StashFunction = function(Motelid, Odano, OdaType)
+ if Config.Data.Inventory == "qb" then
+ StashSlots = tostring(OdaType.."s")
+ TriggerServerEvent("inventory:server:OpenInventory", "stash", Motelid..Odano, {
+ maxweight = Config.Data[OdaType],
+ slots = Config.Data[StashSlots],
+ })
+ TriggerEvent("inventory:client:SetCurrentStash", Motelid..Odano)
+ end
+
+
+ if Config.Data.Inventory == "ox" then
+ if exports.ox_inventory:openInventory('stash', "Motel_"..Motelid..'_'..Odano) == false then
+ TriggerServerEvent('ox:loadStashes')
+ exports.ox_inventory:openInventory('stash', "Motel_"..Motelid..'_'..Odano)
+ end
+ end
+end
+
+Config.WardrobeFunction = function ()
+ if Config.Data.Appearance then
+ TriggerEvent("fivem-appearance:Oph3zMotel")
+ else
+ TriggerServerEvent("InteractSound_SV:PlayOnSource", "Clothes1", 0.4)
+ TriggerEvent('qb-clothing:client:openOutfitMenu')
+ end
+
+end
+
+Config.DrawText3D = function (msg, coords)
+ AddTextEntry('esxFloatingHelpNotification', msg)
+ SetFloatingHelpTextWorldPosition(1, coords)
+ SetFloatingHelpTextStyle(1, 1, 2, -1, 3, 0)
+ BeginTextCommandDisplayHelp('esxFloatingHelpNotification')
+ EndTextCommandDisplayHelp(2, false, false, -1)
+end
+
+Config.Notify = function(text, type, time)
+ if text == nil then
+ text = "ERROR404"
+ end
+ if type == nil then
+ type = "primary"
+ end
+ if time == nil then
+ time = 5000
+ end
+ QBCore.Functions.Notify(text, type, time)
+end
+
+Config.ServerNotify = function(src, text, type, time)
+ if text == nil then
+ text = "ERROR404"
+ end
+ if type == nil then
+ type = "primary"
+ end
+ if time == nil then
+ time = 5000
+ end
+ TriggerClientEvent('QBCore:Notify', src, text, type, time)
+end
+
+Config.Maps = {
+ ["VIP1"] = {
+ exportName = "GetExecApartment2Object",
+ out = vector3(-779.08, 339.69, 196.69),
+ manage = vector3(-777.21, 331.06, 196.09),
+ stash = vector3(-766.01, 330.97, 196.09),
+ wardrobe = vector3(-764.74, 329.01, 199.49),
+ ThemeData = {
+ modern = {interiorId = 227585, ipl = "apa_v_mp_h_01_b"},
+ moody = {interiorId = 228353, ipl = "apa_v_mp_h_02_b"},
+ vibrant = {interiorId = 229121, ipl = "apa_v_mp_h_03_b"},
+ sharp = {interiorId = 229889, ipl = "apa_v_mp_h_04_b"},
+ monochrome = {interiorId = 230657, ipl = "apa_v_mp_h_05_b"},
+ seductive = {interiorId = 231425, ipl = "apa_v_mp_h_06_b"},
+ regal = {interiorId = 232193, ipl = "apa_v_mp_h_07_b"},
+ aqua = {interiorId = 232961, ipl = "apa_v_mp_h_08_b"}
+ }
+ },
+
+ ["VIP2"] = { --APART3
+ exportName = "GetExecApartment3Object",
+ out = vector3(-781.8, 318.01, 187.91),
+ manage = vector3(-783.82, 326.69, 187.31),
+ stash = vector3(-795.0, 326.75, 187.31),
+ wardrobe = vector3(-797.53, 328.1, 190.72),
+ ThemeData = {
+ modern = {interiorId = 227585, ipl = "apa_v_mp_h_01_b"},
+ moody = {interiorId = 228609, ipl = "apa_v_mp_h_02_c"},
+ vibrant = {interiorId = 229377, ipl = "apa_v_mp_h_03_c"},
+ sharp = {interiorId = 230145, ipl = "apa_v_mp_h_04_c"},
+ monochrome = {interiorId = 230913, ipl = "apa_v_mp_h_05_c"},
+ seductive = {interiorId = 231681, ipl = "apa_v_mp_h_06_c"},
+ regal = {interiorId = 232449, ipl = "apa_v_mp_h_07_c"},
+ aqua = {interiorId = 233217, ipl = "apa_v_mp_h_08_c"}
+ },
+ },
+ ["Middle1"] = { --onyle strip and booze
+ exportName = "GetGTAOApartmentHi2Object",
+ out = vector3(-1457.55, -519.95, 56.93),
+ manage = vector3(-1465.47, -533.92, 55.53),
+ stash = vector3(-1457.19, -529.63, 56.94),
+ wardrobe = vector3(-1468.05, -537.97, 50.73)
+ },
+
+ ["Middle2"] = { --onyle strip and booze
+ exportName = "GetGTAOHouseMid1Object",
+ out = vector3(346.55, -1013.24, -99.2),
+ manage = vector3(342.36, -1001.98, -99.2),
+ stash = vector3(351.96, -998.81, -99.2),
+ wardrobe = vector3(350.79, -993.59, -99.19)
+ },
+ ["Squatter1"] = {
+ out = vector3(265.87, -1007.59, -101.01),
+ manage = vector3(265.89, -999.58, -99.01),
+ stash = vector3(262.89, -1002.92, -99.01),
+ wardrobe = vector3(259.88, -1004.05, -99.01),
+ },
+ ["Squatter2"] = {
+ out = vector3(265.87, -1007.59, -101.01),
+ manage = vector3(265.89, -999.58, -99.01),
+ stash = vector3(262.89, -1002.92, -99.01),
+ wardrobe = vector3(259.88, -1004.05, -99.01),
+ },
+}
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/config/config_langue.lua b/resources/[housing]/oph3z-motels/config/config_langue.lua
new file mode 100644
index 000000000..a4ea955c5
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/config/config_langue.lua
@@ -0,0 +1,82 @@
+Config.Langue = {
+ ["NotPermissionsMotelSell"] = {"This motel is not available for sale", "error", 5000},
+ ["NotPermissionsMotelTransfer"] = {"This motel is not available for transfer", "error", 5000},
+ ["RoomTimeExpired"] = {"This motel is not available for transfer", "error", 5000},
+ ["RoomTimeUp"] = {"Your motel room's duration has been extended.", "success", 5000},
+ ["InsufficientBankFunds"] = {"You don't have enough money in your bank account.", "error", 5000},
+ ["InsufficientCashFunds"] = {"You don't have enough cash on hand.", "error", 5000},
+ ["AlreadyOwnerEmployess"] = {"The person you are trying to hire is already the owner.", "error", 5000},
+ ["PlayerNotFound"] = {"Player not found", "error", 5000},
+ ["NotEnoughMoneySalary"] = {"Your salary could not be paid. There is not enough money in the motel cash register.", "error", 5000},
+ ["NotEnoughMoney"] = {"We don't have enough money in our motel business for this transaction.", "error", 5000},
+ ["RoomExitExpired"] = "Your motel room has been removed because your stay expired and your last location was in the room.",
+ ["UpgradeRoom"] = function(roomNumber, roomType)
+ return {"The type of motel room "..roomNumber.." has been changed to "..roomType.."", "success", 5000}
+ end,
+ ["RoomRepaired"] = function(roomNumber)
+ return {"Room Repaired: Room "..roomNumber.." has been successfully reopened for use.", "success", 5000}
+ end,
+ ["UpgradeRoomRequest"] = function(roomNumber, roomType)
+ return {"You have requested a change of type for the motel room "..roomNumber.." to "..roomType.."", "success", 5000}
+ end,
+ ["CancelRequest"] = function(roomNumber)
+ return {"You have rejected the room modification request for room number "..roomNumber..".", "success", 5000}
+ end,
+ ["EmployesSalary"] = function(salary)
+ return {"Your motel business salary has been paid. Received salary: $"..salary..".", "success", 5000}
+ end,
+ ["NotEnoughMoneySalaryOwner"] = function(motelName)
+ return {"Due to insufficient funds in the cash register of "..motelName.." motel, employees' salaries cannot be paid.", "error", 5000}
+ end,
+ ["MaxMotelBuznizLimit"] = function(motelCount)
+ return {"You cannot purchase more motel businesses. You already have a total of "..motelCount.." motel businesses.", "error", 5000}
+ end,
+ ["MaxMotelRoomLimit"] = function(motelCount)
+ return {"You cannot purchase more motel room. You already have a total of "..motelCount.." motel room.", "error", 5000}
+ end,
+ ["MaxMotelRoomFriendsimit"] = function(motelCount)
+ return {"You cannot purchase more motel room. You already have a total of "..motelCount.." motel room.", "error", 5000}
+ end,
+ ["PurchaseMotelSuccess"] = function(motelName)
+ return {"You have successfully purchased the motel business named "..motelName..". Have a great day!", "success", 5000}
+ end,
+ ["SaveDashboard"] = function(motelName)
+ return {"You have successfully changed the motel name to "..motelName..".", "success", 5000}
+ end,
+ ["MotelSellSuccess"] = function(motelName, sellPrice, tax, addPrice)
+ return {"Motel Sale"..motelName.." has been sold. Sales Price: $"..sellPrice.."Tax: $"..tax.."Total Amount: $"..addPrice.."Thank you for your purchase.", "success", 5000}
+ end,
+ ["MotelTransferSuccess"] = function(motelName, transferFirstName, transferLastName)
+ return {"Motel Transfer: You have transferred your motel to "..transferFirstName.." "..transferLastName..".\n\nMotel Name: "..motelName, "success", 5000}
+ end,
+ ["MotelTransferSuccess2"] = function(motelName)
+ return {"Motel Transfer The motel named "..motelName.." has been transferred to you.", "success", 5000}
+ end,
+ ["AcceptRoomOffer"] = function(motelName, roomNumber, price)
+ return {"Motel Room Rental You have rented room number "..roomNumber.." at "..motelName.." for $"..price..".\n\nHave a great day!", "success", 5000}
+ end,
+ ["AlreadyFriends"] = function(firstName, lastName)
+ return {"Already Friends", firstName.." "..lastName.." is already added as a friend to this motel room.", "error", 5000}
+ end,
+ ["AddFriendsSuccess"] = function(firstName, lastName)
+ return {"Friend Added: You have successfully added "..firstName.." "..lastName.." as a friend.", "success", 5000}
+ end,
+ ["KickFriendSuccess"] = function(firstName, lastName)
+ return {"Friend Kicked: You have successfully kicked "..firstName.." "..lastName.." from the room.", "success", 5000}
+ end,
+ ["RankDownSuccess"] = function(name)
+ return {"Rank Down: The rank of "..name.." has been decreased.", "success", 5000}
+ end,
+ ["RankUpSuccess"] = function(name)
+ return {"Rank Up: The rank of "..name.." has been increased.", "success", 5000}
+ end,
+ ["SalaryChangeSuccess"] = function(name, newsalary)
+ return {"Salary Change: The salary of "..name.." has been updated to $"..newsalary..".", "success", 5000}
+ end,
+ ["AlreadyEmployee"] = function(name)
+ return {"The person you are trying to hire, "..name..", is already an employee.", "error", 5000}
+ end,
+ ["JobOfferAccepted"] = function (motelname)
+ return {"Job Offer: You have accepted the job offer from "..motelname.." motel.", "success", 5000}
+ end
+}
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/config/config_motels.lua b/resources/[housing]/oph3z-motels/config/config_motels.lua
new file mode 100644
index 000000000..d97857123
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/config/config_motels.lua
@@ -0,0 +1,6404 @@
+Config.Motels = {
+ [1] = {
+ Owner = "",
+ Name = "Oph3z Motel",
+ Location = "Pinkcage",
+ Description = "The Pink Cage Motel is a stylish and functional motel located near the street. It consists of 38 rooms, making it a prominent choice for accommodation.",
+ Job = "motel1",
+ Motelid = 1,
+ Price = 2000,
+ VIPUpgradeMoney = 50000,
+ MiddleUpgradeMoney = 25000,
+ CompanyMoney = 1000,
+ RentMotel = vector3(324.84, -229.52, 54.22),
+ OpenBossMenu = vector3(324.84, -229.52, 54.22),
+ MotelCamDashboard = vector4(304.84, -194.82, 65.74, 224.01),
+ TotalRooms = 38,
+ ActiveRooms = 30,
+ DamagedRooms = 8,
+ History = {},
+ Employes = {
+ Name = "",
+ Salary = 0,
+ Rank = 0,
+ Date = "",
+ Citizenid = "",
+ },
+ Blip = true, -- Enable/Disable Blip
+ BlipSettings = { -- https://docs.fivem.net/docs/game-references/blips/
+ ID = 475, -- Blip ID
+ Scale = 1.0, -- Blip Size
+ Color = 8 -- Color of the Blip
+ },
+ Rooms = {
+ {
+ Coords = vector4(312.88, -218.76, 54.22, 157.82),
+ motelno = 1,
+ Active = true,
+ Rent = false,
+ type = "VIP",
+ theme = "modern",
+ wall = "black",
+ money = 280, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = true,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(310.87, -217.99, 54.22, 160.41),
+ motelno = 2,
+ Active = true,
+ Rent = false,
+ type = "Middle",
+ theme = "",
+ wall = "",
+ money = 7777,
+ fixmoney = 5000,
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ Money = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(307.46, -216.67, 54.22, 156.79),
+ motelno = 3,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(307.55, -213.19, 54.22, 67.86),
+ motelno = 4,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(309.48, -208.0, 54.22, 67.73),
+ motelno = 5,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(311.23, -203.43, 54.22, 52.15),
+ motelno = 6,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(313.38, -198.02, 54.22, 50.13),
+ motelno = 7,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(315.64, -194.86, 54.23, 333.03),
+ motelno = 8,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(319.23, -196.17, 54.23, 327.18),
+ motelno = 9,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(321.19, -196.92, 54.23, 327.64),
+ motelno = 10,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(312.73, -218.75, 58.02, 168.18),
+ motelno = 11,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(310.94, -218.16, 58.02, 133.37),
+ motelno = 12,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(307.38, -216.7, 58.02, 159.22),
+ motelno = 13,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(307.54, -213.37, 58.02, 61.52),
+ motelno = 14,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(309.54, -208.17, 58.02, 65.79),
+ motelno = 15,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(311.35, -203.43, 58.02, 59.44),
+ motelno = 16,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(313.32, -198.27, 58.02, 61.36),
+ motelno = 17,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(315.67, -194.81, 58.02, 334.77),
+ motelno = 18,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(319.37, -196.23, 58.02, 336.56),
+ motelno = 19,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(321.1, -196.9, 58.02, 340.09),
+ motelno = 20,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(329.46, -225.23, 54.22, 162.33),
+ motelno = 21,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(331.56, -226.09, 54.22, 151.08),
+ motelno = 22,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(335.06, -227.34, 54.22, 165.43),
+ motelno = 23,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(337.17, -224.86, 54.22, 260.2),
+ motelno = 24,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(339.2, -219.29, 54.22, 248.51),
+ motelno = 25,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(340.88, -214.88, 54.22, 247.96),
+ motelno = 26,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(343.01, -209.38, 54.22, 269.08),
+ motelno = 27,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(344.67, -205.02, 54.22, 271.28),
+ motelno = 28,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(346.75, -199.81, 54.22, 244.46),
+ motelno = 29,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(329.48, -225.18, 58.02, 134.19),
+ motelno = 30,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(331.66, -225.96, 58.02, 156.48),
+ motelno = 31,
+ Active = false,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(334.91, -227.22, 58.02, 186.15),
+ motelno = 32,
+ Active = false,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(337.13, -224.73, 58.02, 260.98),
+ motelno = 33,
+ Active = false,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(339.13, -219.55, 58.02, 265.55),
+ motelno = 34,
+ Active = false,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(340.89, -214.88, 58.02, 267.37),
+ motelno = 35,
+ Active = false,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(342.9, -209.64, 58.02, 248.27),
+ motelno = 36,
+ Active = false,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(344.65, -205.08, 58.02, 243.98),
+ motelno = 37,
+ Active = false,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(346.74, -199.76, 58.02, 227.76),
+ motelno = 38,
+ Active = false,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ },
+ },
+ [2] = {
+ Owner = "",
+ Name = "Baris Motel",
+ Location = "VINEWOOD",
+ Description = "This motel has several reasons for being cheap and used. It has a total of 26 rooms available.",
+ Job = "motel2",
+ Motelid = 2,
+ TotalRooms = 26,
+ ActiveRooms = 16,
+ DamagedRooms = 10,
+ Price = 20000,
+ VIPUpgradeMoney = 50000,
+ MiddleUpgradeMoney = 25000,
+ CompanyMoney = 1000,
+ RentMotel = vector3(961.55, -193.98, 73.21),
+ OpenBossMenu = vector3(200.55, -193.98, 73.21),
+ MotelCamDashboard = vector4(966.35, -190.22, 79.4, 164.43),
+ History = {},
+ Employes = {
+ Name = "",
+ Salary = 0,
+ Rank = 0,
+ Citizenid = "",
+ },
+ Blip = true, -- Enable/Disable Blip
+ BlipSettings = {
+ ID = 475,
+ Scale = 1.0,
+ Color = 29
+ },
+ Rooms = {
+ {
+ Coords = vector4(953.13, -196.52, 73.22, 64.62),
+ motelno = 1,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(950.43, -201.02, 73.21, 81.34),
+ motelno = 2,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(947.47, -205.92, 73.21, 56.98),
+ motelno = 3,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(948.81, -208.99, 73.21, 159.88),
+ motelno = 4,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(951.64, -210.69, 73.21, 157.03),
+ motelno = 5,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(967.44, -205.09, 73.21, 238.72),
+ motelno = 6,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(970.81, -199.68, 73.21, 252.4),
+ motelno = 7,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(950.37, -201.12, 76.26, 58.5),
+ motelno = 8,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(947.62, -205.69, 76.26, 81.71),
+ motelno = 9,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(948.5, -208.81, 76.26, 162.63),
+ motelno = 10,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(951.71, -210.72, 76.26, 168.74),
+ motelno = 11,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(957.74, -214.35, 76.26, 172.43),
+ motelno = 12,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(961.73, -214.56, 76.26, 244.07),
+ motelno = 13,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(964.65, -209.72, 76.26, 257.79),
+ motelno = 14,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(967.43, -205.11, 76.26, 230.56),
+ motelno = 15,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(970.81, -199.51, 76.26, 269.03),
+ motelno = 16,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(953.2, -196.37, 79.3, 63.09),
+ motelno = 17,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(950.49, -200.91, 79.3, 80.88),
+ motelno = 18,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(947.65, -205.65, 79.3, 76.63),
+ motelno = 19,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(948.42, -208.75, 79.3, 156.49),
+ motelno = 20,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(951.76, -210.76, 79.3, 159.61),
+ motelno = 21,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(957.65, -214.3, 79.3, 147.74),
+ motelno = 22,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(961.67, -214.66, 79.3, 247.81),
+ motelno = 23,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(964.5, -209.97, 79.3, 257.29),
+ motelno = 24,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(967.48, -205.03, 79.3, 257.31),
+ motelno = 25,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ {
+ Coords = vector4(970.78, -199.55, 79.3, 246.51),
+ motelno = 26,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "",
+ wall = "",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ OyuncuOdada = false,
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ }
+ },
+}
diff --git a/resources/[housing]/oph3z-motels/config/lang.lua b/resources/[housing]/oph3z-motels/config/lang.lua
new file mode 100644
index 000000000..e36601c33
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/config/lang.lua
@@ -0,0 +1,132 @@
+Config.Lang = {
+ -------------- Motel Rent Screen UI Translate --------------
+
+ ["motel_information"] = "MOTEL ROOMS INFORMATION",
+ ["motel_information_text"] = "Fermentum convallis lacus lectus ut. Posuere augue pellentesque elementum a id sit. Tellus adipiscing diam",
+ ["motel_rooms_header"] = "Motel Rooms",
+ ["vip_rooms_text"] = "VIP Rooms",
+ ["middle_rooms_text"] = "Middle Rooms",
+ ["squatter"] = "Squatter", -- Config.type = "Squatter" ile aynı olmalı
+ ["middle"] = "Middle", -- Config.type = "Middle" ile aynı olmalı
+ ["vip"] = "VIP", -- Config.type = "VIP" ile aynı olmalı
+ ["squatter_rooms_text"] = "Squatter's Rooms",
+ ["total_rooms_text"] = "Total Motel Rooms",
+ ["available_motel_rooms"] = "Available Motel Rooms",
+ ["squatter_rooms_descrip"] = "Squatter's Rooms with normal access",
+ ["middle_rooms_descrip"] = "Middle Rooms with normal access",
+ ["vip_rooms_descrip"] = "One of the best room with VIP access",
+ ["no"] = "NO", -- NO ==> Room Number
+ ["rent"] = "Rent",
+ ["rented"] = "Rented",
+ ["disabled"] = "Disabled",
+ ["room"] = "ROOM",
+ ["exit_text_openmotel"] = "EXIT",
+
+ -------------- Boss Menu UI Translate --------------
+
+ ["motel_information_bossmenu"] = "MOTEL ROOMS INFORMATION",
+ ["motel_information_bossmenu_text"] = "Fermentum convallis lacus lectus ut. Posuere augue pellentesque elementum a id sit. Tellus adipiscing diam",
+ ["exit"] = "EXIT",
+ ["dashboard"] = "Dashboard",
+ ["employee"] = "Employees",
+ ["company"] = "Company",
+ ["nearby_players"] = "Nearby Players",
+ ["motel_care"] = "Motel Care",
+ ["request"] = "Requests",
+ ["pricetext"] = "Price",
+ ["dashboard_second"] = "DASHBOARD",
+ ["total_rooms"] = "TOTAL MOTEL ROOMS",
+ ["available_rooms"] = "AVAILABLE MOTEL ROOMS",
+ ["total_employeeleft"] = "Employees",
+ ["total_employee"] = "TOTAL EMPLOYEES",
+ ["rooms"] = "ROOMS",
+ ["employee_second"] = "EMPLOYEES",
+ ["save"] = "Save",
+ ["motel_sell"] = "Motel Sell",
+ ["transfer_motel"] = "Transfer Motel",
+ ["invite"] = "Invite",
+ ["name"] = "Name:",
+ ["rank"] = "Rank:",
+ ["salary"] = "Salary:",
+ ["rankup"] = "Rank Up/Down:",
+ ["action"] = "Action:",
+ ["employees_invite"] = "EMPLOYEES INVITE",
+ ["company_second"] = "COMPANY",
+ ["company_balance"] = "Company Balance",
+ ["withdraw"] = "WITHDRAW",
+ ["withdraw_second"] = "Withdraw",
+ ["deposit"] = "DEPOSIT",
+ ["deposit_second"] = "Deposit",
+ ["company_history"] = "COMPANY HISTORY",
+ ["deposit_text_description"] = "Money has been added to your account",
+ ["withdraw_text_description"] = "Money has been removed from your account",
+ ["customer_header"] = "CUSTOMERS",
+ ["rented_time"] = "When he/she rented:",
+ ["room_number"] = "Room number:",
+ ["money_to_pay"] = "Money to pay:",
+ ["phone_number"] = "Phone number:",
+ ["nearby_players_header"] = "NEARBY PLAYERS",
+ ["choose_room"] = "Choose a Room",
+ ["select"] = "Select",
+ ["enter_price"] = "Enter a Price",
+ ["enter_day"] = "Enter a Time (Hour)",
+ ["accept"] = "Accept",
+ ["cancel"] = "Cancel",
+ ["decline"] = "Decline",
+ ["motel_care_header"] = "MOTEL CARE",
+ ["motel_roomU"] = "MOTEL ROOM",
+ ["upgrade"] = "Upgrade",
+ ["fix_it"] = "Fix it",
+ ["lvl"] = "Lvl",
+ ["motel_req"] = "Motel Requests",
+ ["type"] = "Type: ",
+ ["theme"] = "Theme: ",
+ ["extras"] = "Extras: ",
+ ["none"] = "None",
+ ["no2"] = "No: ",
+ ["motel_name"] = "Motel Name",
+ ["motel_room_number"] = "Motel Room Number",
+ ["motel_room_time"] = "Motel Room Time",
+ ["motel_room_price"] = "Motel Room Price",
+ ["motel_room_req"] = "invites you to a motel room",
+ ["motel_room_type"] = "Motel Room Type",
+ ["room_invite_text"] = "want to add you friends to a motel room",
+ ["fix_motel_descrip"] = "You want to fix motel room number ?",
+ ["motel_room"] = "Motel Room",
+ ["fix_motel_room_price"] = "Fix Price",
+ ["vip_motel_room"] = "VIP MOTEL ROOM",
+ ["room_upgrade"] = "ROOM UPGRADE",
+ ["choose_style"] = "Choose Style",
+ ["choose_wall"] = "Choose Extra",
+ ["active"] = "Active",
+
+
+
+
+
+
+
+
+ -------------- BUY Motel UI Translate --------------
+ ["activetotalroomstext"] = "Number of active rooms",
+ ["totaltotalroomstext"] = "Total of rooms",
+ ["damagedtotalroomstext"] = "Number of damaged rooms",
+ ["pricetxt"] = "PRICE",
+ ["buy"] = "Buy",
+ ["sold"] = "Sold",
+
+
+
+
+ -------------- Management UI Translate --------------
+ ["managamentheader"] = "Management",
+ ["nearbyplayersh"] = "Nearby Players",
+ ["friendsheader"] = "Friends",
+ ["requestheader"] = "Requests",
+ ["friendstextlower"] = "Add Friend",
+ ["invitetexylower"] = "Invite Friends",
+ ["firendskicktext"] = "Kick",
+ ["managementtimeleft"] = "Deadline:",
+ ["managementsave"] = "Save",
+
+}
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/fxmanifest.lua b/resources/[housing]/oph3z-motels/fxmanifest.lua
new file mode 100644
index 000000000..ae9a4880b
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/fxmanifest.lua
@@ -0,0 +1,36 @@
+fx_version 'cerulean'
+game 'gta5'
+
+description 'FiveM motel script made by Oph3Z & Yusuf'
+discord 'https://discord.gg/Pnq5R4HszK'
+author 'oph3z & yusufkaracolak'
+
+client_scripts {
+ 'client/*.lua',
+}
+
+server_scripts {
+ '@oxmysql/lib/MySQL.lua',
+ 'server/*.lua',
+}
+
+shared_scripts {
+ 'config/config.lua',
+ 'config/config_langue.lua',
+ 'config/lang.lua',
+ 'config/config_motels.lua'
+}
+
+ui_page {
+ 'html/index.html'
+}
+
+files {
+ 'html/style.css',
+ 'html/index.html',
+ 'html/script.js',
+ 'html/img/*.png',
+ 'html/img/*.svg',
+ 'html/img/*.gif'
+}
+lua54 "yes"
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/html/img/Vector.svg b/resources/[housing]/oph3z-motels/html/img/Vector.svg
new file mode 100644
index 000000000..bf8b4e006
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/img/Vector.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/resources/[housing]/oph3z-motels/html/img/black-door.png b/resources/[housing]/oph3z-motels/html/img/black-door.png
new file mode 100644
index 000000000..28bed226f
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/black-door.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/black-squatter.png b/resources/[housing]/oph3z-motels/html/img/black-squatter.png
new file mode 100644
index 000000000..4924125fb
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/black-squatter.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/close.png b/resources/[housing]/oph3z-motels/html/img/close.png
new file mode 100644
index 000000000..3107812af
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/close.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/company-icon.png b/resources/[housing]/oph3z-motels/html/img/company-icon.png
new file mode 100644
index 000000000..ed6bca795
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/company-icon.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/dashboard-icon.png b/resources/[housing]/oph3z-motels/html/img/dashboard-icon.png
new file mode 100644
index 000000000..07d1ade10
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/dashboard-icon.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/door.svg b/resources/[housing]/oph3z-motels/html/img/door.svg
new file mode 100644
index 000000000..cf267866f
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/img/door.svg
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/resources/[housing]/oph3z-motels/html/img/employee-icon.png b/resources/[housing]/oph3z-motels/html/img/employee-icon.png
new file mode 100644
index 000000000..1d1d60393
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/employee-icon.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/gray-vip.png b/resources/[housing]/oph3z-motels/html/img/gray-vip.png
new file mode 100644
index 000000000..c7ee5ef10
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/gray-vip.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/isletme-solback.png b/resources/[housing]/oph3z-motels/html/img/isletme-solback.png
new file mode 100644
index 000000000..8c6e9d133
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/isletme-solback.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/kick.svg b/resources/[housing]/oph3z-motels/html/img/kick.svg
new file mode 100644
index 000000000..207c635da
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/img/kick.svg
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/resources/[housing]/oph3z-motels/html/img/middle.svg b/resources/[housing]/oph3z-motels/html/img/middle.svg
new file mode 100644
index 000000000..1cf7c52e4
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/img/middle.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/resources/[housing]/oph3z-motels/html/img/money-green.png b/resources/[housing]/oph3z-motels/html/img/money-green.png
new file mode 100644
index 000000000..c75f24090
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/money-green.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/money-red.png b/resources/[housing]/oph3z-motels/html/img/money-red.png
new file mode 100644
index 000000000..0c31925a5
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/money-red.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/motel-care-fixit.png b/resources/[housing]/oph3z-motels/html/img/motel-care-fixit.png
new file mode 100644
index 000000000..fde993000
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/motel-care-fixit.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/motelcare-backrooms.png b/resources/[housing]/oph3z-motels/html/img/motelcare-backrooms.png
new file mode 100644
index 000000000..3f9a927ff
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/motelcare-backrooms.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/motelcare-icon.png b/resources/[housing]/oph3z-motels/html/img/motelcare-icon.png
new file mode 100644
index 000000000..dfc4effef
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/motelcare-icon.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/moteldeactive.png b/resources/[housing]/oph3z-motels/html/img/moteldeactive.png
new file mode 100644
index 000000000..bb49e5ba3
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/moteldeactive.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/nearby-icon.png b/resources/[housing]/oph3z-motels/html/img/nearby-icon.png
new file mode 100644
index 000000000..2506636e5
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/nearby-icon.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/pwev.svg b/resources/[housing]/oph3z-motels/html/img/pwev.svg
new file mode 100644
index 000000000..d82b8933a
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/img/pwev.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/resources/[housing]/oph3z-motels/html/img/rankdown.svg b/resources/[housing]/oph3z-motels/html/img/rankdown.svg
new file mode 100644
index 000000000..b6cd6bb2b
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/img/rankdown.svg
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/resources/[housing]/oph3z-motels/html/img/rankup.svg b/resources/[housing]/oph3z-motels/html/img/rankup.svg
new file mode 100644
index 000000000..e7ae5371c
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/img/rankup.svg
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/resources/[housing]/oph3z-motels/html/img/roomsback.png b/resources/[housing]/oph3z-motels/html/img/roomsback.png
new file mode 100644
index 000000000..509a6649e
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/roomsback.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/roomsbackdolu.png b/resources/[housing]/oph3z-motels/html/img/roomsbackdolu.png
new file mode 100644
index 000000000..3ffa9a2e4
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/roomsbackdolu.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/roomsbackm.png b/resources/[housing]/oph3z-motels/html/img/roomsbackm.png
new file mode 100644
index 000000000..636df8051
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/roomsbackm.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/sarili.png b/resources/[housing]/oph3z-motels/html/img/sarili.png
new file mode 100644
index 000000000..3927ee4ae
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/sarili.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/upgradesari.svg b/resources/[housing]/oph3z-motels/html/img/upgradesari.svg
new file mode 100644
index 000000000..1e4bb6e8c
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/img/upgradesari.svg
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/[housing]/oph3z-motels/html/img/upstyle1.png b/resources/[housing]/oph3z-motels/html/img/upstyle1.png
new file mode 100644
index 000000000..4f86429d8
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/upstyle1.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/upwalls.png b/resources/[housing]/oph3z-motels/html/img/upwalls.png
new file mode 100644
index 000000000..4b119a3de
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/upwalls.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/user-icon.png b/resources/[housing]/oph3z-motels/html/img/user-icon.png
new file mode 100644
index 000000000..57e594a32
Binary files /dev/null and b/resources/[housing]/oph3z-motels/html/img/user-icon.png differ
diff --git a/resources/[housing]/oph3z-motels/html/img/vip.svg b/resources/[housing]/oph3z-motels/html/img/vip.svg
new file mode 100644
index 000000000..1ed813e3c
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/img/vip.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/resources/[housing]/oph3z-motels/html/img/zil.svg b/resources/[housing]/oph3z-motels/html/img/zil.svg
new file mode 100644
index 000000000..939625803
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/img/zil.svg
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/resources/[housing]/oph3z-motels/html/index.html b/resources/[housing]/oph3z-motels/html/index.html
new file mode 100644
index 000000000..53c425659
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/index.html
@@ -0,0 +1,732 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ oph3z-motels
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
30 Rooms
+
Total Motel Rooms
+
+
+
+
+
+
+
12 Rooms
+
Available Motel Rooms
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Motel Name
+ Oph3Z Motel
+
+
+
+ Motel Room Number
+ 17 ( VIP )
+
+
+
+ Motel Room Time
+
+
+ 0
+
+
+
+ Motel Room Price
+ ?
+
+
+
+ Accept
+
+
+
+ Cancel
+
+
+
+
BRENDEN RANDALL invites you to rent a motel room
+
+ Motel Name
+ Oph3Z Motel
+
+
+
+ Motel Room Number
+ 17 ( VIP )
+
+
+
+ Motel Room Time
+ 1w 16h
+
+
+
+ Motel Room Price
+ $20.000
+
+
+
+ Accept
+
+
+
+ Cancel
+
+
+
+
+
BRENDEN RANDALL invites you to a motel room
+
+ Motel Room Number
+
+
+
+
+ Motel Type
+
+
+
+
+ Accept
+
+
+
+ Cancel
+
+
+
+
+
BRENDEN RANDALLHe wants to add you friends to a motel room
+
+ Motel Name
+
+
+
+
+ Motel Room Number
+
+
+
+
+ Accept
+
+
+
+ Cancel
+
+
+
+
+
BRENDEN RANDALL He wants to add you friends to a motel room
+
+ Motel Name
+
+
+
+
+
+ Accept
+
+
+
+ Cancel
+
+
+
+
+
+
+
+
+
+
+
Squatter's Rooms
+
+
+
+
+
Middle Rooms
+
+
+
+
VIP Rooms
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ /7
+
+
+
+
+
+ BUY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Nearby Players
+
+
+
+
+
+
+
+
+
+
+
Nearby Players
+
+
+
Brenden Randall
+
Add Friend
+
Invite Friends
+
+
+
+
+
+
+
+
Brenden Randall
+
Kick
+
+
+
+
+ Deadline: 18.05.2023 17:00
+
+ $0
+
+
Save
+
+
+
+
+
+
+
+
Squatter's Rooms
+
+
+
+
+
Middle Rooms
+
+
+
+
VIP Rooms
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/html/script.js b/resources/[housing]/oph3z-motels/html/script.js
new file mode 100644
index 000000000..2a27a86d0
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/script.js
@@ -0,0 +1,2634 @@
+var CurrentMenu = "pwodalar"
+var yarraminbasi = []
+var Test = "pwodalar"
+var middlesectin = false
+var vipsectin = false
+var CurrentMenu2 = null
+var LoadSquatter = null
+var Money = null
+var LoadCustomerMenu = null
+var LoadMiddle = null
+var RoomInvitedata = null
+var LoadNearby = null
+var MotelRoomPrice = 0
+var CurrentMotel = null
+var CurrentNO = null
+var CurrentTime = null
+var CurrentPrice = null
+var CurrentMotelID = 0
+var MotelNameVar = null
+var BuyMotelMenuActive = false
+var BossMenuActive = false
+var ChanceMotelName1 = null
+var search = null
+var depositnumber = 0
+var withdrawnumber = 0
+var CurrentMotel2 = 0
+var MotelCount = 0
+var nearbplayersyprice = 0
+var customersmotelno = null
+var EmployesInvite = false
+var NearbyInvite = false
+var MotelRoomUpHourse = 0
+var FixmenuActive = false
+var UpgradeMenuActive = false
+var hisyoryfalan = []
+var motelstwo = []
+let motels = []
+var GiveMotelSource = 0
+var GiveMotelRoom = 0
+var newprice = 0
+var GiveMotelName = "OrospuÇocuğuAKP"
+var GiveMotelType = "OÇAKP"
+var NearbyPlayersF = 0
+var LoadTwo = null
+var motelfixnumber = null
+var moteltype = null
+var motelupgradenumber = null
+var motelintypiabe = null
+var SuanMiddleOluyorAbe = null
+var SuanVIPOluyorAbe = null
+var middleClickable = false;
+var vipClickable = false;
+var CheckAnan = false
+var MotelManagementFlex = false
+var ChanceStyleRequest = false
+var ManagetmentOdaNo = null
+var ManagetmentMotelNO = null
+var TransferMotelID = null
+var motelupgradeprice = 0
+var SelectedMenu = "management-nearby"
+var ananknkbenimanam = 0
+var regalurl = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png"
+var modernurl = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png"
+var seductiveurl = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png"
+var moodyurl = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png"
+var vibranturl = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png"
+var sharpurl = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png"
+var monochromeurl = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png"
+var aquaurl = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png"
+var translate = []
+
+$(function() {
+ window.addEventListener('message', function(event) {
+ var type = event.data.type
+ var data = event.data
+ if (type === "OpenMotel") {
+ CurrentMotelID = data.motelid
+ MotelNameVar = data.name
+ translate = data.translate
+ OpenMotel(data.data)
+ } else if (type === "OpenBuyMenu") {
+ motels = data.data.motel
+ CurrentMotel2 = 0
+ MotelCount = data.data.motelcount
+ translate = data.translate
+ UpdateMotel()
+ OpenBuyMenu(data.data)
+ } else if (type === "OpenBossMenu") {
+ CurrentMotelID = data.motelid
+ hisyoryfalan = data.data.motel.History
+ GiveMotelName = data.data.motel.Name
+ LoadTwo = data.data
+ translate = data.translate
+ LoadHistory(data.data.motel.History)
+ UpdateBossMenu(data.data)
+ OpenBossMenu(data.data)
+ LoadCustomerMenu(data.data)
+ LoadMotelCare(data.data, data.yarrak)
+ LoadEmployeesMenu(data.data)
+ } else if (type === "LoadPlayers") {
+ LoadEmployeesNearby(data.players)
+ LoadNearbyPlayers(data.players)
+ NearbyFriends(data.players)
+ } else if (type === "SendNearbyRequest") {
+ SendReq(data.data, data.sendername)
+ } else if (type === "SendInviteEmployee") {
+ $(".send-request").css("display", "flex");
+ $(".send-request").html("");
+ $(".send-request").html(`
+ You received a job offer from motel, do you want to accept it?
+ Accept
+ Decline
+ `);
+ } else if (type === "MotelManagement") {
+ translate = data.translate
+ MotelManagement(data)
+ data = requestdata
+ } else if (type === "LoadPlayers1") {
+ RoomInvitedata = data.RoomInvite
+ NearbyFriends(data.RoomInvite)
+ } else if (type === "SendRoomInviteRequest") {
+ translate = data.translate
+ SendRoomInviteReq(data, data.sendernameRoom)
+ } else if (type === "SendRoomFriendsRequest") {
+ translate = data.translate
+ SendRoomFriendsReq(data, data.sendernameRoom)
+ } else if (type === "SendTransferMotelUI") {
+ translate = data.translate
+ SendTransferMotelUI(data, data.sendernameRoom)
+ }
+ })
+
+ $("#motel-time-input").on("input", function() {
+ var time = parseInt($(this).val());
+ var days = Math.floor(time / 24);
+ var hours = time % 24;
+ var price = MotelRoomPrice / 24;
+ $("#motel-price-soru").text(Math.floor(price * time) + "$");
+ CurrentPrice = price * time;
+ CurrentTime = $(this).val();
+ if (days > 0 && hours > 0) {
+ $("#motel-time-input-text").text(days + " D " + hours + "H");
+ } else if (days > 0) {
+ $("#motel-time-input-text").text(days + "D");
+ } else if (hours > 0) {
+ $("#motel-time-input-text").text(hours + "H");
+ } else {
+ $("#motel-time-input-text").text("0");
+ }
+ });
+
+
+
+
+
+ $("#nearby-players-settings-price").on("input", function() {
+ nearbplayersyprice = $(this).val();
+ });
+
+ $(".new-time").on("input", function(){
+ ekmotelhours = $(this).val();
+ var price = Math.floor(MotelRoomUpHourse / 24)
+ ananknkbenimanam = price * ekmotelhours
+ $(".tu-price").text("$" + PE3D(price * ekmotelhours) )
+
+ })
+
+ $("#nearby-players-settings-time").on("input", function() {
+ var time = $(this).val();
+ var days = Math.floor(time / 24);
+ var hours = time % 24;
+ NearbyCurrentTime = $(this).val()
+
+ });
+
+ $("#w-amount").on("input", function() {
+ withdrawnumber = $(this).val();
+ });
+
+ $("#d-amount").on("input", function() {
+ depositnumber = $(this).val();
+ });
+
+ $("#chancemotelname").on("input", function() {
+ ChanceMotelName1 = $(this).val()
+ });
+
+ $("#transfermotelid").on("input", function() {
+ TransferMotelID = $(this).val()
+ });
+
+ $(".motel-satinalma-solbtn").click(function() {
+ if (CurrentMotel2 > 0) {
+ CurrentMotel2--;
+ UpdateMotel();
+ }
+ $.post('https://oph3z-motels/MotelNoCekme', JSON.stringify({
+ motelno: CurrentMotel2 + 1,
+ }))
+ })
+
+ $("#w-submit").click(function() {
+ $.post('https://oph3z-motels/CompanyMoney', JSON.stringify({
+ Money: withdrawnumber,
+ motelno: CurrentMotel2 + 1,
+ Parayatirma: false
+ }))
+ withdrawnumber = null
+ $("#w-amount").val("")
+ })
+
+ $("#d-submit").click(function() {
+ $.post('https://oph3z-motels/CompanyMoney', JSON.stringify({
+ Money: depositnumber,
+ motelno: CurrentMotel2 + 1,
+ Parayatirma: true
+ }))
+ $("#d-amount").val("")
+ depositnumber = null
+ })
+
+
+ $(".motel-satinalma-sagbtn").click(function() {
+ if (CurrentMotel2 < motels.length - 1) {
+ CurrentMotel2++;
+ UpdateMotel();
+ }
+ $.post('https://oph3z-motels/MotelNoCekme', JSON.stringify({
+ motelno: CurrentMotel2 + 1,
+ }))
+ })
+
+ function UpdateMotel() {
+ if (motels[CurrentMotel2].Owner == "") {
+ $("#motel-satinalma-buybtn-txt").css("cursor", "pointer");
+ $("#motel-satinalma-buybtn-txt").html(translate["buy"])
+
+ } else {
+ $(".motel-satinalma-buybtn").css("background", "linear-gradient(90.43deg, rgba(230, 230, 230, 0.3) 0.28%, rgba(170, 170, 170, 0.3) 103.35%)")
+ $(".motel-satinalma-buybtn").css("border-color", "rgba(255, 255, 255, 0.45)")
+ $("#motel-satinalma-buybtn-txt").css("cursor", "not-allowed");
+ $("#motel-satinalma-buybtn-txt").html(translate["sold"])
+ }
+ $("#motel-satinalma-bakilannumber").html(CurrentMotel2 + 1)
+ $("#motel-satinalma-totalnumber").html("/" + MotelCount)
+ $("#isletme-motelname").html(motels[CurrentMotel2].Name)
+ $("#isletme-motelkonum").html(motels[CurrentMotel2].Location)
+ $("#isletme-motelaciklama").html(motels[CurrentMotel2].Description)
+ $("#active-motelrooms-number").html(motels[CurrentMotel2].ActiveRooms)
+ $("#active-motelrooms").html(translate["activetotalroomstext"])
+ $("#total-motelrooms-number").html(motels[CurrentMotel2].TotalRooms)
+ $("#active-motelrooms").html(translate["totaltotalroomstext"])
+ $("#damaged-motelrooms-number").html(motels[CurrentMotel2].DamagedRooms)
+ $("#active-motelrooms").html(translate["damagedtotalroomstext"])
+ $("#isletme-price-txt").html(translate["pricetxt"])
+ $("#isletme-price").html("$ " + PE3D(motels[CurrentMotel2].Price))
+
+ }
+
+ function UpdateBossMenu(data) {
+ $("#motelkonumbosmenmu").html(data.motel.Location)
+ $("#moteisim").html(data.motel.Name)
+ $(".aciklama > span").html(data.motel.Description)
+ $(".d-total-rooms > p").html(data.motel.Rooms.length + " " + translate["rooms"])
+ $(".d-active-rooms > p").html(data.motel.ActiveRooms + " " + translate["rooms"])
+ $(".total-customers > p ").html(data.motel.Employes.length + " " + translate["employee_second"])
+ $(".c-dashboard > p").html("$" + data.motel.CompanyMoney)
+ }
+
+ $(".motel-satinalma-buybtn").click(function() {
+ $.post('https://oph3z-motels/CurrentMotelBuy', JSON.stringify({
+ motel: CurrentMotel2 + 1,
+ price: motels[CurrentMotel2].Price
+ }))
+ $(".motel-satinalma-buybtn").css("background", "linear-gradient(90.43deg, rgba(230, 230, 230, 0.3) 0.28%, rgba(170, 170, 170, 0.3) 103.35%)")
+ $(".motel-satinalma-buybtn").css("border-color", "rgba(255, 255, 255, 0.45)")
+ $("#motel-satinalma-buybtn-txt").css("cursor", "not-allowed");
+ $("#motel-satinalma-buybtn-txt").html("Sold")
+ })
+
+ $("#search-customers").on('keyup', function() {
+ var search = $(this).val().toLowerCase()
+ if (search != '') {
+ $('.c-list-body > div').hide();
+ $('.c-list-body > div').each(function(){
+ var nameValue = $(this).find('#c-c-l-name').text().toLowerCase()
+ if(nameValue.indexOf(search) !== -1){
+ $(this).show();
+ }
+ });
+ } else {
+ $('.c-list-body > div').show();
+ }
+ })
+
+})
+
+OpenBuyMenu = function(data) {
+ $(".motel-isletme-satin-alma-ekrani").css("display", "flex");
+ BuyMotelMenuActive = true
+ $.post('https://oph3z-motels/MotelNoCekme', JSON.stringify({
+ motelno: CurrentMotel2 + 1,
+ }))
+}
+
+OpenMotel = function(data) {
+ $("#motelinformation").html(translate["motel_information"])
+ $("#mi-description").html(translate["motel_information_text"])
+ $("#motel-rooms-header").html(translate["motel_rooms_header"])
+ $(".anan3").html(translate["vip_rooms_text"])
+ $(".anan2").html(translate["middle_rooms_text"])
+ $("#ananlar").html(translate["squatter_rooms_text"])
+ $("#total-motel-rooms").html(translate["total_rooms_text"])
+ $("#availablemotelrooms").html(translate["available_motel_rooms"])
+ $("#exit-text-openmenu").html(translate["exit_text_openmotel"])
+
+ $(".rent-motel-rooms").css("display", "flex");
+ $("#motelname").html(data.name)
+ $("#motelkonum").html(data.location)
+ $(".aciklama > span").html(data.description)
+ $("#activeroomsnumberfalan").html(data.activeRooms + " Rooms")
+ $("#totalroomsnumberfalan").html(data.totalRooms + " Rooms")
+ LoadSquatter = data.motel.Rooms
+ LoadMiddle = data.motel.Rooms
+ LoadVIP = data.motel.Rooms
+ MotelNameVar = data.name
+ if (Test === "pwodalar") {
+ $(".pwodalari").addClass("badroomclick")
+ $(".pwodalar").find(".anan").addClass("badroomclick2")
+ $("#squatterimg").attr("src", "./img/black-squatter.png")
+ LoadSquatterRooms(data.motel.Rooms, data.name);
+ } else if (Test === "middle") {
+ $(".middlerooms").addClass("middleroomclick")
+ $(".middlerooms-img-text").find(".anan2").addClass("middleroomclick2")
+ $("#middleimg").attr("src", "./img/black-door.png")
+ LoadMiddleRooms(LoadMiddle, MotelNameVar)
+ } else if (Test === "vip") {
+ $(".viprooms").addClass("viproomclick")
+ $(".viprooms-img-text").find(".anan3").addClass("viproomclick2")
+ $("#vipimg").attr("src", "./img/vip.svg")
+ LoadVIPRooms(LoadVIP, MotelNameVar)
+ }
+}
+
+SendReq = function(data, seconddata) {
+ var time = data.time;
+ var days = Math.floor(time / 24);
+ var hours = time % 24;
+ if (days > 0 && hours > 0) {
+ $("#motel-time").html(days + " D " + hours + " H");
+ } else if (days > 0) {
+ $("#motel-time").html(days + " D");
+ } else if (hours > 0) {
+ $("#motel-time").html(hours + " H");
+ } else {
+ $("#motel-time").html("0");
+ }
+
+ $(".send-room-invite").css("display", "flex")
+ $(".sri-text").html(` ${seconddata.firstname + " " + seconddata.lastname} invites you to rent a motel room `)
+ $("#motel-name").html(data.motelname)
+ $("#motel-room").html(data.room + " " + " (" + data.roomtype + ")")
+ $("#motel-price").html("$" + PE3D(data.price))
+ GiveMotelRoom = data.room
+ nearbplayersyprice = data.price
+ NearbyCurrentTime = data.time
+ CurrentMotelID = data.motelid
+ senderId = seconddata.source
+}
+var davetmotelid = null
+var davetmotelroom = null
+
+
+$(document).on("click", "#acceptreqq", function() {
+ $.post('https://oph3z-motels/NearbyAccept', JSON.stringify({
+ room: GiveMotelRoom,
+ price: nearbplayersyprice,
+ time: NearbyCurrentTime,
+ motelid: CurrentMotelID,
+ senderid: senderId
+ }));
+ $(".send-room-invite").css("display", "none")
+ $(".sri-text").html("")
+ $("#motel-name").html("")
+ $("#motel-room").html("")
+ $("#motel-time").html("")
+ $("#motel-price").html("")
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}));
+})
+
+$(document).on("click", "#closereq", function() {
+ $(".send-room-invite").css("display", "none")
+ $(".sri-text").html("")
+ $("#motel-name").html("")
+ $("#motel-room").html("")
+ $("#motel-time").html("")
+ $("#motel-price").html("")
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}));
+})
+
+var requesttable = null
+var motelinidsiknkistebu = null
+
+OpenBossMenu = function(data) {
+ $(".bossmenu").css("display", "flex");
+ BossMenuActive = true
+ $(".dashboardmenu").css("display", "flex");
+ $("#openbossmenuactiverooms").html(data.ActiveTotalRooms + " ROOMS")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".motel-care-menu-request").css("display", "none")
+ $(".dashboard ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ motelstwo = data.rooms
+ requesttable = data.requestdata
+ motelinidsiknkistebu = data.name
+ LoadHistory(data.motel.History)
+ $(".employee-invite").css("display", "none");
+
+ $("#bossmenu-motel-information").html(translate["motel_information_bossmenu"])
+ $("#bossmenu-motel-information-text").html(translate["motel_information_bossmenu_text"])
+ $("#exit-text").html(translate["exit"])
+ $("#dashboard-text").html(translate["dashboard"])
+ $("#employee-text").html(translate["employee"])
+ $("#company-text").html(translate["company"])
+ $("#customer-text").html(translate["customer"])
+ $("#nb-text").html(translate["nearby_players"])
+ $("#mc-text").html(translate["motel_care"])
+ $("#request-text").html(translate["request"])
+ $("#d-title").html(translate["dashboard_second"])
+ $("#total-motel-rooms-text").html(translate["total_rooms"])
+ $("#available-motel-rooms-text").html(translate["available_rooms"])
+ $("#employee-text").html(translate["total_employee"])
+ $("#employee-textleft").html(translate["total_employeeleft"])
+ $("#save-text").html(translate["save"])
+ $("#motel-sell-text").html(translate["motel_sell"])
+ $("#transfer-motel-text").html(translate["transfer_motel"])
+ $("#e-title").html(translate["employee_second"])
+ $("#invite-text").html(translate["invite"])
+ $("#e-name").html(translate["name"])
+ $("#e-rank").html(translate["rank"])
+ $("#e-salary").html(translate["salary"])
+ $("#e-rankud").html(translate["rankup"])
+ $("#e-action").html(translate["action"])
+ $("#employees_invite").html(translate["employees_invite"])
+ $(".companyfalanbarisoropsu").html(translate["company_second"])
+ $("#company-balance-text").html(translate["company_balance"])
+ $("#w-text").html(translate["withdraw"])
+ $("#w-submit").html(translate["withdraw_second"])
+ $("#d-text").html(translate["deposit"])
+ $("#d-submit").html(translate["deposit_second"])
+ $("#c-text").html(translate["company_history"])
+ $("#c-title").html(translate["customer_header"])
+ $("#c-name").html(translate["name"])
+ $("#c-rank").html(translate["rented_time"])
+ $("#c-salary").html(translate["room_number"])
+ $("#c-rankud").html(translate["money_to_pay"])
+ $("#c-phonenumber").html(translate["phone_number"])
+ $("#c-action").html(translate["action"])
+ $("#n-title").html(translate["nearby_players_header"])
+ $("#n-name").html(translate["name"])
+ $("#n-action").html(translate["action"])
+ $(".nis-name-text").html(translate["name"])
+ $(".nis-chooseroom").html(translate["choose_room"])
+ $(".nis-select").html(translate["select"])
+ $(".enterprice").html(translate["enter_price"])
+ $(".enterday").html(translate["enter_day"])
+ $("#accept-text").html(translate["accept"])
+ $("#cancel-text").html(translate["cancel"])
+ $("#motel-care-header2").html(translate["motel_care_header"])
+ $("#motel-request-text2").html(translate["motel_req"])
+
+ if (CurrentMenu == "dashboard") {
+ $(".dashboard ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "block")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $("#openbossmenuactiverooms").html(data.ActiveTotalRooms + " ROOMS")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".motel-care-menu-request").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ } else if (CurrentMenu == "employees") {
+ $(".employees ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "block")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".motel-care-menu-request").css("display", "none")
+ } else if (CurrentMenu == "company") {
+ $(".company ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "block")
+
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".motel-care-menu-request").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ LoadHistory(data.motel.History);
+ } else if (CurrentMenu == "customer") {
+ $(".customer ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "block")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".motel-care-menu-request").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ LoadCustomerMenu(LoadTwo)
+ } else if (CurrentMenu == "nearby-players") {
+ $(".nearby-players ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "block")
+ $(".motel-care-menu").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $(".motel-care-menu-request").css("display", "none")
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ // $.post('https://oph3z-motels/NerabyPlayers', JSON.stringify({}));
+ } else if (CurrentMenu == "motelcare") {
+ $(".motelcare ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "block")
+ $(".motel-care-menu-request").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ } else if (CurrentMenu == "motelcare2") {
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".motel-care-menu-request").css("display", "flex")
+ $(".employee-invite").css("display", "none");
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ LoadRequest(requesttable)
+ }
+}
+
+LoadRequest = function (data) {
+ $(".request-list").html("");
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+ if (element !== null) {
+ let html = "";
+ let backgroundImage = "";
+
+ if (element.theme == "regal") {
+ backgroundImage = regalurl;
+ }
+ if (element.theme == "modern") {
+ backgroundImage = modernurl;
+ }
+ if (element.theme == "seductive") {
+ backgroundImage = seductiveurl;
+ }
+ if (element.theme == "moody") {
+ backgroundImage = moodyurl;
+ }
+ if (element.theme == "vibrant") {
+ backgroundImage = vibranturl;
+ }
+ if (element.theme == "sharp") {
+ backgroundImage = sharpurl;
+ }
+ if (element.theme == "monochrome") {
+ backgroundImage = monochromeurl;
+ }
+ if (element.theme == "aqua") {
+ backgroundImage = aquaurl;
+ }
+
+ html = `
+
+
+
+
+
${translate["type"]} ${element.type} -- ${translate["pricetext"]} $${element.roomprice} -- ${translate["theme"]} ${element.theme} -- ${translate["extras"]} `;
+
+ if (element.extra !== undefined && element.extra.length > 0) {
+ for (let i = 0; i < element.extra.length; i++) {
+ html += element.extra[i];
+ if (i !== element.extra.length - 1) {
+ html += ", ";
+ }
+ }
+ } else {
+ html += `${translate["none"]}`;
+ }
+
+ html += `
+
${translate["accept"]}
+
${translate["decline"]}
+
+ `;
+ $(".request-list").append(html);
+ }
+ }
+}
+
+$(document).on("click", ".r-accept", function() {
+ $.post('https://oph3z-motels/AcceptRequste', JSON.stringify({
+ motelid: CurrentMotelID,
+ roomno: $(this).attr("motelno"),
+ roomtheme: $(this).attr("roomtheme"),
+ roomextra: $(this).attr("roomextra"),
+ roomtype: $(this).attr("roomtype"),
+ price: $(this).attr("roomprice"),
+ owner: $(this).attr("roomowner")
+ }))
+})
+
+$(document).on("click", ".r-decline", function () {
+ $.post('https://oph3z-motels/CancelRequest', JSON.stringify({
+ motelid: CurrentMotelID,
+ roomno: $(this).attr("motelno"),
+ price: $(this).attr("roomprice"),
+ owner: $(this).attr("roomowner")
+ }))
+})
+
+$(document).on("click", "#dashboardsavesel", function() {
+
+ $.post('https://oph3z-motels/SellMotel', JSON.stringify({
+ motelid: CurrentMotelID,
+ }))
+ BossMenuActive = false
+ $(".bossmenu").css("display", "none");
+ $(".employee-invite").css("display", "none");
+ $("#player-salary").css("z-index", "999999999")
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ $.post('https://oph3z-motels/CloseUIBoosmenu', JSON.stringify({}))
+})
+
+$(document).on("click", "#dashboardsavetransfer", function() {
+ if (TransferMotelID == null) {
+ return;
+ } else {
+ $.post('https://oph3z-motels/MotelTransferRequest', JSON.stringify({
+ motelid: CurrentMotelID,
+ playerid: TransferMotelID,
+ motelname : motelinidsiknkistebu
+ }))
+ BossMenuActive = false
+ $(".bossmenu").css("display", "none");
+ $(".employee-invite").css("display", "none");
+ $("#player-salary").css("z-index", "999999999")
+
+ $.post('https://oph3z-motels/CloseUIBoosmenu', JSON.stringify({}))
+}
+})
+
+var RankLabel = "";
+
+LoadEmployeesMenu = function(data) {
+ $(".e-list-body").html("");
+ for (let index = 0; index < data.employees.length; index++) {
+ const element = data.employees[index];
+ if (element.Rank == 2) {
+ RankLabel = "Sale Manager";
+ } else if (element.Rank == 1) {
+ RankLabel = "Employee";
+ }
+
+ let html = "";
+
+ if (element.Name == "") {} else {
+ html = `
+
+
${element.Name}
+
${RankLabel + - +element.Rank}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ `;
+ }
+ $(".e-list-body").append(html);
+ }
+
+
+ $(".e-employees-list:nth-child(odd)").css("background", "rgba(255, 255, 255, 0.04)")
+ $(".e-employees-list:nth-child(even)").css("background", "rgba(255, 255, 255, 0.02)")
+
+ $(".player-salaryinput").on("input", function() {
+ newprice = $(this).val();
+ });
+
+ $("#accept-salary").click(function() {
+ let EplayerName = $(this).parent().find("#e-e-l-name").text();
+ $.post('https://oph3z-motels/ChangeSalary', JSON.stringify({
+ salary: newprice,
+ employeName: EplayerName,
+ motelno: CurrentMotelID,
+ }));
+ });
+}
+
+
+LoadNearby = function(data) {
+ $(".n-list-body").html("");
+ for (let index = 0; index < data.players.length; index++) {
+ const element = data.players[index];
+ let html = "";
+ if (element.Name == "") {} else {
+ html = `
+
+
${element.Name}
+ ${element.Distance}
+ Invite
+
+ `;
+ }
+ $(".n-list-body").append(html);
+ }
+}
+
+LoadCustomerMenu = function(owner) {
+ $(".c-list-body").html("");
+ for (let index = 0; index < owner.rooms.length; index++) {
+ const element = owner.rooms[index];
+
+ let html = "";
+ if (element.Owner.Name == "") {} else {
+ html = `
+
+
${element.Owner.Name + " " + element.Owner.Lastname}
+
${element.Owner.Date}
+
${element.motelno + " " + "(" + element.type + ")"}
+
${"$" +element.Owner.MyMoney}
+
${element.Owner.PhoneNumber}
+
+
+
+
`
+ }
+ $(".c-list-body").append(html);
+ }
+
+ $(".c-customers-list:nth-child(odd)").css("background", "rgba(255, 255, 255, 0.04)")
+ $(".c-customers-list:nth-child(even)").css("background", "rgba(255, 255, 255, 0.02)")
+}
+
+$(document).on("click", ".c-action-icon", function() {
+ $.post('https://oph3z-motels/KickCustomer', JSON.stringify({
+ motelno: CurrentMotelID,
+ motelroomnumber: $(this).parent().find("#c-c-l-room").html().split(" ")[0],
+
+ }))
+})
+
+$(document).on("click", ".action-icon", function() {
+ $.post('https://oph3z-motels/KickEmployee', JSON.stringify({
+ motelno: CurrentMotelID,
+ employeName: $(this).parent().find("#e-e-l-name").html(),
+ }))
+})
+
+$(document).on("click", ".rankup-icon", function() {
+ $.post('https://oph3z-motels/RankUp', JSON.stringify({
+ motelno: CurrentMotelID,
+ employeName: $(this).parent().find("#e-e-l-name").html(),
+ }))
+})
+
+$(document).on("click", ".rankdown-icon", function() {
+ $.post('https://oph3z-motels/RankDown', JSON.stringify({
+ motelno: CurrentMotelID,
+ employeName: $(this).parent().find("#e-e-l-name").html(),
+
+ }))
+})
+
+$(document).on("click", ".e-invitebtn", function() {
+ $.post('https://oph3z-motels/NerabyPlayers', JSON.stringify({
+ employees: true,
+ }));
+ $(".employee-invite").css("display", "flex")
+ $("#player-salary").css("z-index", "1")
+ EmployesInvite = true
+ BossMenuActive = false
+})
+
+$(document).on("click", ".motel-care-fixit-button", function() {
+ moteltype = $(this).parent().find(".motel-care-room-header").html().split(" ")[0]
+ motelfixnumber = $(this).parent().find(".motel-core-fixit-no").html().split(" ")[0]
+ if (moteltype == translate["vip"]) {
+ $("#fixmenu-motel-price").html("$5.000")
+ } else if (moteltype == translate["middle"]) {
+ $("#fixmenu-motel-price").html("$3.000")
+ } else if (moteltype == translate["squatter"]) {
+ $("#fixmenu-motel-price").html("$2.000")
+ }
+ $(".fix-room-menu").css("display", "flex")
+ $(".fixmenu-sri-text").html(translate["fix_motel_descrip"])
+ $(".fixmenu-motelroom").html(translate["motel_room"])
+ $(".fixmenu-motelprice").html(translate["fix_motel_room_price"])
+ $("#fixmenu-motel-room").html(motelfixnumber)
+ $(".sri-accept > span").html(translate["accept"])
+ $(".sri-decline > span").html(translate["cancel"])
+ FixmenuActive = true
+ BossMenuActive = false
+})
+
+$(document).on("click", ".sri-accept", function() {
+ $.post('https://oph3z-motels/RepairRoom', JSON.stringify({
+ motelid: CurrentMotelID,
+ motelroomnumber: $("#fixmenu-motel-room").html(),
+ motelfixprice: $("#fixmenu-motel-price").html(),
+ }))
+ $(".fix-room-menu").css("display", "none")
+ FixmenuActive = false
+ BossMenuActive = true
+})
+
+$(document).on("click", ".sri-decline", function() {
+ $(".fix-room-menu").css("display", "none")
+ FixmenuActive = false
+ BossMenuActive = true
+})
+
+var motelroomupgradepricevip = 0
+var motelroomupgradepricemiddle = 0
+
+$(document).on("click", ".motel-care-upgrade-button", function() {
+ motelroomupgradepricevip = $(this).attr("vipupgradeprice")
+ motelroomupgradepricemiddle = $(this).attr("middleupgradeprice")
+ motelintypiabe = $(this).attr("moteltype")
+ motelupgradenumber = $(this).parent().find(".motel-core-oda-no").html().split(" ")[0]
+ abc = yarraminbasi[motelupgradenumber]
+ JSStyle(abc)
+ $(".chancestyle-motelrooms").css("display", "flex")
+ $("#squattertextiste").html(translate["squatter_rooms_text"])
+ $("#falanlarhehe2").html(translate["middle_rooms_text"])
+ $("#falanlarhehe1").html(translate["vip_rooms_text"])
+ $("#upgrademenu-no-text").html(translate["no"])
+ $("#upgrademenu-motelname").html(translate["vip_motel_room"])
+ $("#upgrademenu-title").html(translate["room_upgrade"])
+ $("#upgrademenu-title2").html(translate["choose_style"])
+ $("#upgrademenu-title3").html(translate["choose_wall"])
+ $("#up-menu-cancel-txt").html(translate["cancel"])
+ $("#upgrademenu-motelname").html(motelintypiabe.toUpperCase() + " " + translate["motel_roomU"])
+
+
+ $("#upgrademenu-no-number").html(motelupgradenumber)
+ if (motelintypiabe === translate["vip"]) {
+ $("#squatterimgupgrade").attr("src", "./img/black-squatter.png")
+ $(".badrooms-upgrade").css("background", "linear-gradient(0deg, rgba(205, 76, 76, 0.473), rgba(205, 76, 76, 0.2)), rgba(255, 255, 255, 0.08)")
+ $(".badrooms-upgrade > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".badrooms-upgrade").css("cursor", "not-allowed")
+ $("#middleimgprade").attr("src", "./img/black-door.png")
+ $(".middlerooms-upgrade").css("background", "linear-gradient(0deg, rgba(205, 76, 76, 0.473), rgba(205, 76, 76, 0.2)), rgba(255, 255, 255, 0.08)")
+ $(".middlerooms-upgrade > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".middlerooms-upgrade").css("cursor", "not-allowed")
+ $("#vipimgupgrade").attr("src", "./img/gray-vip.png");
+ $(".viprooms-upgrade").css("background", "linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%)")
+ $(".viprooms-upgrade > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".viprooms-upgrade").css("cursor", "not-allowed")
+ BadUpClick(false);
+ MiddleUpClick(false);
+ VIPUpClick(false);
+ } else if (motelintypiabe === translate["middle"]) {
+ $("#squatterimgupgrade").attr("src", "./img/black-squatter.png")
+ $(".badrooms-upgrade").css("background", "linear-gradient(0deg, rgba(205, 76, 76, 0.473), rgba(205, 76, 76, 0.2)), rgba(255, 255, 255, 0.08)")
+ $(".badrooms-upgrade > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".badrooms-upgrade").css("cursor", "not-allowed")
+ $("#middleimgprade").attr("src", "./img/black-door.png")
+ $(".middlerooms-upgrade").css("background", "linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%)")
+ $(".middlerooms-upgrade > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".middlerooms-upgrade").css("cursor", "not-allowed")
+ BadUpClick(false);
+ MiddleUpClick(false);
+ VIPUpClick(true);
+ } else if (motelintypiabe === translate["squatter"]) {
+ $("#squatterimgupgrade").attr("src", "./img/black-squatter.png")
+ $(".badrooms-upgrade").css("background", "linear-gradient(0deg, rgba(205, 76, 76, 0.473), rgba(205, 76, 76, 0.2)), rgba(255, 255, 255, 0.08)")
+ $(".badrooms-upgrade > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".badrooms-upgrade").css("cursor", "not-allowed")
+ BadUpClick(false);
+ MiddleUpClick(true);
+ VIPUpClick(true);
+ }
+ UpgradeMenuActive = true
+ $("#up-menu-save-txt").html("$0");
+ motelupgradeprice = 0
+ BossMenuActive = false
+})
+
+
+
+LoadSquatterRooms = function(data, motelname) {
+ $(".roomsbar").css("display", "block")
+ $(".roomsbar").html("");
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+ let html = "";
+ if (element.Rent == false && element.Active == true && element.type === translate["squatter"]) {
+ html = `
+
+
+
${translate["no"]}
+
+ ${element.motelno}
+
+
+
${translate["squatter_rooms_descrip"]}
+
+ ${translate["rent"]}
+
+
+ `
+ } else if (element.Rent == true && element.Active == true && element.type === translate["squatter"]) {
+ html = `
+
+
+
${translate["no"]}
+
+ ${element.motelno}
+
+
+
${translate["squatter_rooms_descrip"]}
+
+ ${translate["rented"]}
+
+
+ `
+ } else if (element.Active == false && element.Rent == false && element.type === translate["squatter"]) {
+ html = `
+
+
+
${translate["no"]}
+
+ ${element.motelno}
+
+
+
${translate["squatter_rooms_descrip"]}
+
+ ${translate["disabled"]}
+
+
+ `
+ }
+ $(".roomsbar").append(html);
+ }
+}
+
+LoadMiddleRooms = function(data, motelname) {
+ $(".roomsbar2").css("display", "block")
+ $(".roomsbar2").html("");
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+ let html = "";
+ if (element.Rent == false && element.Active == true && element.type === translate["middle"]) {
+ html = `
+
+
+
${translate["no"]}
+
+ ${element.motelno}
+
+
+
${translate["middle_rooms_descrip"]}
+
+ ${translate["rent"]}
+
+
+ `
+ } else if (element.Rent == true && element.Active == true && element.type === translate["middle"]) {
+ html = `
+
+
+
${translate["no"]}
+
+ ${element.motelno}
+
+
+
${translate["middle_rooms_descrip"]}
+
+ ${translate["rented"]}
+
+
+ `
+ } else if (element.Active == false && element.Rent == false && element.type === translate["middle"]) {
+ html = `
+
+
+
${translate["no"]}
+
${element.motelno}
+
+
${translate["middle_rooms_descrip"]}
+
+ ${translate["disabled"]}
+
+
+ `
+ }
+ $(".roomsbar2").append(html);
+ }
+}
+
+LoadMotelCare = function(data, yarrak) {
+ $(".motel-care-room-list").html("");
+ for (let index = 0; index < data.motel.Rooms.length; index++) {
+ const element = data.motel.Rooms[index];
+ let html = "";
+ let oph3z = "";
+ var motellevel = 0;
+ if (element.type === translate["squatter"]) {
+ motellevel = 1;
+ oph3z = translate["squatter_rooms_descrip"]
+ } else if (element.type === translate["middle"]) {
+ motellevel = 2;
+ oph3z = translate["middle_rooms_descrip"]
+ } else if (element.type === translate["vip"]) {
+ motellevel = 3;
+ oph3z = translate["vip_rooms_descrip"]
+ }
+ yarraminbasi[element.motelno] = yarrak[element.motelno-1]
+ if (element.Active == true) {
+ html = `
+
+
+
+
${oph3z}
+
${translate["no"]}
+
${element.motelno}
+
${translate["lvl"]}
+
${motellevel}
+
+ ${translate["upgrade"]}
+
+
+ `
+ } else if (element.Active == false) {
+ html = `
+
+
+
+
${oph3z}
+
${translate["no"]}
+
${element.motelno}
+
+ ${translate["fix_it"]}
+
+
+
+ `
+ }
+ $(".motel-care-room-list").append(html);
+ }
+}
+
+LoadVIPRooms = function(data, motelname) {
+ $(".roomsbar3").css("display", "block")
+ $(".roomsbar3").html("");
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+ let html = "";
+ if (element.Rent == false && element.Active == true && element.type === translate["vip"]) {
+ html = `
+
+
+
${translate["no"]}
+
+ ${element.motelno}
+
+
+
${translate["vip_rooms_descrip"]}
+
+ ${translate["rent"]}
+
+
+ `
+ } else if (element.Rent == true && element.Active == true && element.type === translate["vip"]) {
+ html = `
+
+
+
${translate["no"]}
+
+ ${element.motelno}
+
+
+
${translate["vip_rooms_descrip"]}
+
+ ${translate["rented"]}
+
+
+ `
+ } else if (element.Active == false && element.Rent == false && element.type === translate["vip"]) {
+ html = `
+
+
+
${translate["no"]}
+
${element.motelno}
+
+
${translate["vip_rooms_descrip"]}
+
+ ${translate["disabled"]}
+
+
+ `
+ }
+ $(".roomsbar3").append(html);
+ }
+}
+
+$(document).on("click", "#left-menu-item", function() {
+
+ CurrentMenu = $(this).attr("class")
+ if (CurrentMenu == "dashboard") {
+ $(".dashboard ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "block")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $("#player-salary").css("z-index", "999999999")
+ $(".motel-care-menu-request").css("display", "none")
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ } else if (CurrentMenu == "employees") {
+ $(".employees ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "block")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".motel-care-menu-request").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $("#player-salary").css("z-index", "999999999")
+ // $.post('https://oph3z-motels/NerabyPlayersE', JSON.stringify({}));
+ } else if (CurrentMenu == "company") {
+ $(".company ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "block")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $(".motel-care-menu-request").css("display", "none")
+ $("#player-salary").css("z-index", "999999999")
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ LoadHistory(hisyoryfalan)
+ } else if (CurrentMenu == "customer") {
+ $(".customer ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "block")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $(".motel-care-menu-request").css("display", "none")
+ $("#player-salary").css("z-index", "999999999")
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ LoadCustomerMenu(LoadTwo)
+ } else if (CurrentMenu == "nearby-players") {
+ $(".nearby-players ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "block")
+ $(".motel-care-menu").css("display", "none")
+ $(".employee-invite").css("display", "none");
+ $(".motel-care-menu-request").css("display", "none")
+ $("#player-salary").css("z-index", "999999999")
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ $.post('https://oph3z-motels/NerabyPlayers', JSON.stringify({}));
+ } else if (CurrentMenu == "motelcare") {
+ $(".motelcare ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "block")
+ $(".employee-invite").css("display", "none");
+ $(".motel-care-menu-request").css("display", "none")
+ $("#player-salary").css("z-index", "999999999")
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ } else if (CurrentMenu == "motelcare2") {
+ $(".motelcare2 ").css("background", "linear-gradient(90deg, #0190FF 0.38%, rgba(1, 144, 255, 0) 100%)")
+ $(".motelcare ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboard ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".employees ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".company ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".customer ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".nearby-players ").css("background", "linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%)")
+ $(".dashboardmenu").css("display", "none")
+ $(".employeesmenu").css("display", "none")
+ $(".companymenu").css("display", "none")
+ $(".customersmenu").css("display", "none")
+ $(".nearby-players-cat").css("display", "none")
+ $(".motel-care-menu").css("display", "none")
+ $(".motel-care-menu-request").css("display", "flex")
+ $(".employee-invite").css("display", "none");
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ LoadRequest(requesttable)
+ }
+})
+
+$(document).on("click", ".nis-rooms-list", function() {
+ var test = $(this).attr("checkquality")
+ var test2 = $(this).attr("chechRent")
+ if (test == "false" || test2 == "true") {
+ $(".nis-rooms-list").removeClass("nis-active")
+ $(".nis-rooms-list > span").css("color", "rgba(255, 255, 255, 0.6)")
+ $(this).addClass("nis-active")
+ $(this).children("span").css("color", "black")
+ GiveMotelRoom = $(this).attr("currentroom")
+ GiveMotelType = $(this).attr("currentroomtype")
+ }
+})
+
+$(document).on("click", ".npc-accept", function() {
+ $.post('https://oph3z-motels/NearbyRequest', JSON.stringify({
+ room: GiveMotelRoom,
+ playersource: GiveMotelSource,
+ price: nearbplayersyprice,
+ time: NearbyCurrentTime,
+ motelid: CurrentMotelID,
+ motelname: GiveMotelName,
+ roomtype: GiveMotelType
+ }))
+ $("#nearby-players-settings-price").val("")
+ $("#nearby-players-settings-time").val("")
+ $(".np-invite-settings").css("display", "none")
+ $(".nearby-players-cat").css("display", "block")
+
+ NearbyInvite = false
+ BossMenuActive = true
+ $(".np-invite-settings").css("display", "none")
+ $(".n-list-title").css("display", "block")
+ $(".n-list-body").css("display", "block")
+ $(".nearby-players-cat").css("display", "block")
+})
+
+$(document).on("click", ".npc-cancel", function() {
+ $("#nearby-players-settings-price").val("")
+ $("#nearby-players-settings-time").val("")
+ $(".np-invite-settings").css("display", "none")
+ $(".nearby-players-cat").css("display", "block")
+
+ NearbyInvite = false
+ BossMenuActive = true
+ $(".np-invite-settings").css("display", "none")
+ $(".n-list-title").css("display", "block")
+ $(".n-list-body").css("display", "block")
+ $(".nearby-players-cat").css("display", "block")
+})
+
+function BadUpClick(isClickable) {
+ if (isClickable) {
+ $(document).on("click", ".badrooms-upgrade", function() {
+ })
+ }
+}
+
+function BadUpClick2(isClickable) {
+ if (isClickable) {
+ $(document).on("click", ".badrooms-upgraderequest", function() {
+ })
+ }
+}
+
+function MiddleUpClick(isClickable) {
+ if (isClickable && !vipsectin) {
+ $(document).off("click", ".middlerooms-upgrade");
+
+ $(document).on("click", ".middlerooms-upgrade", function() {
+ if (middleClickable) {
+ $(".middlerooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)");
+ $(".middlerooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)");
+ $(".middlerooms-upgrade").css("cursor", "pointer");
+ $("#middleimgprade").attr("src", "./img/middle.svg");
+ middleClickable = false;
+ middlesectin = false;
+ CheckAnan = false
+
+ sonmotelprice = motelupgradeprice;
+ eklenecekpara = motelroomupgradepricemiddle;
+ otuziki = parseInt(sonmotelprice) - parseInt(eklenecekpara);
+ motelupgradeprice = otuziki;
+ $("#up-menu-save-txt").html("$" + PE3D(otuziki));
+
+
+ } else if (!middleClickable && motelintypiabe == translate["squatter"] && CheckAnan !== true) {
+ middlesectin = true;
+ $(".middlerooms-upgrade").css("background", "linear-gradient(124.39deg, #0085FF 20.58%, #00B2FF 90.19%)");
+ $(".middlerooms-upgrade > span").css("color", "rgba(0, 0, 0, 0.73)");
+ $("#middleimgprade").attr("src", "./img/black-door.png");
+ middleClickable = true;
+ sonmotelprice = motelupgradeprice;
+ eklenecekpara = motelroomupgradepricemiddle;
+ otuziki = parseInt(sonmotelprice) + parseInt(eklenecekpara);
+ motelupgradeprice = otuziki;
+ $("#up-menu-save-txt").html("$" + PE3D(otuziki));
+ CheckAnan = true
+ }
+ });
+ }
+}
+
+function MiddleUpClick2(isClickable) {
+ if (isClickable && !vipsectin) {
+ $(document).off("click", ".middlerooms-upgraderequest");
+
+ $(document).on("click", ".middlerooms-upgraderequest", function() {
+ if (middleClickable) {
+ $(".middlerooms-upgraderequest").css("background", "rgba(255, 255, 255, 0.09)");
+ $(".middlerooms-upgraderequest > span").css("color", "rgba(255, 255, 255, 0.3)");
+ $(".middlerooms-upgraderequest").css("cursor", "pointer");
+ $("#middleimgpraderequest").attr("src", "./img/middle.svg");
+ middleClickable = false;
+ middlesectin = false;
+ CheckAnan = false
+ sonmotelprice = motelupgradeprice;
+ eklenecekpara = motelroomupgradepricemiddle;
+ otuziki = parseInt(sonmotelprice) - parseInt(eklenecekpara);
+ motelupgradeprice = otuziki;
+ $("#up-menu-save-txtrequest").html("$" + PE3D(otuziki));
+
+ } else if (!middleClickable && motelintypiabe == translate["squatter"] && CheckAnan !== true) {
+ middlesectin = true;
+ $(".middlerooms-upgraderequest").css("background", "linear-gradient(124.39deg, #0085FF 20.58%, #00B2FF 90.19%)");
+ $(".middlerooms-upgraderequest > span").css("color", "rgba(0, 0, 0, 0.73)");
+ $("#middleimgpraderequest").attr("src", "./img/black-door.png");
+ middleClickable = true;
+ sonmotelprice = motelupgradeprice;
+ // eklenecekpara = motelroomupgradepricevip;
+ eklenecekpara = motelroomupgradepricemiddle
+ otuziki = parseInt(sonmotelprice) + parseInt(eklenecekpara);
+ motelupgradeprice = otuziki;
+ $("#up-menu-save-txtrequest").html("$" + PE3D(otuziki));
+ CheckAnan = true
+ }
+ });
+ }
+}
+
+function VIPUpClick(isClickable) {
+ if (isClickable && !middlesectin) {
+ $(document).off("click", ".viprooms-upgrade");
+ $(document).on("click", ".viprooms-upgrade", function() {
+ if (vipClickable) {
+ $(".viprooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)");
+ $(".viprooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)");
+ $(".viprooms-upgrade").css("cursor", "pointer");
+ $("#vipimgupgrade").attr("src", "./img/gray-vip.png");
+ vipClickable = false;
+ vipsectin = false;
+ CheckAnan = false
+ sonmotelprice = motelupgradeprice;
+ eklenecekpara = motelroomupgradepricevip;
+ otuziki = parseInt(sonmotelprice) - parseInt(eklenecekpara);
+ motelupgradeprice = otuziki;
+ $("#up-menu-save-txt").html("$" + PE3D(otuziki));
+ } else if (!vipClickable && motelintypiabe !== translate["vip"] && CheckAnan !== true) {
+ vipsectin = true;
+ $(".viprooms-upgrade").css("background", "linear-gradient(124.39deg, #0085FF 20.58%, #00B2FF 90.19%)");
+ $(".viprooms-upgrade > span").css("color", "rgba(0, 0, 0, 0.73)");
+ $("#vipimgupgrade").attr("src", "./img/vip.svg");
+ vipClickable = true;
+ sonmotelprice = motelupgradeprice;
+ eklenecekpara = motelroomupgradepricevip;
+ otuziki = parseInt(sonmotelprice) + parseInt(eklenecekpara);
+ motelupgradeprice = otuziki;
+ $("#up-menu-save-txt").html("$" + PE3D(otuziki));
+ CheckAnan = true
+ }
+ });
+ }
+}
+
+function VIPUpClick2(isClickable) {
+ if (isClickable && !middlesectin) {
+ $(document).off("click", ".viprooms-upgraderequest");
+ $(document).on("click", ".viprooms-upgraderequest", function() {
+ if (vipClickable) {
+ $(".viprooms-upgraderequest").css("background", "rgba(255, 255, 255, 0.09)");
+ $(".viprooms-upgraderequest > span").css("color", "rgba(255, 255, 255, 0.3)");
+ $(".viprooms-upgraderequest").css("cursor", "pointer");
+ $("#vipimgupgraderequest").attr("src", "./img/gray-vip.png");
+ vipClickable = false;
+ vipsectin = false;
+ CheckAnan = false
+ sonmotelprice = motelupgradeprice;
+ eklenecekpara = motelroomupgradepricevip;
+ otuziki = parseInt(sonmotelprice) - parseInt(eklenecekpara);
+ motelupgradeprice = otuziki;
+ $("#up-menu-save-txtrequest").html("$" + PE3D(otuziki));
+ } else if (!vipClickable && motelintypiabe !== translate["vip"] && CheckAnan !== true) {
+ vipsectin = true;
+ $(".viprooms-upgraderequest").css("background", "linear-gradient(124.39deg, #0085FF 20.58%, #00B2FF 90.19%)");
+ $(".viprooms-upgraderequest > span").css("color", "rgba(0, 0, 0, 0.73)");
+ $("#vipimgupgraderequest").attr("src", "./img/vip.svg");
+ vipClickable = true;
+ sonmotelprice = motelupgradeprice;
+ eklenecekpara = motelroomupgradepricevip;
+ otuziki = parseInt(sonmotelprice) + parseInt(eklenecekpara);
+ motelupgradeprice = otuziki;
+ $("#up-menu-save-txtrequest").html("$" + PE3D(otuziki));
+ CheckAnan = true
+ }
+ });
+ }
+}
+
+$(document).on("click", "#category-item", function() {
+ CurrentMenu = $(this).attr("class")
+
+ if (CurrentMenu !== "pwodalar") {
+ $(".roomsbar").css("display", "none")
+ $(".pwodalari").removeClass("badroomclick")
+ $(".pwodalar").find(".anan").removeClass("badroomclick2")
+ $("#squatterimg").attr("src", "./img/pwev.svg")
+ } else if (CurrentMenu == "pwodalar") {
+ $(".pwodalari").addClass("badroomclick")
+ $(".pwodalar").find(".anan").addClass("badroomclick2")
+ $("#squatterimg").attr("src", "./img/black-squatter.png")
+ LoadSquatterRooms(LoadSquatter, MotelNameVar)
+ Test = "pwodalar"
+ }
+
+ if (CurrentMenu !== "middlerooms-img-text") {
+ $(".roomsbar2").css("display", "none")
+ $(".middlerooms").removeClass("middleroomclick")
+ $(".middlerooms-img-text").find(".anan2").removeClass("middleroomclick2")
+ $("#middleimg").attr("src", "./img/middle.svg")
+ } else if (CurrentMenu == "middlerooms-img-text") {
+ $(".middlerooms").addClass("middleroomclick")
+ $(".middlerooms-img-text").find(".anan2").addClass("middleroomclick2")
+ $("#middleimg").attr("src", "./img/black-door.png")
+ LoadMiddleRooms(LoadMiddle, MotelNameVar)
+ Test = "middle"
+ }
+
+ if (CurrentMenu !== "viprooms-img-text") {
+ $(".roomsbar3").css("display", "none")
+ $(".viprooms").removeClass("viproomclick")
+ $(".viprooms-img-text").find(".anan3").removeClass("viproomclick2")
+ $("#vipimg").attr("src", "./img/gray-vip.png")
+ } else if (CurrentMenu == "viprooms-img-text") {
+ $(".viprooms").addClass("viproomclick")
+ $(".viprooms-img-text").find(".anan3").addClass("viproomclick2")
+ $("#vipimg").attr("src", "./img/vip.svg")
+ LoadVIPRooms(LoadVIP, MotelNameVar)
+ Test = "vip"
+ }
+
+ if (CurrentMenu !== "sigtir") {
+ CurrentScreen = $(this).attr("name")
+ $("." + CurrentScreen).css("display", "block")
+ }
+})
+
+$(document).on("click", ".rent-button-vip", function() {
+ MotelRoomPrice = $(this).attr("motelroomprice")
+ $(".send-room-soru").css("display", "flex")
+ $(".motelname").html(translate["motel_name"])
+ $(".motelroom").html(translate["motel_room_number"])
+ $(".moteltime").html(translate["motel_room_time"])
+ $(".motelprice").html(translate["motel_room_price"])
+ $(".sri-accept-soru > span").html(translate["accept"])
+ $(".sri-decline-soru > span").html(translate["cancel"])
+ $("#motel-name2").html($(this).attr("motelname"))
+ $("#motel-room2").html($(this).attr("motelno") + " " + `( ${$(this).attr("moteltype")} )`)
+ $("#motel-price-soru").html("$" + PE3D($(this).attr("motelroomprice")))
+
+ CurrentMotel = $(this).attr("motelname")
+ CurrentNO = $(this).attr("motelno")
+})
+
+$(document).on("click", ".sri-accept-soru", function() {
+ $(".send-room-soru").css("display", "none")
+ $(".motelname").html("")
+ $(".motelroom").html("")
+ $(".moteltime").html("")
+ $(".motelprice").html("")
+ $(".sri-accept-soru > span").html("")
+ $(".sri-decline-soru > span").html("")
+ $("#motel-name2").html("")
+ $("#motel-room2").html("")
+ $("#motel-time-input").val("")
+ $.post('https://oph3z-motels/AcceptMotelRoom', JSON.stringify({
+ motel: CurrentMotel,
+ motelid: CurrentMotelID,
+ motelno: CurrentNO,
+ time: CurrentTime,
+ price: CurrentPrice
+ }))
+})
+
+
+$(document).on("click", "#dashboardsave", function() {
+ $.post('https://oph3z-motels/SaveDashboard', JSON.stringify({
+ motelid: CurrentMotelID,
+ MotelName: ChanceMotelName1
+ }))
+ $("#moteisim").html(ChanceMotelName1)
+ $("#chancemotelname").val("")
+})
+
+
+
+$(document).on("click", ".sri-decline-soru", function() {
+ $(".send-room-soru").css("display", "none")
+ $("#motel-name2").html("")
+ $("#motel-room2").html("")
+ $("#motel-time-input").val("")
+})
+
+function PE3D(s) {
+ s = parseInt(s)
+ return s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1,')
+}
+
+LoadHistory = function(data) {
+ let html = "";
+ $(".history").html("")
+ data.reverse()
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+ if (element.type == "deposit") {
+ html = `
+
+
+
${translate["deposit_text_description"]}
+
+ $${element.money}
+
+ `
+ } else if (element.type == "withdraw") {
+ html = `
+
+
+
${translate["withdraw_text_description"]}
+
- $${PE3D(element.money)}
+
+ `
+ }
+ $(".history").append(html)
+ }
+}
+
+LoadNearbyPlayers = function(data) {
+ $(".n-list-body").html("");
+ let html = "";
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+ html = `
+
+
${element.Name + " " + element.Lastname}
+
${translate["invite"]}
+
+ `
+ $(".n-list-body").append(html)
+ }
+}
+
+LoadEmployeesNearby = function(data) {
+ $(".employee-invite").css("display", "flex");
+ $("#player-salary").css("z-index", "1")
+ $(".nearby-players-employee").css("display", "block");
+ $(".nearby-players-employee").html("");
+ let html = "";
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+
+ html = `
+
+
${element.Name + " " + element.Lastname} - ${element.id}
+
${translate["invite"]}
+
+ `
+ $(".nearby-players-employee").append(html)
+ }
+
+ $(".npe-list:nth-child(odd)").css("background", "rgba(255, 255, 255, 0.04)")
+ $(".npe-list:nth-child(even)").css("background", "rgba(255, 255, 255, 0.02)")
+}
+
+LoadAllRooms = function(data) {
+ $(".nis-rooms").html("");
+ let html = "";
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+ if (element.Active == false) {
+ html = `
+
+ ${translate["no"] + " " + element.motelno + " " + " (" + element.type + ")"}
+
+
+ `
+ } else if (element.Rent == false) {
+ html = `
+
+ ${translate["no"] + " " + element.motelno + " " + " (" + element.type + ")"}
+
+ `
+ } else if (element.Rent == true) {
+ html = `
+
+ ${translate["no"] + " " + element.motelno + " " + " (" + element.type + ")"}
+
+ `
+ }
+ $(".nis-rooms").append(html);
+ }
+}
+
+var aktifknkdokunmaamk = false
+var aktifknkdokunmaamk2 = false
+
+JSStyle = function(data) {
+ $(".upgrademenu-styleedit").html("");
+ $(".upgrademenu-walledit").html("");
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+ const elementType = element.type;
+ let html = "";
+ let html2 = "";
+
+ const elementDurum = element.durum;
+
+ if (elementDurum === true) {
+ aktifknkdokunmaamk = true
+ aktifknkdokunmaamk2 = true
+ yazacak = `${translate["active"]}`
+ } else {
+ aktifknkdokunmaamk = false
+ aktifknkdokunmaamk2 = false
+ yazacak = `${translate["select"]}`
+ }
+
+ if (elementType === "style") {
+ html = `
+
+ `;
+
+ if (elementDurum === true) {
+ aktifknkdokunmaamk2 = true
+ html = $(html).find(".selectbtn").addClass("anan-activeknk").end().prop("outerHTML");
+ html = $(html).find("#yourmotherstexttome").addClass("selectbtn-active").end().prop("outerHTML");
+ } else {
+ aktifknkdokunmaamk2 = false
+ html = $(html).find(".selectbtn").removeClass("anan-activeknk").end().prop("outerHTML");
+ html = $(html).find("#yourmotherstexttome").removeClass("selectbtn-active").end().prop("outerHTML");
+ }
+
+ } else if (elementType === "extra") {
+ html2 = `
+
+ `;
+
+ if (elementDurum === true) {
+ aktifknkdokunmaamk = true
+ html2 = $(html2).find(".selectbtnwall").addClass("bacin-activeknk").end().prop("outerHTML");
+ html2 = $(html2).find("#selectbtnwalltext").addClass("selectbtnwall-active").end().prop("outerHTML");
+ } else {
+ aktifknkdokunmaamk = false
+ html2 = $(html2).find(".selectbtnwall").removeClass("bacin-activeknk").end().prop("outerHTML");
+ html2 = $(html2).find("#selectbtnwalltext").removeClass("selectbtnwall-active").end().prop("outerHTML");
+ }
+ }
+
+ $(".upgrademenu-styleedit").append(html);
+ $(".upgrademenu-walledit").append(html2);
+ }
+};
+
+
+var aktifknkdokunmaamkrequest = false
+var aktifknkdokunmaamk2request = false
+
+JSStyle2 = function(data) {
+ $(".upgrademenu-styleeditrequest").html("");
+ $(".upgrademenu-walleditrequest").html("");
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+ const elementType = element.type;
+ let html = "";
+ let html2 = "";
+ const elementDurum = element.durum;
+
+ if (elementDurum === true) {
+ aktifknkdokunmaamkrequest = true
+ aktifknkdokunmaamk2request = true
+ yazacak = "Aktif"
+ } else {
+ aktifknkdokunmaamkrequest = false
+ aktifknkdokunmaamk2request = false
+ yazacak = "Select"
+ }
+
+ if (elementType === "style") {
+ html = `
+
+ `;
+
+ if (elementDurum === true) {
+ aktifknkdokunmaamk2request = true
+ html = $(html).find(".selectbtnrequest").addClass("anan-activeknkrequest").end().prop("outerHTML");
+ html = $(html).find("#yourmotherstexttome").addClass("selectbtn-active").end().prop("outerHTML");
+ } else {
+ aktifknkdokunmaamk2request = false
+ html = $(html).find(".selectbtnrequest").removeClass("anan-activeknkrequest").end().prop("outerHTML");
+ html = $(html).find("#yourmotherstexttome").removeClass("selectbtn-active").end().prop("outerHTML");
+ }
+
+ } else if (elementType === "extra") {
+ html2 = `
+
+ `;
+
+ if (elementDurum === true) {
+ aktifknkdokunmaamkrequest = true
+ html2 = $(html2).find(".selectbtnwallrequest").addClass("bacin-activeknkrequest").end().prop("outerHTML");
+ html2 = $(html2).find("#selectbtnwalltextreq").addClass("selectbtnwall-active").end().prop("outerHTML");
+ } else {
+ aktifknkdokunmaamkrequest = false
+ html2 = $(html2).find(".selectbtnwallrequest").removeClass("bacin-activeknkrequest").end().prop("outerHTML");
+ html2 = $(html2).find("#selectbtnwalltextreq").removeClass("selectbtnwall-active").end().prop("outerHTML");
+ }
+ }
+
+ $(".upgrademenu-styleeditrequest").append(html);
+ $(".upgrademenu-walleditrequest").append(html2);
+ }
+};
+
+var selectbtntiklandi = false;
+var motelstylenameistesananekahpe = null
+
+$(document).on("click", ".selectbtn", function() {
+ var element = $(this).hasClass("anan-activeknk");
+ var denemefalan = $(this).attr("durum")
+ if (element == false && denemefalan == "false" && selectbtntiklandi == false) {
+ $(this).addClass("anan-activeknk")
+ $(this).find("#yourmotherstexttome").addClass("selectbtn-active")
+ selectbtntiklandi = true;
+ sonmotelprice = motelupgradeprice;
+ stylepriceeklendi = $(this).attr("styleprice")
+ otuzbir = parseInt(sonmotelprice) + parseInt(stylepriceeklendi);
+ motelupgradeprice = otuzbir;
+ $("#up-menu-save-txt").html("$" + PE3D(otuzbir));
+ motelstylenameistesananekahpe = $(this).attr("motelstylename")
+ } else if (element && denemefalan == "true") {
+
+ } else if (element && denemefalan == "false" && selectbtntiklandi == true) {
+ $(this).removeClass("anan-activeknk")
+ $(this).find("#yourmotherstexttome").removeClass("selectbtn-active")
+ selectbtntiklandi = false;
+ sonmotelprice = motelupgradeprice;
+ stylepriceeklendi = $(this).attr("styleprice")
+ otuzbir = parseInt(sonmotelprice) - parseInt(stylepriceeklendi);
+ motelupgradeprice = otuzbir;
+ $("#up-menu-save-txt").html("$" + PE3D(otuzbir));
+ motelstylenameistesananekahpe = null
+ }
+})
+
+
+var selectbtnrequesttiklandi = false;
+var motelstylenameistesananekahpe2 = null
+
+$(document).on("click", ".selectbtnrequest", function() {
+ var element = $(this).hasClass("anan-activeknkrequest");
+ var denemefalanrequest = $(this).attr("durum")
+ if (element == false && denemefalanrequest == "false" && selectbtnrequesttiklandi == false) {
+ $(this).addClass("anan-activeknkrequest")
+ $(this).find("#yourmotherstexttome").addClass("selectbtn-active")
+
+ selectbtnrequesttiklandi = true;
+ sonmotelprice = motelupgradeprice;
+ stylepriceeklendi = $(this).attr("styleprice")
+ otuzbir = parseInt(sonmotelprice) + parseInt(stylepriceeklendi);
+ motelupgradeprice = otuzbir;
+ $("#up-menu-save-txtrequest").html("$" + PE3D(otuzbir));
+ motelstylenameistesananekahpe2 = $(this).attr("motelstylename")
+ } else if (element && denemefalanrequest == "true") {
+
+ } else if (element && denemefalanrequest == "false" && selectbtnrequesttiklandi == true) {
+ $(this).removeClass("anan-activeknkrequest")
+ $(this).find("#yourmotherstexttome").removeClass("selectbtn-active")
+ selectbtnrequesttiklandi = false;
+ sonmotelprice = motelupgradeprice;
+ stylepriceeklendi = $(this).attr("styleprice")
+ otuzbir = parseInt(sonmotelprice) - parseInt(stylepriceeklendi);
+ motelupgradeprice = otuzbir;
+ $("#up-menu-save-txtrequest").html("$" + PE3D(otuzbir));
+ motelstylenameistesananekahpe2 = null
+ }
+})
+
+var selectbtnwalltiklandi = false;
+var selectedStyles = []
+
+$(document).on("click", ".selectbtnwall", function() {
+ var elementDurum = $(this).hasClass("bacin-activeknk");
+ var deneme = $(this).attr("durum")
+ if (elementDurum == false && deneme == "false") {
+ $(this).addClass("bacin-activeknk");
+ $(this).find("#selectbtnwalltext").addClass("selectbtnwall-active")
+ sonmotelprice = motelupgradeprice;
+ stylepriceeklendi = $(this).attr("styleprice")
+ otuzbir = parseInt(sonmotelprice) + parseInt(stylepriceeklendi);
+ motelupgradeprice = otuzbir;
+ $("#up-menu-save-txt").html("$" + PE3D(otuzbir));
+ } else if (elementDurum && deneme == "true") {
+ $(this).removeClass("bacin-activeknk");
+ $(this).find("#selectbtnwalltext").removeClass("selectbtnwall-active")
+ otuzbir = 0
+ motelupgradeprice = otuzbir
+ $("#up-menu-save-txt").html("$" + PE3D(otuzbir));
+ selectedStyles = []
+ } else if (elementDurum && deneme == "false") {
+ $(this).removeClass("bacin-activeknk");
+ $(this).find("#selectbtnwalltext").removeClass("selectbtnwall-active")
+ sonmotelprice = motelupgradeprice;
+ stylepriceeklendi = $(this).attr("styleprice")
+ otuzbir = parseInt(sonmotelprice) - parseInt(stylepriceeklendi);
+ motelupgradeprice = otuzbir;
+ $("#up-menu-save-txt").html("$" + PE3D(otuzbir));
+ }
+ $(".selectbtnwall.bacin-activeknk").each(function() {
+ var style = $(this).attr("motelstylename");
+ if (!selectedStyles.includes(style)) {
+ selectedStyles.push(style);
+ motelstyleoynadi = true
+ }
+ });
+});
+
+var selectbtnwallrequesttiklandi = false;
+var selectedStyles2 = []
+
+$(document).on("click", ".selectbtnwallrequest", function() {
+ var elementDurum = $(this).hasClass("bacin-activeknkrequest");
+ var deneme = $(this).attr("durum")
+ if (elementDurum == false && deneme == "false") {
+ $(this).addClass("bacin-activeknkrequest");
+ $(this).find("#selectbtnwalltext").addClass("selectbtnwall-active")
+ sonmotelprice = motelupgradeprice;
+ stylepriceeklendi = $(this).attr("styleprice")
+ otuzbir = parseInt(sonmotelprice) + parseInt(stylepriceeklendi);
+ motelupgradeprice = otuzbir;
+ $("#up-menu-save-txtrequest").html("$" + PE3D(otuzbir));
+ } else if (elementDurum && deneme == "true") {
+ $(this).removeClass("bacin-activeknkrequest");
+ $(this).find("#selectbtnwalltext").removeClass("selectbtnwall-active")
+ otuzbir = 0
+ motelupgradeprice = otuzbir
+ $("#up-menu-save-txtrequest").html("$" + PE3D(otuzbir));
+ selectedStyles2 = []
+ } else if (elementDurum && deneme == "false") {
+ $(this).removeClass("bacin-activeknkrequest");
+ $(this).find("#selectbtnwalltext").removeClass("selectbtnwall-active")
+ sonmotelprice = motelupgradeprice;
+ stylepriceeklendi = $(this).attr("styleprice")
+ otuzbir = parseInt(sonmotelprice) - parseInt(stylepriceeklendi);
+ motelupgradeprice = otuzbir;
+ $("#up-menu-save-txtrequest").html("$" + PE3D(otuzbir));
+ }
+ $(".selectbtnwallrequest.bacin-activeknkrequest").each(function() {
+ var style = $(this).attr("motelstylename");
+ if (!selectedStyles2.includes(style)) {
+ selectedStyles2.push(style);
+ motelstyleoynadi = true
+ }
+ });
+});
+
+
+$(document).on("click", ".up-menu-save-btnrequest", function() {
+ $.post('https://oph3z-motels/UpgradeRoomRequest', JSON.stringify({
+ motelid: requestdata.MotelNo,
+ isupgraded: middleClickable,
+ isupgradedvip: vipClickable,
+ motelroom : requestdata.OdanoR,
+ motelstylename : motelstylenameistesananekahpe2,
+ motelstylenameextra: selectedStyles2,
+ motelstyleoynadi : motelstyleoynadi,
+ motelprice : $(this).parent().find("#up-menu-save-txtrequest").html(),
+ }))
+ motelstyleoynadi = false
+ motelupgradeprice = 0
+ otuzbir = 0
+ selectedStyles2 = []
+ selectedStyles2 = ""
+ UpgradeMenuActive = false
+ BossMenuActive = true
+ selectbtnrequesttiklandi = false
+ $(".chancestyle-motelrooms").css("display", "none")
+ $("#squatterimgupgraderequest").attr("src", "./img/pwev.svg")
+ $(".badrooms-upgraderequest").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".badrooms-upgraderequest > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".badrooms-upgraderequest").css("cursor", "pointer")
+ $("#middleimgpraderequest").attr("src", "./img/middle.svg")
+ $(".middlerooms-upgraderequest").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".middlerooms-upgraderequest > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".middlerooms-upgraderequest").css("cursor", "pointer")
+ $("#vipimgupgraderequest").attr("src", "./img/gray-vip.png");
+ $(".viprooms-upgraderequest").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".viprooms-upgraderequest > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".viprooms-upgraderequest").css("cursor", "pointer")
+ vipClickable = false
+ middleClickable = false
+ motelintypiabe = null
+ motelintypiabeClickable = false
+ CheckAnan = false
+ selectbtnwalltiklandi = false
+
+ $("#up-menu-save-txtrequest").html("$0");
+ ChanceStyleRequest = false
+ $(".chancestyle-motelroomsrequest").css("display", "none")
+ MotelManagementFlex = false
+ $(".motel-management").css("display", "none")
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}))
+})
+
+var motelstyleoynadi = false
+
+$(document).on("click", ".up-menu-save-btn", function() {
+ $.post('https://oph3z-motels/UpgradeRoom', JSON.stringify({
+ motelid: CurrentMotelID,
+ isupgraded: middleClickable,
+ isupgradedvip: vipClickable,
+ motelroom : motelupgradenumber,
+ motelstylename : motelstylenameistesananekahpe,
+ motelstylenameextra: selectedStyles,
+ motelstyleoynadi : motelstyleoynadi,
+ motelprice : $(this).parent().find("#up-menu-save-txt").html(),
+ }))
+ motelstyleoynadi = false
+ motelupgradeprice = 0
+ otuzbir = 0
+ selectedStyles = ""
+ UpgradeMenuActive = false
+ selectedStyles = []
+ BossMenuActive = true
+ $(".chancestyle-motelrooms").css("display", "none")
+ $("#squatterimgupgrade").attr("src", "./img/pwev.svg")
+ $(".badrooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".badrooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".badrooms-upgrade").css("cursor", "pointer")
+ $("#middleimgprade").attr("src", "./img/middle.svg")
+ $(".middlerooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".middlerooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".middlerooms-upgrade").css("cursor", "pointer")
+ $("#vipimgupgrade").attr("src", "./img/gray-vip.png");
+ $(".viprooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".viprooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".viprooms-upgrade").css("cursor", "pointer")
+ vipClickable = false
+ middleClickable = false
+ motelintypiabe = null
+ motelintypiabeClickable = false
+ CheckAnan = false
+ selectbtnwalltiklandi = false
+ selectbtntiklandi = false
+ $("#up-menu-save-txt").html("$0");
+})
+
+$(document).on("click", ".invite-button-npe", function() {
+ $.post('https://oph3z-motels/InviteEmployee', JSON.stringify({
+ playersource: $(this).attr("playerid"),
+ motelid: CurrentMotelID
+ }))
+ $(".employee-invite").css("display", "none");
+ $("#player-salary").css("z-index", "999999999")
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+})
+
+$(document).on("click", ".accept-offer", function() {
+ $.post('https://oph3z-motels/JobOfferAccepted', JSON.stringify({
+ playerid: $(this).attr("id"),
+ motelid: $(this).attr("motelid"),
+ sender: $(this).attr("sender")
+ }))
+ $(".send-request").css("display", "none");
+ $(".send-request").html("");
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}))
+})
+
+$(document).on("click", ".decline-offer", function() {
+ $(".send-request").css("display", "none");
+ $(".send-request").html("");
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}))
+})
+
+$(document).on("click", ".invite-button-np", function() {
+ $(".np-invite-settings").css("display", "flex")
+ $(".n-list-title").css("display", "none")
+ $(".n-list-body").css("display", "none")
+ $(".nis-name").html($(this).attr("name") + " " + $(this).attr("lastname"))
+ $(".nis-id").html($(this).attr("id"))
+ GiveMotelSource = $(this).attr("id")
+ NearbyInvite = true
+ BossMenuActive = false
+ LoadAllRooms(motelstwo)
+})
+
+$(document).on("click", ".management-requests", function() {
+ data = requestdata
+ JSStyle2(data.stylemenu)
+ OdaTypeRequest = data.OdaTypeR
+ ChanceStyleRequest = true
+ MotelManagementFlex = false
+ motelintypiabe = data.OdaTypeR
+ motelroomupgradepricevip = data.VIPUpgradeMoney
+ motelroomupgradepricemiddle = data.MiddleUpgradeMoney
+ $(".motel-management").css("display", "none");
+ $(".chancestyle-motelroomsrequest").css("display", "flex");
+ $("#squattertextisterequst").html(translate["squatter_rooms_text"])
+ $("#middleroomslowertext").html(translate["middle_rooms_text"])
+ $("#viproomslowertext").html(translate["vip_rooms_text"])
+ $("#upgrademenu-no-textrequest").html(translate["no"])
+ $("#upgrademenu-motelnamerequest").html(translate["vip_motel_room"])
+ $("#upgrademenu-titlerequest").html(translate["room_upgrade"])
+ $("#upgrademenu-title2request").html(translate["choose_style"])
+ $("#upgrademenu-title3request").html(translate["choose_wall"])
+ $("#up-menu-cancel-txtrequest").html(translate["cancel"])
+ $("#upgrademenu-no-numberrequest").html(data.OdanoR)
+ $("#upgrademenu-motelnamerequest").html(OdaTypeRequest.toUpperCase() + " " + translate["motel_roomU"])
+
+
+ if (OdaTypeRequest === translate["vip"]) {
+ $("#squatterimgupgraderequest").attr("src", "./img/black-squatter.png")
+ $(".badrooms-upgraderequest").css("background", "linear-gradient(0deg, rgba(205, 76, 76, 0.473), rgba(205, 76, 76, 0.2)), rgba(255, 255, 255, 0.08)")
+ $(".badrooms-upgraderequest > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".badrooms-upgraderequest").css("cursor", "not-allowed")
+ $("#middleimgpraderequest").attr("src", "./img/black-door.png")
+ $(".middlerooms-upgraderequest").css("background", "linear-gradient(0deg, rgba(205, 76, 76, 0.473), rgba(205, 76, 76, 0.2)), rgba(255, 255, 255, 0.08)")
+ $(".middlerooms-upgraderequest > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".middlerooms-upgraderequest").css("cursor", "not-allowed")
+ $("#vipimgupgraderequest").attr("src", "./img/gray-vip.png");
+ $(".viprooms-upgraderequest").css("background", "linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%)")
+ $(".viprooms-upgraderequest > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".viprooms-upgraderequest").css("cursor", "not-allowed")
+ BadUpClick2(false);
+ MiddleUpClick2(false);
+ VIPUpClick2(false);
+ } else if (OdaTypeRequest === translate["middle"]) {
+ $("#squatterimgupgraderequest").attr("src", "./img/black-squatter.png")
+ $(".badrooms-upgraderequest").css("background", "linear-gradient(0deg, rgba(205, 76, 76, 0.473), rgba(205, 76, 76, 0.2)), rgba(255, 255, 255, 0.08)")
+ $(".badrooms-upgraderequest > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".badrooms-upgraderequest").css("cursor", "not-allowed")
+ $("#middleimgpraderequest").attr("src", "./img/black-door.png")
+ $(".middlerooms-upgraderequest").css("background", "linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%)")
+ $(".middlerooms-upgraderequest > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".middlerooms-upgraderequest").css("cursor", "not-allowed")
+ BadUpClick2(false);
+ MiddleUpClick2(false);
+ VIPUpClick2(true);
+ } else if (OdaTypeRequest === translate["squatter"]) {
+ $("#squatterimgupgraderequest").attr("src", "./img/black-squatter.png")
+ $(".badrooms-upgraderequest").css("background", "linear-gradient(0deg, rgba(205, 76, 76, 0.473), rgba(205, 76, 76, 0.2)), rgba(255, 255, 255, 0.08)")
+ $(".badrooms-upgraderequest > span").css("color", "rgba(0, 0, 0, 0.73)")
+ $(".badrooms-upgraderequest").css("cursor", "not-allowed")
+ BadUpClick2(false);
+ MiddleUpClick2(true);
+ VIPUpClick2(true);
+ }
+})
+
+var motelmanagementacildi = false
+
+MotelManagement = function(data) {
+ if(motelmanagementacildi === false) {
+ motelmanagementacildi = true
+ requestdata = data
+ $(".motel-management").css("display", "flex");
+ $("#managementheader").html(translate["managamentheader"])
+ $("#nearbyplayersh").html(translate["nearbyplayersh"])
+ $("#friendsheader").html(translate["friendsheader"])
+ $("#requestheader").html(translate["requestheader"])
+
+ sonveri = data.Date
+ sonveri2 = sonveri.slice(0,16);
+ $(".time-left").html(translate["managementtimeleft"] + sonveri2)
+ $(".mm-save > span").html(translate["managementsave"])
+ MotelRoomUpHourse = data.SaatlikPrice
+ MotelManagementFlex = true
+ NearbyFriends(requestdata)
+ $(".management-nearby").addClass("emrelutfisagolsun")
+ } else if (motelmanagementacildi == true) {
+ requestdata = data
+ $(".motel-management").css("display", "flex");
+ sonveri = data.Date
+ sonveri2 = sonveri.slice(0,16);
+ $(".time-left").html(translate["managementtimeleft"] + sonveri2)
+ MotelRoomUpHourse = data.SaatlikPrice
+ MotelManagementFlex = true
+ }
+ if (testlerbillah === true ) {
+ LoadFriends(requestdata)
+ }
+}
+
+NearbyFriends = function(data) {
+ $.post('https://oph3z-motels/NerabyPlayers', JSON.stringify({
+ managementDoor: true,
+ Coords: data.Coords
+ }));
+ $(".mm-nearby-players").css("display", "flex");
+ $(".pi-add").html(translate["friendstextlower"])
+ $(".pi-invite").html(translate["invitetexylower"])
+ $(".mnp-players").html("");
+ let html = "";
+ for (let index = 0; index < data.length; index++) {
+ const element = data[index];
+ html = `
+
+
${element.Name + " " + element.Lastname}
+
Add Friend
+
Invite
+
+ `
+ $(".mnp-players").append(html)
+ }
+};
+
+$(document).on("click", ".pi-invite", function() {
+ const misafir = $(this).attr("targetinviteid")
+ const evsahibi = $(this).attr("senderinveiteid")
+ data = requestdata
+
+ $.post('https://oph3z-motels/InvitePlayerRequest', JSON.stringify({
+ misafir: misafir,
+ evsahibi: evsahibi,
+ motelid : data.MotelNo,
+ odano : data.OdanoR,
+ odatipi : data.OdaTypeR,
+ odaTheme : data.odaTheme,
+ motelname : data.MotelName,
+ strip : data.Strip,
+ booze : data.Booze,
+ }));
+});
+
+$(document).on("click", ".pi-add", function() {
+ const misafir = $(this).attr("afplayerid")
+ const evsahibi = $(this).attr("senderinveiteid")
+ data = requestdata
+ $.post('https://oph3z-motels/InvitePlayerRequestFriends', JSON.stringify({
+ misafir: misafir,
+ evsahibi: evsahibi,
+ motelid : data.MotelNo,
+ odano : data.OdanoR,
+ odatipi : data.OdaTypeR,
+ odaTheme : data.odaTheme,
+ }));
+});
+
+$(document).on("click", "#acceptreqq-door", function() {
+ $(".send-room-invite-door").css("display", "none")
+ $("#motel-room-door").html("")
+ $("#motel-name-door").html("")
+ $(".motelname").html("")
+ $(".motelroom").html("")
+ $("#acceptreqq-door > span").html("")
+ $("#closereq-door > span").html("")
+ $(".sri-text").html("")
+ $.post('https://oph3z-motels/RoomInviteAccept', JSON.stringify({
+ davetmotelid: davetmotelid,
+ davetodano: davetodano,
+ davetodatipi: davetodatipi,
+ davetodatheme: davetodatheme,
+ davetodastrip : davetodastrip,
+ davetodabooze : davetodabooze,
+
+ }));
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}));
+})
+
+
+SendTransferMotelUI = function(data, seccondta) {
+ davetmotelname = data.data.motelname
+ newowner = data.data.playerid
+ motelsahibieski = seccondta.source
+ davetmotelid = data.data.motelid
+ $(".send-motel-transfer").css("display", "flex")
+ $("#motel-name-transfer").html(davetmotelname)
+ $(".motelname").html(translate["motel_name"])
+ $(".acceptreqq-transfer > span").html(translate["accept"])
+ $(".closereq-transfer > span").html(translate["cancel"])
+ $(".sri-text").html(` ${seccondta.firstname + " " + seccondta.lastname} ${translate["room_invite_text"]} `)
+}
+$(document).on("click", "#acceptreqq-transfer", function() {
+ $.post('https://oph3z-motels/MotelTransferAccept', JSON.stringify({
+ newid: newowner,
+ motelid : davetmotelid,
+ exowner : motelsahibieski,
+ }));
+ $(".send-motel-transfer").css("display", "none")
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}));
+})
+
+
+$(document).on("click", "#closereq-transfer", function(){
+ $(".send-motel-transfer").css("display", "none")
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}));
+})
+
+SendRoomFriendsReq = function(data, seccondta) {
+ davetmotelid = data.data.motelid
+ davetodano = data.data.odano
+ davetodatipi = data.data.odatipi
+ davetodatheme = data.data.odaTheme
+ davetmotelname = data.data
+ datamotelmisafir = data.data.misafir
+ evsahibi = data.sendernameRoom.source
+ $(".send-room-invite-friends").css("display", "flex")
+ $("#motel-room-friends").html("(" + davetodatipi + ")")
+ $(".motelname").html(translate["motel_name"])
+ $(".motelroom").html(translate["motel_room_number"])
+ $(".acceptreqq-friends > span").html(translate["accept"])
+ $(".closereq-friends > span").html(translate["cancel"])
+ $("#motel-name-friends").html(davetodano)
+ $(".sri-text").html(` ${seccondta.firstname + " " + seccondta.lastname} ${translate["room_invite_text"]} `)
+}
+
+$(document).on("click", "#acceptreqq-friends", function() {
+ $.post('https://oph3z-motels/AddFriend', JSON.stringify({
+ id: datamotelmisafir,
+ motelid : davetmotelid,
+ odano : davetodano,
+ evsahhibi : evsahibi,
+ }));
+ $(".send-room-invite-friends").css("display", "none")
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}));
+})
+
+
+$(document).on("click", "#closereq-friends", function(){
+ $(".send-room-invite-friends").css("display", "none")
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}));
+})
+
+
+SendRoomInviteReq = function(data, seccondta) {
+ davetmotelid = data.data.motelid
+ davetodano = data.data.odano
+ davetodatipi = data.data.odatipi
+ davetodatheme = data.data.odaTheme
+ davetodastrip = data.data.strip
+ davetodabooze = data.data.booze
+ davetmotelname = data.data
+ $(".send-room-invite-door").css("display", "flex")
+ $("#motel-room-door").html("(" + davetodatipi + ")")
+ $("#motel-name-door").html(davetodano)
+ $(".motelname").html(translate["motel_room_number"])
+ $(".motelroom").html(translate["motel_room_type"])
+ $("#acceptreqq-door > span").html(translate["accept"])
+ $("#closereq-door > span").html(translate["cancel"])
+ $(".sri-text").html(` ${seccondta.firstname + " " + seccondta.lastname} ${translate["motel_room_req"]} `)
+}
+
+
+$(document).on("click", "#closereq-door", function(){
+ $(".send-room-invite-door").css("display", "none")
+ $("#motel-room-door").html("")
+ $("#motel-name-door").html("")
+ $(".motelname").html("")
+ $(".motelroom").html("")
+ $("#acceptreqq-door > span").html("")
+ $("#closereq-door > span").html("")
+ $(".sri-text").html("")
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}));
+})
+
+LoadFriends = function(data) {
+ $(".mm-friends").css("display", "flex");
+ $(".pi-kick").html(translate["firendskicktext"])
+
+ if (data.Friends !== undefined || data.Friends !== "[]" || data.Friends !== []) {
+ $(".mf-players").html("");
+ friendsdata = data.Friends
+
+ for (let index = 0; index < friendsdata.length; index++) {
+ const element = friendsdata[index];
+ html = `
+
+
${element.Name + " " + element.Lastname}
+
Kick
+
+ `
+ $(".mf-players").append(html);
+ }
+ }else {
+ html = `
+ `
+ $(".mm-friends").css("display", "flex");
+ $(".mf-players").html("");
+ $(".mf-players").append(html);
+ }
+}
+
+$(document).on("click", ".pi-kick", function() {
+ data = requestdata
+ const citizenId = $(this).data("citizenid");
+ $.post('https://oph3z-motels/KickFriends', JSON.stringify({
+ citizenId: citizenId,
+ motelid : data.MotelNo,
+ odano : data.OdanoR
+ }));
+});
+
+var testlerbillah = false
+
+$(document).on("click", "#management-button", function() {
+ SelectedMenu = $(this).attr("class")
+
+ if (SelectedMenu !== "management-nearby") {
+ testlerbillah = false
+ $(".mm-nearby-players").css("display", "none")
+ $(".management-nearby").removeClass("emrelutfisagolsun")
+ } else {
+ testlerbillah = false
+ $(".management-nearby").addClass("emrelutfisagolsun")
+ NearbyFriends(requestdata)
+ }
+
+ if (SelectedMenu !== "management-friends") {
+ testlerbillah = false
+ $(".mm-friends").css("display", "none")
+ $(".management-friends").removeClass("emrelutfisagolsun")
+ } else {
+ testlerbillah = true
+ $(".management-friends").addClass("emrelutfisagolsun")
+ LoadFriends(requestdata)
+ }
+})
+
+$(document).on("click", ".management-nearby", function() {
+ data = requestdata
+ $.post('https://oph3z-motels/NerabyPlayers', JSON.stringify({
+ managementDoor: true,
+ Coords: data.Coords
+}));
+})
+
+$(document).on("click", ".management-logout", function() {
+ MotelManagementFlex = false
+ $(".motel-management").css("display", "none")
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}))
+})
+
+$(document).on("click", "#closebro", function() {
+ $(".rent-motel-rooms").css("display", "none");
+ $(".send-room-soru").css("display", "none")
+ $("#motel-name").html("")
+ $("#motel-room").html("")
+ $("#motel-time-input").val("")
+ $.post('https://oph3z-motels/CloseUIRent', JSON.stringify({}))
+})
+
+$(document).on("click", "#closebro2", function() {
+ $(".bossmenu").css("display", "none");
+ $(".employee-invite").css("display", "none");
+ $("#player-salary").css("z-index", "999999999")
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ BossMenuActive = false
+ $.post('https://oph3z-motels/CloseUIBoosmenu', JSON.stringify({}))
+})
+
+$(document).on("click", ".up-menu-cancel-btn", function () {
+ $("#up-menu-save-txt").html("$0");
+ UpgradeMenuActive = false
+ BossMenuActive = true
+ $(".chancestyle-motelrooms").css("display", "none")
+ $("#squatterimgupgrade").attr("src", "./img/pwev.svg")
+ $(".badrooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".badrooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".badrooms-upgrade").css("cursor", "pointer")
+ $("#middleimgprade").attr("src", "./img/middle.svg")
+ $(".middlerooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".middlerooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".middlerooms-upgrade").css("cursor", "pointer")
+ $("#vipimgupgrade").attr("src", "./img/gray-vip.png");
+ $(".viprooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".viprooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".viprooms-upgrade").css("cursor", "pointer")
+ middlesectin = false
+ middleClickable = false;
+ vipClickable = false;
+ vipsectin = null
+ motelintypiabe = null
+ motelintypiabeClickable = false
+ CheckAnan = false
+ selectbtnwalltiklandi = false
+ selectbtntiklandi = false
+})
+
+$(document).on("click", ".mm-save", function () {
+ $.post('https://oph3z-motels/UpHours', JSON.stringify({
+ time: $(".new-time").val(),
+ price: ananknkbenimanam,
+ motelno: requestdata.MotelNo,
+ odano: requestdata.OdanoR
+ }))
+ $(".new-time").val("")
+ $(".tu-price").html("$0")
+})
+
+document.onkeyup = function(data) {
+ if (data.which == 27) {
+ if (BuyMotelMenuActive === true) {
+ BuyMotelMenuActive = false
+ $(".motel-isletme-satin-alma-ekrani").css("display", "none");
+ $.post('https://oph3z-motels/CloseUIBuy', JSON.stringify({}))
+ } else if (BossMenuActive === true) {
+ BossMenuActive = false
+ $(".bossmenu").css("display", "none");
+ $(".employee-invite").css("display", "none");
+ $("#player-salary").css("z-index", "999999999")
+ $(".nearby-players-employee").html("");
+ $(".nearby-players-employee").css("display", "none");
+ $.post('https://oph3z-motels/CloseUIBoosmenu', JSON.stringify({}))
+ } else if (EmployesInvite === true) {
+ BossMenuActive = true
+ EmployesInvite = false
+ $(".employee-invite").css("display", "none");
+ $("#player-salary").css("z-index", "999999999")
+ } else if (NearbyInvite == true) {
+ NearbyInvite = false
+ BossMenuActive = true
+ $(".np-invite-settings").css("display", "none")
+ $(".n-list-title").css("display", "block")
+ $(".n-list-body").css("display", "block")
+ $(".nearby-players-cat").css("display", "block")
+ } else if (FixmenuActive == true) {
+ FixmenuActive = false
+ BossMenuActive = true
+ $(".fix-room-menu").css("display", "none")
+ } else if (UpgradeMenuActive == true) {
+ $("#up-menu-save-txt").html("$0");
+ UpgradeMenuActive = false
+ BossMenuActive = true
+ $(".chancestyle-motelrooms").css("display", "none")
+ $("#squatterimgupgrade").attr("src", "./img/pwev.svg")
+ $(".badrooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".badrooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".badrooms-upgrade").css("cursor", "pointer")
+ $("#middleimgprade").attr("src", "./img/middle.svg")
+ $(".middlerooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".middlerooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".middlerooms-upgrade").css("cursor", "pointer")
+ $("#vipimgupgrade").attr("src", "./img/gray-vip.png");
+ $(".viprooms-upgrade").css("background", "rgba(255, 255, 255, 0.09)")
+ $(".viprooms-upgrade > span").css("color", "rgba(255, 255, 255, 0.3)")
+ $(".viprooms-upgrade").css("cursor", "pointer")
+ middlesectin = false
+ middleClickable = false;
+ vipClickable = false;
+ vipsectin = null
+ motelintypiabe = null
+ motelintypiabeClickable = false
+ CheckAnan = false
+ selectbtnwalltiklandi = false
+ selectbtntiklandi = false
+ selectedStyles = []
+ } else if (ChanceStyleRequest == true) {
+ MotelManagementFlex = true
+ ChanceStyleRequest = false
+ selectedStyles2 = []
+ $(".chancestyle-motelroomsrequest").css("display", "none")
+ $(".motel-management").css("display", "flex");
+ // $.post('https://oph3z-motels/CloseUI', JSON.stringify({}))
+ } else if (MotelManagementFlex == true) {
+ motelmanagementacildi = false
+ MotelManagementFlex = false
+ testlerbillah = false
+ $(".motel-management").css("display", "none")
+ $(".mm-nearby-players").css("display", "none")
+ $(".mm-friends").css("display", "none")
+ $(".management-friends").removeClass("emrelutfisagolsun")
+ $(".management-nearby").removeClass("emrelutfisagolsun")
+ $.post('https://oph3z-motels/CloseUI', JSON.stringify({}))
+ }
+ }
+}
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/html/style.css b/resources/[housing]/oph3z-motels/html/style.css
new file mode 100644
index 000000000..164640a89
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/html/style.css
@@ -0,0 +1,4769 @@
+@import url('https://fonts.cdnfonts.com/css/tt-lakes-neue-trial');
+@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600&display=swap');
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ color: transparent;
+ font-family: 'Barlow';
+ font-weight: 700;
+ user-select: none;
+ font-style: normal;
+}
+
+body {
+ background-size: cover;
+ background-repeat: no-repeat;
+ height: 100vh;
+ width: 100vw;
+}
+
+.rent-motel-rooms {
+ display: none;
+}
+
+.bossmenu {
+ display: none;
+}
+
+.dashboardmenu {
+ display: none;
+}
+
+.employeesmenu {
+ display: none;
+}
+
+.employee-invite {
+ display: none;
+}
+
+.companymenu {
+ display: none;
+}
+
+.customersmenu {
+ display: none;
+}
+
+.nearby-players-cat {
+ display: none;
+}
+
+.np-invite-settings {
+ display: none;
+}
+
+.motel-care-menu {
+ display: none;
+}
+
+.motel-care-menu-request {
+ display: none;
+}
+
+.fix-room-menu {
+ display: none;
+}
+
+.chancestyle-motelrooms {
+ display: none;
+}
+.chancestyle-motelroomsrequest {
+ display: none;
+}
+
+.send-room-invite {
+ display: none;
+}
+
+.send-room-invite-door {
+ display: none;
+}
+
+.send-room-invite-friends {
+ display: none;
+}
+
+.send-motel-transfer {
+ display: none;
+}
+
+.motel-isletme-satin-alma-ekrani {
+ display: none;
+}
+
+.send-room-soru {
+ display: none;
+}
+
+::-webkit-scrollbar {
+ width: 0.1px;
+}
+
+::-webkit-scrollbar-track {
+ background-color: transparent;
+}
+
+::-webkit-scrollbar-thumb {
+ background: transparent;
+}
+
+#scrollolacak::-webkit-scrollbar {
+ width: 2px;
+ border-radius: 24px;
+}
+
+#scrollolacak::-webkit-scrollbar-track {
+ background: rgba(255, 255, 255, 0.17);
+}
+
+#scrollolacak::-webkit-scrollbar-thumb {
+ background: #0195E9;
+}
+
+input[type=number] {
+ font-family: 'Barlow';
+ color: #7CCE2A;
+ font-size: 1.8vh;
+ padding-left: 1vh;
+}
+
+input[type=number]::-webkit-inner-spin-button,
+input[type=number]::-webkit-outer-spin-button {
+ -webkit-appearance: none;
+}
+
+input[type=text] {
+ padding-left: 2vh;
+}
+
+.rent-motel-rooms {
+ position: absolute;
+ width: 123vh;
+ height: 70.4vh;
+ border-radius: 1vh;
+ left: 28vh;
+ top: 14.6vh;
+ background: radial-gradient(6.32% 11.57% at 99.17% 0%, rgba(244, 31, 31, 0.44) 0%, rgba(231, 33, 33, 0) 100%)/* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
+ , radial-gradient(82.3% 82.3% at 0% 105.17%, rgba(0, 117, 255, 0.114) 0%, rgba(0, 117, 255, 0) 100%)/* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
+ , radial-gradient(50% 50% at 50% 50%, rgba(3, 10, 19, 0) 0%, rgba(3, 10, 19, 0.9) 100%), rgba(3, 10, 19, 0.95);
+}
+
+.header {
+ position: absolute;
+ width: 116.25555vh;
+ height: 9vh;
+ left: 4.3vh;
+ top: 2.3vh;
+}
+
+
+.motelisim {
+ position: absolute;
+ left: 0;
+ bottom: 0;
+ width: 24.69vh;
+ height: 6.4vh;
+}
+
+.motelisim #motelname {
+ position: absolute;
+ top: 0;
+ left: 0;
+ font-family: 'TT Lakes Neue Trl Ext', sans-serif;
+ font-style: normal;
+ font-weight: bolder;
+ font-size: 2.8vh;
+ line-height: 90%;
+ background: linear-gradient(124.39deg, #0085FF 20.58%, #00B2FF 90.19%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+}
+
+.motelisim #motelkonum {
+ font-family: 'TT Lakes Neue Trl Ext', sans-serif;
+ font-style: normal;
+ font-weight: 600;
+ font-size: 2.4vh;
+ line-height: 90%;
+ /* identical to box height, or 25px */
+ color: rgba(255, 255, 255, 0.86);
+ bottom: .5vh;
+ left: 0;
+ position: absolute;
+}
+
+.motelisimbossmenu {
+ position: absolute;
+ left: 0;
+ bottom: 0;
+ width: 24.69vh;
+ height: 6.4vh;
+}
+
+.motelisimbossmenu #motelkonumbosmenmu {
+ position: absolute;
+ top: 0;
+ left: 0;
+ font-family: 'TT Lakes Neue Trl Ext', sans-serif;
+ font-style: normal;
+ font-weight: bolder;
+ font-size: 2.8vh;
+ line-height: 90%;
+ background: linear-gradient(124.39deg, #0085FF 20.58%, #00B2FF 90.19%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+}
+
+.motelisimbossmenu #moteisim {
+ font-family: 'TT Lakes Neue Trl Ext', sans-serif;
+ font-style: normal;
+ font-weight: 600;
+ font-size: 2.4vh;
+ line-height: 90%;
+ /* identical to box height, or 25px */
+ color: rgba(255, 255, 255, 0.86);
+ bottom: .5vh;
+ left: 0;
+ position: absolute;
+}
+
+.cizgi {
+ width: 0.3vh;
+ height: 8vh;
+ background: rgba(255, 255, 255, 0.2);
+ left: 30.5vh;
+ position: absolute;
+}
+
+.aciklama {
+ width: 45.69vh;
+ height: 6.6vh;
+ position: absolute;
+ left: 36vh;
+ bottom: 0;
+}
+
+.aciklama h3 {
+ top: -.8vh;
+ position: absolute;
+ color: #FFFFFF;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ line-height: 134.5%;
+ font-size: 1.2vh;
+ left: 0vh;
+}
+
+.aciklama span {
+ top: 2.5vh;
+ bottom: 2.7vh;
+ position: absolute;
+ color: rgba(255, 255, 255, 0.7);
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 400;
+ line-height: 134.5%;
+ font-size: 1.2vh;
+ left: 0vh;
+}
+
+.close {
+ width: 6vh;
+ height: 2.7vh;
+ position: absolute;
+ top: 0;
+ right: 0;
+}
+
+.close p {
+ color: #FFFFFF;
+ left: 0;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ position: absolute;
+ font-weight: 700;
+}
+
+.close .icon img {
+ width: 1.8vh;
+ height: 1.8vh;
+ color: #FFFFFF;
+ right: 0;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ position: absolute;
+ font-weight: 700;
+ cursor: pointer;
+}
+
+.middlebar {
+ position: absolute;
+ top: 16vh;
+ width: 112.25555vh;
+ height: 4.2vh;
+ left: 4.3vh;
+}
+
+#zil {
+ width: 2.5vh;
+ height: 2.5vh;
+ position: absolute;
+ left: 0;
+ top: 1.3vh;
+}
+
+#motel-rooms-header {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 2vh;
+ line-height: 134.5%;
+ /* identical to box height, or 27px */
+ text-transform: uppercase;
+ color: rgba(255, 255, 255, 0.76);
+ position: absolute;
+ left: 3.3vh;
+ top: 1.3vh;
+}
+
+.ortabutton {
+ position: absolute;
+ bottom: 0;
+ width: 49vh;
+ height: 3.4vh;
+ left: 21.4vh;
+}
+
+.viprooms {
+ bottom: 0;
+ left: 0;
+ position: absolute;
+ /* background: linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%); */
+ background: rgba(255, 255, 255, 0.09);
+ border-radius: 5px;
+ width: 15vh;
+ height: 3vh;
+ cursor: pointer;
+}
+
+.viprooms-img-text {
+ width: 15vh;
+ height: 3vh;
+}
+
+.viprooms-img-text>span {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.4vh;
+ /* line-height: 134.5%; */
+ /* identical to box height, or 22px */
+ margin-left: 2vh;
+ position: relative;
+ color: rgba(255, 255, 255, 0.3);
+}
+
+.viprooms-img-text img {
+ width: 1.7vh;
+ height: 1.7vh;
+ left: 2.6vh;
+ position: absolute;
+}
+
+.middlerooms {
+ bottom: 0;
+ left: 17vh;
+ position: absolute;
+ border-radius: 5px;
+ width: 15vh;
+ background: rgba(255, 255, 255, 0.09);
+ height: 3vh;
+ cursor: pointer;
+}
+
+.middlerooms-img-text {
+ width: 15vh;
+ height: 3vh;
+}
+
+.middlerooms-img-text>span {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.4vh;
+ /* line-height: 134.5%; */
+ /* identical to box height, or 22px */
+ margin-left: 3vh;
+ position: relative;
+ color: rgba(255, 255, 255, 0.3);
+}
+
+.middlerooms-img-text img {
+ width: 2.2vh;
+ height: 2.2vh;
+ left: 1.7vh;
+ position: absolute;
+}
+
+.pwodalari {
+ bottom: 0;
+ left: 34vh;
+ position: absolute;
+ background: rgba(255, 255, 255, 0.09);
+ border-radius: 5px;
+ width: 15vh;
+ height: 3vh;
+ cursor: pointer;
+}
+
+.pwodalar {
+ width: 15vh;
+ height: 3vh;
+}
+
+.pwodalar>span {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.4vh;
+ /* line-height: 134.5%; */
+ /* identical to box height, or 22px */
+ margin-left: 2.5vh;
+ position: relative;
+ color: rgba(255, 255, 255, 0.3);
+}
+
+.pwodalar img {
+ width: 2vh;
+ height: 2vh;
+ left: .5vh;
+ position: absolute;
+}
+
+.moteldec {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ width: 36.9vh;
+ height: 4.199vh;
+}
+
+.totalrooms {
+ position: absolute;
+ width: 16.5vh;
+ left: 0;
+ height: 4.199vh;
+}
+
+.totalrooms .icon img {
+ width: 2.5vh;
+ height: 3vh;
+ z-index: 1;
+ position: absolute;
+ left: .65vh;
+}
+
+.totalrooms .iconbg {
+ position: absolute;
+ left: 0;
+ background: linear-gradient(124.39deg, #0085FF 20.58%, #00B2FF 90.19%);
+ left: 0;
+ width: 3.7vh;
+ height: 3.7vh;
+}
+
+.availablerooms {
+ position: absolute;
+ width: 16.5vh;
+ right: 0;
+ height: 4.199vh;
+}
+
+.availablerooms .icon img {
+ width: 2.5vh;
+ height: 3vh;
+ z-index: 1;
+ position: absolute;
+ left: .65vh;
+}
+
+.availablerooms .iconbg {
+ position: absolute;
+ left: 0;
+ background: linear-gradient(124.39deg, #00FFA3 20.58%, #00FF66 90.19%);
+ width: 3.7vh;
+ height: 3.7vh;
+}
+
+.totalrooms h1 {
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 1.9vh;
+ line-height: 134.5%;
+ /* or 24px */
+ color: #01A7FF;
+}
+
+.totalrooms p {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.3vh;
+ line-height: 134.5%;
+ /* or 20px */
+ color: #A5ABBD;
+ right: 0;
+ position: absolute;
+ top: 0;
+}
+
+.availablerooms h1 {
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 1.9vh;
+ line-height: 134.5%;
+ /* or 24px */
+ color: #01FF80;
+}
+
+.availablerooms p {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.2vh;
+ line-height: 134.5%;
+ /* or 20px */
+ color: #A5ABBD;
+ right: 0;
+ position: absolute;
+ top: 0;
+}
+
+.roomsbar {
+ position: absolute;
+ width: 114vh;
+ height: 45.75vh;
+ bottom: 3.2vh;
+ left: 4.3vh;
+ overflow-y: scroll;
+ display: block;
+}
+
+.rooms {
+ width: 22vh;
+ height: 23vh;
+ left: 0;
+ top: 0;
+ float: left;
+ margin-bottom: 1vh;
+ border-radius: .8vh;
+ margin-right: 0.7vh;
+ position: relative;
+}
+
+.rooms img {
+ width: 22.1vh;
+ height: 23.1vh;
+ left: 0;
+ top: 0;
+ position: absolute;
+}
+
+.no-text {
+ color: rgba(0, 0, 0, 0.51);
+ font-size: 1.3vh;
+ font-weight: 500;
+ font-family: 'Barlow';
+ right: 2.47vh;
+ top: .2vh;
+ position: absolute;
+}
+
+.oda-no {
+ color: rgba(0, 0, 0, 0.79);
+ font-size: 1.8vh;
+ font-weight: 800;
+ font-family: 'Barlow';
+ text-align: ceter;
+ right: .1vh;
+ top: .5vh;
+ position: relative;
+}
+
+.no-text-d {
+ color: rgba(0, 0, 0, 0.51);
+ font-size: 1.7vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+ right: 11vh;
+ top: .5vh;
+ position: absolute;
+}
+
+.oda-no-d {
+ color: rgba(0, 0, 0, 0.79);
+ font-size: 1.8vh;
+ font-weight: 800;
+ font-family: 'Barlow';
+ right: 8.5vh;
+ top: .3vh;
+ position: absolute;
+}
+
+.room-header {
+ color: white;
+ font-size: 1.7vh;
+ font-weight: 800;
+ font-family: 'Barlow';
+ left: 1.5vh;
+ bottom: 10vh;
+ position: absolute;
+}
+
+.room-descript {
+ color: rgba(255, 255, 255, 0.5);
+ font-size: 1.2vh;
+ font-family: 'Barlow';
+ left: 1.5vh;
+ bottom: 6.5vh;
+ width: 19vh;
+ height: 3vh;
+ position: absolute;
+}
+
+.rent-button-vip {
+ background: rgba(255, 255, 255, 0.08);
+ width: 19vh;
+ height: 3vh;
+ bottom: 2vh;
+ border-radius: .3vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.rent-button-vip>span {
+ color: rgba(255, 255, 255, 0.39);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+}
+
+.rent-button-vip-rented {
+ background: rgba(255, 255, 255, 0.08);
+ width: 19vh;
+ height: 3vh;
+ bottom: 2vh;
+ border-radius: .3vh;
+ cursor: not-allowed;
+ position: absolute;
+}
+
+.rent-button-vip-rented>span {
+ color: rgba(255, 255, 255, 0.39);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+}
+
+.roomsbar2 {
+ position: absolute;
+ width: 114vh;
+ height: 45.75vh;
+ bottom: 3.2vh;
+ left: 4.3vh;
+ overflow-y: scroll;
+ display: none;
+}
+
+.rooms2 {
+ width: 22vh;
+ height: 23vh;
+ left: 0;
+ top: 0;
+ float: left;
+ margin-bottom: 1vh;
+ border-radius: .8vh;
+ margin-right: 0.7vh;
+ position: relative;
+}
+
+.rooms2 img {
+ width: 22.1vh;
+ height: 23.1vh;
+ left: 0;
+ top: 0;
+ position: absolute;
+}
+
+.no-text2 {
+ color: rgba(0, 0, 0, 0.51);
+ font-size: 1.3vh;
+ font-weight: 500;
+ font-family: 'Barlow';
+ right: 2.47vh;
+ top: .2vh;
+ position: absolute;
+}
+
+.oda-no2 {
+ color: rgba(0, 0, 0, 0.79);
+ font-size: 1.8vh;
+ font-weight: 800;
+ font-family: 'Barlow';
+ text-align: center;
+ top: .5vh;
+ right: .1vh;
+ position: relative;
+}
+
+.no-text-d2 {
+ color: rgba(0, 0, 0, 0.51);
+ font-size: 1.3vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+ right: 12vh;
+ top: .3vh;
+ position: absolute;
+}
+
+.oda-no-d2 {
+ color: rgba(0, 0, 0, 0.79);
+ font-size: 1.8vh;
+ font-weight: 800;
+ font-family: 'Barlow';
+ right: 8.5vh;
+ top: .3vh;
+ position: absolute;
+}
+
+.room-header2 {
+ color: white;
+ font-size: 1.7vh;
+ font-weight: 800;
+ font-family: 'Barlow';
+ left: 1.5vh;
+ bottom: 10vh;
+ position: absolute;
+}
+
+.room-descript2 {
+ color: rgba(255, 255, 255, 0.5);
+ font-size: 1.2vh;
+ font-family: 'Barlow';
+ left: .8vh;
+ bottom: 6.5vh;
+ width: 19vh;
+ height: 3vh;
+ position: absolute;
+}
+
+.rent-button-vip2 {
+ background: rgba(255, 255, 255, 0.08);
+ width: 19vh;
+ height: 3vh;
+ bottom: 2vh;
+ border-radius: .3vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.rent-button-vip2>span {
+ color: rgba(255, 255, 255, 0.39);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+}
+
+.roomsbar3 {
+ position: absolute;
+ width: 114vh;
+ height: 45.75vh;
+ bottom: 3.2vh;
+ left: 4.3vh;
+ overflow-y: scroll;
+ display: none;
+}
+
+.rooms3 {
+ width: 22vh;
+ height: 23vh;
+ left: 0;
+ top: 0;
+ float: left;
+ margin-bottom: 1vh;
+ border-radius: .8vh;
+ margin-right: 0.7vh;
+ position: relative;
+}
+
+.rooms3 img {
+ width: 22.1vh;
+ height: 23.1vh;
+ left: 0;
+ top: 0;
+ position: absolute;
+}
+
+.no-text3 {
+ color: rgba(0, 0, 0, 0.747);
+ font-size: 1.3vh;
+ font-weight: 500;
+ font-family: 'Barlow';
+ right: 2.47vh;
+ top: .2vh;
+ position: absolute;
+}
+
+.oda-no3 {
+ color: rgba(0, 0, 0, 0.79);
+ font-size: 1.8vh;
+ font-weight: 800;
+ font-family: 'Barlow';
+ text-align: center;
+ top: .5vh;
+ right: .1vh;
+ position: relative;
+}
+
+.no-text-d3 {
+ color: rgba(0, 0, 0, 0.51);
+ font-size: 1.3vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+ right: 12vh;
+ top: .3vh;
+ position: absolute;
+}
+
+.oda-no-d3 {
+ color: rgba(0, 0, 0, 0.79);
+ font-size: 1.8vh;
+ font-weight: 800;
+ font-family: 'Barlow';
+ right: 8.5vh;
+ top: .3vh;
+ position: absolute;
+}
+
+.room-header3 {
+ color: white;
+ font-size: 1.7vh;
+ font-weight: 800;
+ font-family: 'Barlow';
+ left: 1.5vh;
+ bottom: 10vh;
+ position: absolute;
+}
+
+.room-descript3 {
+ color: rgba(255, 255, 255, 0.5);
+ font-size: 1.2vh;
+ font-family: 'Barlow';
+ left: 1.5vh;
+ bottom: 6.5vh;
+ width: 19vh;
+ height: 3vh;
+ position: absolute;
+}
+
+.rent-button-vip3 {
+ background: rgba(255, 255, 255, 0.08);
+ width: 19vh;
+ height: 3vh;
+ bottom: 2vh;
+ border-radius: .3vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.rent-button-vip3>span {
+ color: rgba(255, 255, 255, 0.39);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+}
+
+
+/*! ------------------------ BOSS MENU ------------------------ !*/
+
+.bossmenu {
+ position: absolute;
+ width: 123vh;
+ height: 70.4vh;
+ border-radius: 1vh;
+ left: 28vh;
+ top: 14.6vh;
+ background: radial-gradient(6.32% 11.57% at 99.17% 0%, rgba(244, 31, 31, 0.44) 0%, rgba(231, 33, 33, 0) 100%)/* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
+ , radial-gradient(82.3% 82.3% at 0% 105.17%, rgba(0, 117, 255, 0.114) 0%, rgba(0, 117, 255, 0) 100%)/* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
+ , radial-gradient(50% 50% at 50% 50%, rgba(3, 10, 19, 0) 0%, rgba(3, 10, 19, 0.9) 100%), rgba(3, 10, 19, 0.95);
+}
+
+.left-menu {
+ /* background-color: red; */
+ width: 26vh;
+ height: 50vh;
+ left: 0;
+ top: 15vh;
+ position: absolute;
+}
+
+.dashboard {
+ background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%);
+ width: 26vh;
+ height: 4.5vh;
+ left: 0;
+ top: 0;
+ cursor: pointer;
+ position: absolute;
+}
+
+.dashboard-icon {
+ width: 2.2vh;
+ height: 2.2vh;
+ left: 4vh;
+ opacity: 0.6;
+ position: absolute;
+}
+
+.dashboard>span {
+ color: rgba(255, 255, 255, 0.65);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ left: 9vh;
+ position: absolute;
+}
+
+.employees {
+ background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%);
+ width: 26vh;
+ height: 4.5vh;
+ left: 0;
+ top: 7vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.employee-icon {
+ width: 2.2vh;
+ height: 2.2vh;
+ left: 4vh;
+ opacity: 0.6;
+ position: absolute;
+}
+
+.employees>span {
+ color: rgba(255, 255, 255, 0.65);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ left: 9vh;
+ position: absolute;
+}
+
+.company {
+ background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%);
+ width: 26vh;
+ height: 4.5vh;
+ left: 0;
+ top: 14vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.company-icon {
+ width: 2.2vh;
+ height: 2.2vh;
+ left: 4vh;
+ opacity: 0.6;
+ position: absolute;
+}
+
+.company>span {
+ color: rgba(255, 255, 255, 0.65);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ left: 9vh;
+ position: absolute;
+}
+
+.customer {
+ background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%);
+ width: 26vh;
+ height: 4.5vh;
+ left: 0;
+ top: 21vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.customer-icon {
+ width: 2.2vh;
+ height: 2.2vh;
+ left: 4vh;
+ opacity: 0.6;
+ position: absolute;
+}
+
+.customer>span {
+ color: rgba(255, 255, 255, 0.65);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ left: 9vh;
+ position: absolute;
+}
+
+.nearby-players {
+ background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%);
+ width: 26vh;
+ height: 4.5vh;
+ left: 0;
+ top: 28vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.nearby-icon {
+ width: 2.2vh;
+ height: 2.2vh;
+ left: 4vh;
+ opacity: 0.6;
+ position: absolute;
+}
+
+.nearby-players>span {
+ color: rgba(255, 255, 255, 0.65);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ left: 9vh;
+ position: absolute;
+}
+
+.motelcare {
+ background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%);
+ width: 26vh;
+ height: 4.5vh;
+ left: 0;
+ top: 35vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.motelcare2 {
+ background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0.38%, rgba(255, 255, 255, 0) 100%);
+ width: 26vh;
+ height: 4.5vh;
+ left: 0;
+ top: 42vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+
+.motelcare-icon {
+ width: 2.2vh;
+ height: 2.2vh;
+ left: 4vh;
+ opacity: 0.6;
+ position: absolute;
+}
+
+.motelcare-icon2 {
+ width: 2.2vh;
+ height: 2.2vh;
+ left: 4vh;
+ opacity: 0.6;
+ position: absolute;
+}
+
+
+.motelcare>span {
+ color: rgba(255, 255, 255, 0.65);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ left: 9vh;
+ position: absolute;
+}
+
+.motelcare2 > span {
+ color: rgba(255, 255, 255, 0.65);
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ left: 9vh;
+ position: absolute;
+}
+
+.dashboardmenu {
+ /* background: red; */
+ position: absolute;
+ width: 85.599vh;
+ left: 34.8vh;
+ bottom: 4.4vh;
+ height: 51vh;
+}
+
+.dashboardmenu h1 {
+ position: absolute;
+ top: 0;
+ left: 0;
+ color: #FFFFFF;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 2.2vh;
+ line-height: 90%;
+}
+
+.d-total-rooms {
+ position: absolute;
+ width: 27.5vh;
+ height: 16vh;
+ top: 5vh;
+ background: rgba(255, 255, 255, 0.07);
+ left: 0;
+}
+
+.d-total-rooms span {
+ position: absolute;
+ width: 13vh;
+ height: 5vh;
+ left: 1.3vh;
+ top: 1vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ /* font-size: 24px; */
+ font-size: 1.9vh;
+ line-height: 120%;
+ /* or 29px */
+ color: #A5ABBD;
+}
+
+.d-total-rooms p {
+ position: absolute;
+ left: 1.3vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ /* font-size: 35.25px; */
+ font-size: 2.8vh;
+ line-height: 134.5%;
+ bottom: 2vh;
+ background: linear-gradient(124.39deg, #0085FF 20.58%, #00B2FF 90.19%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ text-fill-color: transparent;
+}
+
+.d-available-rooms {
+ position: absolute;
+ width: 27.5vh;
+ height: 16vh;
+ top: 5vh;
+ background: rgba(255, 255, 255, 0.07);
+ left: 29.1vh;
+}
+
+.d-available-rooms span {
+ position: absolute;
+ width: 13vh;
+ height: 5vh;
+ left: 1.3vh;
+ top: 1vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ /* font-size: 24px; */
+ font-size: 1.9vh;
+ line-height: 120%;
+ /* or 29px */
+ color: #A5ABBD;
+}
+
+.d-available-rooms p {
+ position: absolute;
+ left: 1.3vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ /* font-size: 35.25px; */
+ font-size: 2.8vh;
+ line-height: 134.5%;
+ bottom: 2vh;
+ background: linear-gradient(124.39deg, #00FFA3 20.58%, #00FF66 90.19%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ text-fill-color: transparent;
+}
+
+.total-customers {
+ position: absolute;
+ width: 27.5vh;
+ height: 16vh;
+ top: 5vh;
+ background: rgba(255, 255, 255, 0.07);
+ left: 58.1vh;
+}
+
+.total-customers span {
+ position: absolute;
+ width: 13vh;
+ height: 5vh;
+ left: 1.3vh;
+ top: 1vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ /* font-size: 24px; */
+ font-size: 1.9vh;
+ line-height: 120%;
+ /* or 29px */
+ color: #A5ABBD;
+}
+
+.total-customers p {
+ position: absolute;
+ left: 1.3vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ /* font-size: 35.25px; */
+ font-size: 2.8vh;
+ line-height: 134.5%;
+ bottom: 2vh;
+ background: linear-gradient(124.39deg, #FFFFFF 20.58%, #FFFFFF 90.19%);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ background-clip: text;
+ text-fill-color: transparent;
+}
+
+#chancemotelname {
+ position: absolute;
+ left: 0;
+ top: 25vh;
+ width: 55vh;
+ height: 6vh;
+ background: rgba(255, 255, 255, 0.07);
+ border: 2px solid rgba(255, 255, 255, 0.08);
+ border-radius: .2vh;
+ outline: none;
+ color: rgba(255, 255, 255, 0.35);
+ font-size: 2vh;
+}
+
+
+
+.savebtn {
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ border-radius: .3vh;
+ width: 20vh;
+ height: 4vh;
+ cursor: pointer;
+}
+
+.savebtn h4 {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 1.92vh;
+ line-height: 134.5%;
+ color: rgba(0, 0, 0, 0.56);
+}
+
+.savebtn2 {
+ position: absolute;
+ bottom: 0;
+ right: 23vh;
+ background: radial-gradient(130% 130% at 50% 50%, #D24444 0%, rgba(232, 78, 78, 0) 100%);
+ border-radius: .3vh;
+ width: 18vh;
+ height: 4vh;
+ cursor: pointer;
+}
+
+.savebtn2 h4 {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 1.92vh;
+ line-height: 134.5%;
+ color: rgba(0, 0, 0, 0.56);
+}
+
+.savebtn3 {
+ position: absolute;
+ bottom: 0;
+ left: 17vh;
+ background: #00A3FF;
+ border-radius: .3vh;
+ width: 18vh;
+ height: 4vh;
+ cursor: pointer;
+}
+
+.savebtn3 h4 {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 1.92vh;
+ line-height: 134.5%;
+ color: rgba(0, 0, 0, 0.56);
+}
+
+#transfermotelid {
+ position: absolute;
+ left: 0vh;
+ bottom: 0vh;
+ width: 14vh;
+ height: 4vh;
+ background: rgba(255, 255, 255, 0.07);
+ border: 2px solid rgba(255, 255, 255, 0.08);
+ border-radius: .2vh;
+ outline: none;
+ color: rgba(255, 255, 255, 0.35);
+ font-size: 1.9vh;
+}
+
+.companymenu {
+ /* background: red; */
+ position: absolute;
+ width: 85.599vh;
+ left: 34.8vh;
+ bottom: 4.4vh;
+ height: 51vh;
+}
+
+.companymenu h1 {
+ position: absolute;
+ top: 0;
+ left: 0;
+ color: #FFFFFF;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 2.4vh;
+ line-height: 90%;
+}
+
+.c-dashboard {
+ left: 0;
+ position: absolute;
+ top: 4vh;
+ background: rgba(255, 255, 255, 0.06);
+ /* background: rgba(255, 255, 255, 0.06); */
+ width: 85.599vh;
+ height: 15.1vh;
+}
+
+.c-dashboard span {
+ position: absolute;
+ width: 16vh;
+ height: 6vh;
+ top: 2vh;
+ left: 1vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 800;
+ font-size: 2.1vh;
+ line-height: 119.5%;
+ /* or 31px */
+ text-transform: uppercase;
+ color: #FFFFFF;
+}
+
+.c-dashboard p {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ font-size: 3vh;
+ line-height: 105%;
+ text-transform: uppercase;
+ color: rgba(34, 213, 73, 0.73);
+ left: 1vh;
+ position: absolute;
+ top: 9vh;
+}
+
+.withdraw {
+ width: 30vh;
+ height: 16vh;
+ top: 20vh;
+ left: 0;
+ position: absolute;
+}
+
+.w-text {
+ color: #D03636;
+ font-size: 1.8vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+ left: 0;
+ top: 2vh;
+ position: absolute;
+}
+
+.withdraw input {
+ font-family: 'Barlow';
+ color: #D03636;
+ font-size: 1.8vh;
+ padding-left: 1vh;
+}
+
+#w-amount {
+ background: rgba(255, 255, 255, 0.12);
+ border-radius: .7vh;
+ outline: none;
+ border: none;
+ width: 25vh;
+ height: 4.5vh;
+ left: 0;
+ top: 5vh;
+ position: absolute;
+}
+
+#w-submit {
+ background: linear-gradient(90deg, #DA3333 0%, #971D1D 100%);
+ border-radius: .7vh;
+ outline: none;
+ border: none;
+ width: 25vh;
+ height: 4.5vh;
+ left: 0;
+ color: white;
+ font-weight: 400;
+ font-family: 'Barlow';
+ font-size: 1.5vh;
+ bottom: 1vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.deposit {
+ width: 30vh;
+ height: 16vh;
+ bottom: -2vh;
+ left: 0;
+ position: absolute;
+}
+
+.d-text {
+ color: #7CCE2A;
+ font-size: 1.8vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+ left: 0;
+ top: 2vh;
+ position: absolute;
+}
+
+#d-amount {
+ background: rgba(255, 255, 255, 0.12);
+ border-radius: .7vh;
+ outline: none;
+ border: none;
+ width: 25vh;
+ height: 4.5vh;
+ left: 0;
+ top: 5vh;
+ position: absolute;
+}
+
+#d-submit {
+ background: linear-gradient(90deg, #2DCE2A 0%, #00FF57 100%);
+ border-radius: .7vh;
+ outline: none;
+ border: none;
+ width: 25vh;
+ height: 4.5vh;
+ left: 0;
+ color: white;
+ font-weight: 400;
+ font-family: 'Barlow';
+ font-size: 1.5vh;
+ bottom: 1vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.company-history {
+ width: 48vh;
+ height: 30.8vh;
+ right: 3.65vh;
+ bottom: -1vh;
+ position: absolute;
+}
+
+.c-text {
+ color: white;
+ font-size: 1.8vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+ left: 0;
+ top: 0;
+ position: absolute;
+}
+
+.history {
+ width: 48vh;
+ height: 28vh;
+ bottom: 0;
+ left: 0;
+ display: block;
+ overflow-y: auto;
+ position: absolute;
+}
+
+.h-list {
+ background: rgba(255, 255, 255, 0.06);
+ border-radius: .8vh;
+ width: 47.5vh;
+ height: 5vh;
+ top: 0;
+ left: 0;
+ margin-bottom: 1vh;
+ position: relative;
+}
+
+.h-list img {
+ width: 2.8vh;
+ height: 2.8vh;
+ left: 2vh;
+ position: absolute;
+}
+
+.h-list>span {
+ color: rgba(255, 255, 255, 0.68);
+ font-size: 1.3vh;
+ font-weight: 600;
+ left: 11vh;
+ font-family: 'Barlow';
+ position: absolute;
+}
+
+.h-list>p {
+ color: rgba(54, 208, 69, 0.87);
+ right: 2vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+ position: absolute;
+}
+
+.employeesmenu {
+ position: absolute;
+ width: 85.599vh;
+ left: 34.8vh;
+ top: 15vh;
+ height: 53.1vh;
+}
+
+.employeesmenu #e-title {
+ position: absolute;
+ top: 0;
+ left: 0;
+ color: #FFFFFF;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 2.4vh;
+ line-height: 90%;
+}
+
+.e-invitebtn {
+ position: absolute;
+ right: 0;
+ top: 0;
+ background: #00A3FF;
+ border-radius: .2vh;
+ width: 14.4vh;
+ height: 2.6vh;
+}
+
+.e-invitebtn h4 {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ font-size: 1.7vh;
+ line-height: 105%;
+ color: rgba(0, 0, 0, 0.51);
+}
+
+.e-list-title {
+ position: absolute;
+ top: 4vh;
+ left: 1.8vh;
+ width: 82.1vh;
+ height: 2.6vh;
+ display: flex;
+}
+
+#e-name {
+ position: absolute;
+ left: -0.7vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.e-list-title>#e-rank {
+ position: absolute;
+ left: 19.8vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.e-list-title>#e-salary {
+ position: absolute;
+ left: 39.2vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.e-list-title>#e-rankud {
+ position: absolute;
+ left: 59vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.e-list-title>#e-action {
+ position: absolute;
+ right: 1.8vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.e-list-body {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ height: 46.45vh;
+ width: 85.599vh;
+ overflow-y: auto;
+ overflow-x: hidden;
+ display: block;
+}
+
+.e-employees-list {
+ position: relative;
+ background: rgba(255, 255, 255, 0.04);
+ border-radius: 2.17056px 2.17056px 0px 0px;
+ width: 85.599vh;
+ height: 3.8vh;
+ margin-bottom: 0;
+ top: .5vh;
+}
+
+.e-employees-list:nth-child(odd) {
+ background: rgba(255, 255, 255, 0.04);
+}
+
+.e-employees-list:nth-child(even) {
+ background: rgba(255, 255, 255, 0.02);
+}
+
+.e-employees-list>#e-e-l-name {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 1vh;
+ position: absolute;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.7);
+}
+
+.e-employees-list>#e-e-l-rank {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 21.7vh;
+ position: absolute;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.7);
+}
+
+
+/* .e-employees-list>#e-e-l-salary {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 41vh;
+ text-align: start;
+ justify-content: start;
+ width: 10vh;
+ height: 2.2vh;
+ position: absolute;
+ font-weight: 500;
+ font-size: 1vh;
+ line-height: 105%;
+ padding-left: .5vh;
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.15);
+ border-radius: 2px;
+ /* identical to box height, or 19px
+ color: rgba(255, 255, 255, 0.48);
+} */
+
+#player-salary {
+ background: rgba(255, 255, 255, 0.06);
+ border: 1px solid rgba(255, 255, 255, 0.15);
+ color: rgba(255, 255, 255, 0.377) !important;
+ border-radius: 2px;
+ outline: none;
+ font-size: 1.2vh;
+ padding: .5vh !important;
+ width: 10vh;
+ height: 2.2vh;
+ z-index: 999999999;
+ left: 41vh;
+ position: absolute;
+}
+
+.e-employees-list i {
+ color: rgb(0, 255, 0);
+ right: 32.5vh;
+ cursor: pointer;
+ position: absolute;
+ display: block;
+}
+
+.e-employees-list>.rankup-icon {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 60vh;
+ width: 5vh;
+ height: 2.2vh;
+ position: absolute;
+}
+
+.e-employees-list>.rankdown-icon {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 60.3vh;
+ width: 5vh;
+ height: 2.2vh;
+ position: absolute;
+}
+
+#rankdown {
+ width: 2vh;
+ height: 2vh;
+ left: 7.5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+#rankup {
+ width: 2vh;
+ height: 2vh;
+ cursor: pointer;
+}
+
+.e-employees-list>.action-icon {
+ font-family: 'Barlow';
+ font-style: normal;
+ right: 0.1vh;
+ width: 10vh;
+ height: 2.2vh;
+ position: absolute;
+}
+
+.action-icon img {
+ width: 6.5vh;
+ height: 2vh;
+ cursor: pointer;
+}
+
+.employee-invite {
+ width: 50vh;
+ height: 30vh;
+ background: #08121C;
+ border: 2px solid rgba(255, 255, 255, 0.13);
+ z-index: 99;
+ left: 1vh;
+ top: 3vh;
+ border-radius: .8vh;
+ position: absolute;
+ cursor: pointer;
+}
+
+.employee-invite>span {
+ color: white;
+ font-family: 'Barlow';
+ font-size: 1.9vh;
+ top: 3vh;
+ left: 3vh;
+ position: absolute;
+}
+
+.nearby-players-employee {
+ width: 43.2vh;
+ height: 22vh;
+ bottom: 1vh;
+ display: block;
+ overflow-y: auto;
+ overflow-x: hidden;
+ position: absolute;
+}
+
+.npe-list {
+ background: rgba(255, 255, 255, 0.08);
+ width: 43.2vh;
+ height: 4vh;
+ top: 0;
+ left: 0;
+ margin-bottom: 1vh;
+ border-radius: .5vh;
+ position: relative;
+}
+
+.npe-list:nth-child(odd) {
+ background: rgba(255, 255, 255, 0.04);
+}
+
+.npe-list:nth-child(even) {
+ background: rgba(255, 255, 255, 0.02);
+}
+
+
+.npe-list>span {
+ color: rgba(255, 255, 255, 0.67);
+ font-family: 'Barlow';
+ font-weight: 400;
+ font-size: 1.5vh;
+ left: 2vh;
+ position: absolute;
+}
+
+.invite-button-npe {
+ background: #00A3FF;
+ width: 9vh;
+ height: 2.5vh;
+ border-radius: .4vh;
+ right: 2vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.invite-button-npe>span {
+ color: black;
+ font-family: 'Barlow';
+ font-weight: 400;
+ font-size: 1.3vh;
+}
+
+.customersmenu {
+ position: absolute;
+ width: 85.599vh;
+ left: 34.8vh;
+ top: 15vh;
+ height: 53.1vh;
+}
+
+#c-title {
+ position: absolute;
+ top: 0;
+ left: 0;
+ color: #FFFFFF;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 2.4vh;
+ line-height: 90%;
+}
+
+.c-list-title {
+ position: absolute;
+ top: 4vh;
+ left: 1.8vh;
+ width: 82.1vh;
+ height: 2.6vh;
+ display: flex;
+}
+
+#c-name {
+ position: absolute;
+ left: -0.7vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.c-list-title>#c-rank {
+ position: absolute;
+ left: 10.8vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.c-customers-list>#c-c-l-date {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 12.7vh;
+ position: absolute;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.7);
+}
+
+.c-list-title>#c-salary {
+ position: absolute;
+ left: 32.2vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.c-customers-list>#c-c-l-room {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 34.2vh;
+ position: absolute;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.7);
+}
+
+.c-list-title>#c-rankud {
+ position: absolute;
+ left: 48vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.c-customers-list>#c-c-l-money {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 50vh;
+ position: absolute;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(56, 255, 88, 0.7);
+}
+
+.c-list-title>#c-phonenumber {
+ position: absolute;
+ left: 61vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.c-customers-list>#c-c-l-phone {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 63vh;
+ position: absolute;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.c-list-title>#c-action {
+ position: absolute;
+ right: 1.8vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.c-list-body {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ height: 46.45vh;
+ width: 85.599vh;
+ overflow-y: auto;
+ overflow-x: hidden;
+ display: block;
+}
+
+.c-customers-list {
+ position: relative;
+ background: rgba(255, 255, 255, 0.04);
+ border-radius: 2.17056px 2.17056px 0px 0px;
+ width: 85.599vh;
+ height: 3.8vh;
+ margin-bottom: 0vh;
+ top: .5vh;
+}
+
+.c-customers-list>#c-c-l-name {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 1vh;
+ position: absolute;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.7);
+}
+
+.c-customers-list:nth-child(odd) {
+ background: rgba(255, 255, 255, 0.04);
+}
+
+.c-customers-list:nth-child(even) {
+ background: rgba(255, 255, 255, 0.02);
+}
+
+.c-customers-list>.c-action-icon {
+ font-family: 'Barlow';
+ font-style: normal;
+ right: 0.1vh;
+ width: 10vh;
+ height: 2.2vh;
+ position: absolute;
+}
+
+.c-action-icon img {
+ width: 6.5vh;
+ height: 2vh;
+ cursor: pointer;
+}
+
+.nearby-players-cat {
+ position: absolute;
+ width: 85.599vh;
+ left: 34.8vh;
+ top: 15vh;
+ height: 53.1vh;
+}
+
+#n-title {
+ position: absolute;
+ top: 0;
+ left: 0;
+ color: #FFFFFF;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 2.4vh;
+ line-height: 90%;
+}
+
+.n-list-body {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ height: 46.45vh;
+ width: 85.599vh;
+ overflow-y: auto;
+ overflow-x: hidden;
+ display: block;
+ /* Normal => block */
+}
+
+.n-list-title {
+ position: absolute;
+ top: 4vh;
+ left: 1.8vh;
+ width: 82.1vh;
+ height: 2.6vh;
+ display: flex;
+}
+
+#n-name {
+ position: absolute;
+ left: -0.7vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+#n-action {
+ position: absolute;
+ right: 16.5vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.52);
+}
+
+.n-np-list {
+ position: relative;
+ background: rgba(255, 255, 255, 0.04);
+ border-radius: 2.17056px 2.17056px 0px 0px;
+ width: 84.599vh;
+ height: 3.8vh;
+ margin-bottom: 0;
+ top: .5vh;
+}
+
+.n-np-list>#n-n-l-name {
+ font-family: 'Barlow';
+ font-style: normal;
+ left: 1vh;
+ position: absolute;
+ font-weight: 500;
+ font-size: 1.5vh;
+ line-height: 105%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.7);
+}
+
+.invite-button-np {
+ background: radial-gradient(147.22% 147.22% at 50% 50%, #37DE65 0%, rgba(52, 231, 102, 0) 100%);
+ width: 20vh;
+ height: 2vh;
+ border-radius: .2vh;
+ right: 2vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.invite-button-np>span {
+ color: black;
+ font-family: 'Barlow';
+ font-weight: 400;
+ font-size: 1.3vh;
+}
+
+.np-invite-settings {
+ position: absolute;
+ width: 85.599vh;
+ left: 0;
+ bottom: 0;
+ height: 49.1vh;
+}
+
+.nis-name-text {
+ color: #00A3FF;
+ font-family: 'Barlow';
+ font-size: 1.8vh;
+ left: 0;
+ top: 2vh;
+ position: absolute;
+}
+
+.nis-name {
+ color: white;
+ font-family: 'Barlow';
+ font-size: 2vh;
+ font-weight: 400;
+ left: 0;
+ top: 4vh;
+ position: absolute;
+}
+
+.nis-cizgi {
+ background: rgba(255, 255, 255, 0.08);
+ width: 53vh;
+ height: .2vh;
+ top: 4.2vh;
+ right: 14vh;
+ position: absolute;
+}
+
+.nis-id-text {
+ color: #00A3FF;
+ font-family: 'Barlow';
+ font-size: 1.8vh;
+ right: 0;
+ top: 2vh;
+ position: absolute;
+}
+
+.nis-id {
+ color: white;
+ font-family: 'Barlow';
+ font-size: 2vh;
+ font-weight: 400;
+ right: 0;
+ top: 4vh;
+ position: absolute;
+}
+
+.nis-chooseroom {
+ color: white;
+ font-family: 'Barlow';
+ font-size: 1.8vh;
+ font-weight: 400;
+ left: 0;
+ top: 14vh;
+ position: absolute;
+}
+
+.nis-cizgi2 {
+ background: rgba(255, 255, 255, 0.08);
+ width: 60vh;
+ height: .2vh;
+ top: 15.2vh;
+ right: 9.5vh;
+ position: absolute;
+}
+
+.nis-select {
+ color: white;
+ font-family: 'Barlow';
+ font-size: 1.8vh;
+ font-weight: 400;
+ right: 0;
+ top: 14vh;
+ position: absolute;
+}
+
+.nis-rooms {
+ width: 85.599vh;
+ height: 13vh;
+ top: 18vh;
+ left: 0;
+ overflow-y: auto;
+ overflow-x: hidden;
+ display: block;
+ position: absolute;
+}
+
+.nis-rooms-list {
+ background: rgba(255, 255, 255, 0.13);
+ width: 16vh;
+ height: 4vh;
+ border-radius: .3vh;
+ top: 0;
+ left: 0;
+ margin-right: 1vh;
+ margin-bottom: 1vh;
+ bottom: 1vh;
+ cursor: pointer;
+ float: left;
+ position: relative;
+}
+
+.nis-rooms-list>span {
+ color: rgba(255, 255, 255, 0.6);
+ font-family: 'Barlow';
+ font-size: 1.4vh;
+ font-weight: 400;
+}
+
+.enterprice {
+ color: rgba(255, 255, 255, 0.79);
+ font-family: 'Barlow';
+ bottom: 12vh;
+ left: 0;
+ font-size: 1.7vh;
+ font-weight: 400;
+ position: absolute;
+}
+
+#nearby-players-settings-price {
+ background: rgba(255, 255, 255, 0.08);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ width: 25vh;
+ height: 4vh;
+ left: 0;
+ bottom: 7vh;
+ outline: none;
+ border-radius: .3vh;
+ position: absolute;
+}
+
+#nearby-players-settings-price::placeholder {
+ color: #7cce2a71;
+}
+
+.enterday {
+ color: rgba(255, 255, 255, 0.79);
+ font-family: 'Barlow';
+ bottom: 12vh;
+ right: 30vh;
+ font-size: 1.7vh;
+ font-weight: 400;
+ position: absolute;
+}
+
+#nearby-players-settings-time {
+ background: rgba(255, 255, 255, 0.08);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ width: 25vh;
+ height: 4vh;
+ right: 19vh;
+ bottom: 7vh;
+ outline: none;
+ border-radius: .3vh;
+ color: rgba(255, 255, 255, 0.616) !important;
+ position: absolute;
+}
+
+.npc-accept {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 15vh;
+ height: 3.5vh;
+ right: 2vh;
+ bottom: 0;
+ border-radius: .4vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.npc-accept>span {
+ color: black;
+ font-family: 'Barlow';
+ font-size: 1.5vh;
+}
+
+.npc-cancel {
+ background: radial-gradient(130% 130% at 50% 50%, #DD3131 0%, rgba(204, 57, 57, 0) 100%);
+ width: 15vh;
+ height: 3.5vh;
+ right: 18vh;
+ bottom: 0;
+ border-radius: .4vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.npc-cancel>span {
+ color: black;
+ font-family: 'Barlow';
+ font-size: 1.5vh;
+}
+
+
+/*! ----------------- OTHER ----------------- !*/
+
+.send-room-invite {
+ background: rgba(8, 18, 28, 0.95);
+ width: 60vh;
+ height: 40vh;
+ border-radius: .8vh;
+ position: absolute;
+}
+
+.send-room-invite-door {
+ background: rgba(8, 18, 28, 0.95);
+ width: 60vh;
+ height: 27vh;
+ border-radius: .8vh;
+ position: absolute;
+}
+
+.send-room-invite-friends {
+ background: rgba(8, 18, 28, 0.95);
+ width: 60vh;
+ height: 27vh;
+ border-radius: .8vh;
+ position: absolute;
+}
+
+.send-motel-transfer {
+ background: rgba(8, 18, 28, 0.95);
+ width: 60vh;
+ height: 24vh;
+ border-radius: .8vh;
+ position: absolute;
+}
+
+
+.motel-name-container-transfer{
+ background: rgba(255, 255, 255, 0.05);
+ width: 55vh;
+ height: 4.5vh;
+ top: 11vh;
+ border-radius: .5vh;
+ position: absolute;
+}
+
+.send-room-soru {
+ background: rgba(8, 18, 28, 0.95);
+ width: 60vh;
+ height: 35vh;
+ border-radius: .8vh;
+ position: absolute;
+}
+
+.motel-name-container-soru {
+ background: rgba(255, 255, 255, 0.05);
+ width: 55vh;
+ height: 4.5vh;
+ top: 4vh;
+ border-radius: .5vh;
+ position: absolute;
+}
+
+.motel-name-room-container-soru {
+ background: rgba(255, 255, 255, 0.05);
+ width: 55vh;
+ height: 4.5vh;
+ top: 10vh;
+ border-radius: .5vh;
+ position: absolute;
+}
+
+.motel-name-time-container-soru {
+ background: rgba(255, 255, 255, 0.05);
+ width: 55vh;
+ height: 4.5vh;
+ top: 16vh;
+ border-radius: .5vh;
+ position: absolute;
+}
+
+#motel-time-input {
+ background: none;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ outline: none;
+ right: 7vh;
+ width: 7vh;
+ height: 3vh;
+ border: none;
+ position: absolute;
+ text-align: center;
+ color: white;
+ justify-content: center;
+ border-bottom: .1vh solid white;
+ padding: 0;
+}
+
+#motel-time-input::placeholder {
+ text-align: center;
+ justify-content: center;
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ opacity: 0.5;
+}
+
+#motel-time-input-text {
+ color: white;
+ font-size: 1.3vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+.motel-name-price-container-soru {
+ background: rgba(255, 255, 255, 0.05);
+ width: 55vh;
+ height: 4.5vh;
+ top: 22vh;
+ border-radius: .5vh;
+ position: absolute;
+}
+
+.sri-accept {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ right: 2.5vh;
+ bottom: 2vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.sri-accept>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+.sri-decline {
+ background: radial-gradient(130% 130% at 50% 50%, #DD3131 0%, rgba(204, 57, 57, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ left: 2.5vh;
+ bottom: 2vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.sri-decline>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+.sri-accept-soru {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ right: 2.5vh;
+ bottom: 3vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.sri-accept-soru>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+.sri-decline-soru {
+ background: radial-gradient(130% 130% at 50% 50%, #DD3131 0%, rgba(204, 57, 57, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ left: 2.5vh;
+ bottom: 3vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.sri-decline-soru>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+.sri-text {
+ color: #00A3FF;
+ font-size: 2.2vh;
+ top: 3vh;
+ position: absolute;
+}
+
+.sri-text>span {
+ color: #FFFFFFA3;
+ margin-left: 1vh;
+ font-size: 2vh;
+}
+
+.motel-name-container {
+ background: rgba(255, 255, 255, 0.05);
+ width: 55vh;
+ height: 4.5vh;
+ top: 9vh;
+ border-radius: .5vh;
+ position: absolute;
+}
+
+
+
+
+.motelname {
+ color: rgba(255, 255, 255, 0.7);
+ font-size: 1.4vh;
+ font-family: 'Barlow';
+ font-weight: 400;
+ left: 2vh;
+ position: absolute;
+}
+
+#motel-name {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+#motel-name-door {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+#motel-name-friends {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+#motel-name-transfer {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+#motel-name2 {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+.motel-name-room-container {
+ background: rgba(255, 255, 255, 0.05);
+ width: 55vh;
+ height: 4.5vh;
+ top: 15vh;
+ border-radius: .5vh;
+ position: absolute;
+}
+
+.motelroom {
+ color: rgba(255, 255, 255, 0.7);
+ font-size: 1.4vh;
+ font-family: 'Barlow';
+ font-weight: 400;
+ left: 2vh;
+ position: absolute;
+}
+
+#motel-room {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+#motel-room-door {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+#motel-room-friends {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+#motel-room2 {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+.motel-name-time-container {
+ background: rgba(255, 255, 255, 0.05);
+ width: 55vh;
+ height: 4.5vh;
+ top: 21vh;
+ border-radius: .5vh;
+ position: absolute;
+}
+
+.moteltime {
+ color: rgba(255, 255, 255, 0.7);
+ font-size: 1.4vh;
+ font-family: 'Barlow';
+ font-weight: 400;
+ left: 2vh;
+ position: absolute;
+}
+
+#motel-time {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+.motel-name-price-container {
+ background: rgba(255, 255, 255, 0.05);
+ width: 55vh;
+ height: 4.5vh;
+ top: 27vh;
+ border-radius: .5vh;
+ position: absolute;
+}
+
+.motelprice {
+ color: rgba(255, 255, 255, 0.7);
+ font-size: 1.4vh;
+ font-family: 'Barlow';
+ font-weight: 400;
+ left: 2vh;
+ position: absolute;
+}
+
+#motel-price {
+ color: #34D674;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+#motel-price-soru {
+ color: #34D674;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+#acceptreqq {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ right: 2.5vh;
+ bottom: 2vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+#acceptreqq>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+#acceptreqq-door {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ right: 2.5vh;
+ bottom: 2vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+#acceptreqq-door>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+#acceptreqq-friends {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ right: 2.5vh;
+ bottom: 2vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+#acceptreqq-friends>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+#acceptreqq-transfer {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ right: 2.5vh;
+ bottom: 2vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+#acceptreqq-transfer>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+#closereq {
+ background: radial-gradient(130% 130% at 50% 50%, #DD3131 0%, rgba(204, 57, 57, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ left: 2.5vh;
+ bottom: 2vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+#closereq>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+#closereq-door {
+ background: radial-gradient(130% 130% at 50% 50%, #DD3131 0%, rgba(204, 57, 57, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ left: 2.5vh;
+ bottom: 2vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+#closereq-door>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+#closereq-friends {
+ background: radial-gradient(130% 130% at 50% 50%, #DD3131 0%, rgba(204, 57, 57, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ left: 2.5vh;
+ bottom: 2vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+#closereq-friends>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+#closereq-transfer {
+ background: radial-gradient(130% 130% at 50% 50%, #DD3131 0%, rgba(204, 57, 57, 0) 100%);
+ width: 26.5vh;
+ height: 4vh;
+ left: 2.5vh;
+ bottom: 2vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+#closereq-transfer>span {
+ color: black;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+}
+
+.motel-care-menu {
+ position: absolute;
+ width: 85.599vh;
+ left: 34.8vh;
+ bottom: 4.4vh;
+ height: 51vh;
+}
+
+.motel-care-menu h1 {
+ color: white;
+ font-size: 3vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ position: absolute;
+ left: 0vh;
+ top: 0vh;
+}
+
+.motel-care-room-list {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ width: 85.599vh;
+ height: 46.3vh;
+ display: block;
+ overflow-y: auto;
+ overflow-x: hidden;
+}
+
+.motel-care-rooms {
+ display: inline-block;
+ width: 15.8vh;
+ height: 16.4vh;
+ left: 0;
+ top: 0;
+ border-radius: .8vh;
+ margin-right: 1.22vh;
+ margin-top: 1.22vh;
+ position: relative;
+}
+
+.motel-care-rooms img {
+ width: 15.8vh;
+ height: 16.4vh;
+ left: 0;
+ top: 0;
+ position: absolute;
+}
+
+.motel-care-room-header {
+ color: white;
+ font-size: 1.3vh;
+ font-weight: 800;
+ font-family: 'Barlow';
+ left: 1.3vh;
+ bottom: 6.8vh;
+ position: absolute;
+}
+
+.motel-care-room-descript {
+ color: white;
+ font-size: 1vh;
+ font-weight: 500;
+ line-height: 107.5%;
+ font-family: 'Barlow';
+ left: 1.4vh;
+ bottom: 4.1vh;
+ position: absolute;
+}
+
+.motel-core-no-text {
+ color: rgba(0, 0, 0, 0.71);
+ position: absolute;
+ top: .2vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ line-height: 105%;
+ left: 4.1vh;
+ font-size: 1.4vh;
+}
+
+.motel-core-oda-no {
+ color: rgba(0, 0, 0, 0.71);
+ position: absolute;
+ top: .2vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ line-height: 105%;
+ left: 6.3vh;
+ font-size: 1.4vh;
+}
+
+.motel-core-oda-level {
+ color: rgba(0, 0, 0, 0.71);
+ position: absolute;
+ top: .2vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 800;
+ line-height: 105%;
+ right: 3.8vh;
+ font-size: 1.4vh;
+}
+
+.motel-core-level-text {
+ color: rgba(0, 0, 0, 0.71);
+ position: absolute;
+ top: .2vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ line-height: 105%;
+ right: 1.8vh;
+ font-size: 1.4vh;
+}
+
+.motel-care-upgrade-button {
+ position: absolute;
+ left: 1.4vh;
+ bottom: 1.7vh;
+ width: 13.3vh;
+ height: 1.8vh;
+ background: linear-gradient(90.43deg, rgba(1, 171, 69, 0.6) 0.28%, rgba(0, 255, 102, 0.6) 103.35%);
+ border: 1.5px solid #00FF38;
+ border-radius: .3vh;
+ cursor: pointer;
+}
+
+.motel-care-upgrade-button span {
+ color: rgba(255, 255, 255, 0.64);
+ font-size: 1vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+}
+
+.motel-core-fixit-no-text {
+ position: absolute;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ font-size: 1.3vh;
+ line-height: 105%;
+ top: .2vh;
+ left: 6.2vh;
+ /* or 14px */
+ text-align: center;
+ color: rgba(255, 255, 255, 0.71);
+ opacity: 0.67;
+}
+
+.motel-core-fixit-no {
+ position: absolute;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 800;
+ font-size: 1.3vh;
+ line-height: 105%;
+ top: .2vh;
+ left: 8.5vh;
+ /* or 14px */
+ text-align: center;
+ color: #FFFFFF;
+ opacity: 0.67;
+}
+
+.motel-care-fixit-button {
+ position: absolute;
+ left: 1.4vh;
+ bottom: 1.7vh;
+ width: 13.3vh;
+ height: 1.8vh;
+ background: linear-gradient(90.43deg, rgba(230, 230, 230, 0.3) 0.28%, rgba(170, 170, 170, 0.3) 103.35%);
+ border: 1.5px solid rgba(255, 255, 255, 0.45);
+ border-radius: .3vh;
+ cursor: pointer;
+}
+
+.motel-care-fixit-button span {
+ color: rgba(255, 255, 255, 0.64);
+ font-size: 1vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+}
+
+.fix-room-menu {
+ background: rgba(8, 18, 28, 0.95);
+ width: 60vh;
+ height: 27.1vh;
+ border-radius: .8vh;
+ position: absolute;
+}
+
+.fixmenu-sri-text {
+ color: #FFFFFF;
+ font-size: 2.4vh;
+ top: 3vh;
+ position: absolute;
+}
+
+.fixmenu-motelroom {
+ color: rgba(255, 255, 255, 0.7);
+ font-size: 1.4vh;
+ font-family: 'Barlow';
+ font-weight: 400;
+ left: 2vh;
+ position: absolute;
+}
+
+#fixmenu-motel-room {
+ color: white;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+.fixmenu-motelprice {
+ color: rgba(255, 255, 255, 0.7);
+ font-size: 1.4vh;
+ font-family: 'Barlow';
+ font-weight: 400;
+ left: 2vh;
+ position: absolute;
+}
+
+#fixmenu-motel-price {
+ color: #34D674;
+ font-size: 1.5vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ right: 2vh;
+ position: absolute;
+}
+
+
+/* REQUEST */
+.chancestyle-motelroomsrequest {
+ position: absolute;
+ width: 105.8vh;
+ height: 63.9vh;
+ background: rgba(4, 10, 17, 0.95);
+ border: 2px solid rgba(255, 255, 255, 0.13);
+ border-radius: 1vh;
+ left: 36.4vh;
+}
+
+.chancestyle-motelroomsrequest img {
+ position: absolute;
+ width: 6.4vh;
+ height: 8.9vh;
+ top: -.6vh;
+ right: 8.7vh;
+}
+
+.chancestyle-motelroomsrequest h1 {
+ position: absolute;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 800;
+ font-size: 2.5vh;
+ top: 1.7vh;
+ left: 3.6vh;
+ line-height: 123.5%;
+ /* identical to box height, or 37px */
+ color: #0094FF;
+}
+
+.chancestyle-motelroomsrequest span {
+ position: absolute;
+ font-family: 'Barlow';
+ font-style: normal;
+ top: 5vh;
+ left: 3.6vh;
+ font-weight: 500;
+ font-size: 2vh;
+ line-height: 123.5%;
+ /* identical to box height, or 25px */
+ color: #FFFFFF;
+}
+
+.upgrademenu-styleeditrequest {
+ position: absolute;
+ width: 45.1vh;
+ height: 40.1vh;
+ /* background: red; */
+ left: 4.9vh;
+ top: 14.49vh;
+ display: block;
+ overflow-y: auto;
+}
+
+#upgrademenu-title2request {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 2.1vh;
+ line-height: 134.5%;
+ /* identical to box height, or 30px */
+ color: rgba(255, 255, 255, 0.63);
+ top: 12vh;
+ left: 4.6vh;
+}
+
+#upgrademenu-title3request {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 2.1vh;
+ line-height: 134.5%;
+ /* identical to box height, or 30px */
+ color: rgba(255, 255, 255, 0.63);
+ top: 12vh;
+ left: 55.39vh;
+}
+
+.cm-containerrequest {
+ width: 5.9vh;
+ height: 7vh;
+ right: 8.7vh;
+ top: 0;
+ text-align: center;
+ position: absolute;
+}
+
+#upgrademenu-no-textrequest {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ font-size: 2.2vh;
+ /* line-height: 134.5%; */
+ /* identical to box height, or 30px */
+ top: -1.56vh;
+ left: -.02vh;
+ text-align: center;
+ position: relative;
+ color: rgba(0, 0, 0, 0.51);
+}
+
+#upgrademenu-no-numberrequest {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 800;
+ font-size: 2.2vh;
+ /* line-height: 134.5%; */
+ /* identical to box height, or 30px */
+ top: 3vh;
+ left: 2.50vh;
+ text-align: center;
+ position: absolute;
+ color: rgba(0, 0, 0, 0.51);
+}
+
+.upgrademenu-stylebarrequest {
+ display: inline-block;
+ position: relative;
+ top: 0;
+ left: 0;
+ width: 14.39vh;
+ height: 14.3vh;
+ background: rgb(198, 198, 198);
+ margin-right: .44vh;
+ margin-top: .44vh;
+ /* margin-left: .3vh; */
+}
+
+.upgrademenu-stylebarrequest .anan-activeknkrequest {
+ background: linear-gradient(139.54deg, #0085FF 22.14%, #004483 107.17%);
+}
+
+.selectbtnrequest {
+ position: absolute;
+ width: 14.41vh;
+ height: 3vh;
+ background: rgb(0, 0, 0);
+ border-radius: 0vh 0vh 0.2vh 0.2vh;
+ top: 11.37vh;
+ cursor: pointer;
+}
+
+
+.upgrademenu-stylebarrequest>#upstyle1request {
+ position: absolute;
+ width: 14.39vh;
+ height: 11.3vh;
+ top: 0;
+ left: 0;
+}
+
+.upgrademenu-walleditrequest {
+ position: absolute;
+ width: 45.1vh;
+ height: 40.1vh;
+ right: 4.9vh;
+ top: 14.49vh;
+ display: block;
+ overflow-y: auto;
+}
+
+.upgrademenu-wallbarrequest {
+ display: inline-block;
+ position: relative;
+ top: 0;
+ left: 0;
+ width: 14.39vh;
+ height: 14.3vh;
+ margin-right: .44vh;
+ margin-top: .44vh;
+ /* margin-left: .3vh; */
+}
+
+.upgrademenu-wallbarrequest .bacin-activeknkrequest {
+ background: linear-gradient(139.54deg, #0085FF 22.14%, #004483 107.17%);
+}
+
+.upgrademenu-wallbarrequest>#upwalls1request {
+ position: absolute;
+ width: 14.39vh;
+ height: 11.3vh;
+ top: 0;
+ left: 0;
+}
+
+.selectbtnrequest .selectbtnrequest-active {
+ color: black !important;
+}
+
+.selectbtnwallrequest .selectbtnwallrequest-active {
+ color: black !important;
+}
+
+
+.selectbtnrequest h5 {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1.5vh;
+ line-height: 134.5%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.43);
+}
+
+.selectbtnwallrequest {
+ position: absolute;
+ width: 14.41vh;
+ height: 3vh;
+ background: rgb(0, 0, 0);
+ border-radius: 0vh 0vh 0.2vh 0.2vh;
+ top: 11.30vh;
+ cursor: pointer;
+}
+
+.selectbtnwallrequest h5 {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1.5vh;
+ line-height: 134.5%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.43);
+}
+
+.up-menu-cancel-btnrequest {
+ position: absolute;
+ bottom: 2.3vh;
+ left: 25.5vh;
+ width: 23.8vh;
+ height: 3.4vh;
+ background: radial-gradient(130% 130% at 50% 50%, #D24444 0%, rgba(232, 78, 78, 0) 100%);
+ border-radius: .4vh;
+}
+
+#up-menu-cancel-txtrequest {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 2.1vh;
+ line-height: 134.5%;
+ /* or 29px */
+ color: rgba(0, 0, 0, 0.56);
+ cursor: pointer;
+}
+
+.up-menu-save-btnrequest {
+ position: absolute;
+ bottom: 2.3vh;
+ left: 51.6vh;
+ width: 23.8vh;
+ height: 3.4vh;
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ border-radius: .4vh;
+ cursor: pointer;
+}
+
+#up-menu-save-txtrequest {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 21.6557px;
+ font-size: 2.1vh;
+ /* or 29px */
+ color: rgba(0, 0, 0, 0.78);
+}
+
+
+.badrooms-upgraderequest {
+ top: 3.4vh;
+ left: 31vh;
+ position: absolute;
+ /* background: linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%); */
+ background: rgba(255, 255, 255, 0.09);
+ border-radius: 5px;
+ width: 15vh;
+ height: 3.5vh;
+ cursor: pointer;
+}
+
+#squatterimgupgraderequest {
+ width: 2vh;
+ height: 2vh;
+ left: 1vh;
+ top: 0.8vh;
+ position: absolute;
+}
+
+.badrooms-upgraderequest>span {
+ text-align: center;
+ color: rgba(255, 255, 255, 0.3);
+ font-size: 1.2vh;
+ top: 1.15vh;
+ position: absolute;
+}
+
+.middlerooms-upgraderequest {
+ top: 3.4vh;
+ left: 47.5vh;
+ position: absolute;
+ /* background: linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%); */
+ background: rgba(255, 255, 255, 0.09);
+ border-radius: 5px;
+ width: 15vh;
+ height: 3.5vh;
+ cursor: pointer;
+}
+
+#middleimgpraderequest {
+ width: 2vh;
+ height: 2vh;
+ left: 1vh;
+ top: 0.8vh;
+ position: absolute;
+}
+
+.middlerooms-upgraderequest>span {
+ text-align: center;
+ color: rgba(255, 255, 255, 0.3);
+ font-size: 1.2vh;
+ left: 4.7vh;
+ top: 1.15vh;
+ position: absolute;
+}
+
+.viprooms-upgraderequest {
+ top: 3.4vh;
+ left: 64vh;
+ position: absolute;
+ /* background: linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%); */
+ background: rgba(255, 255, 255, 0.09);
+ border-radius: 5px;
+ width: 15vh;
+ height: 3.5vh;
+ cursor: pointer;
+}
+
+#vipimgupgraderequest {
+ width: 2vh;
+ height: 2vh;
+ left: 1vh;
+ top: 0.8vh;
+ position: absolute;
+}
+
+.viprooms-upgraderequest>span {
+ text-align: center;
+ color: rgba(255, 255, 255, 0.3);
+ font-size: 1.2vh;
+ left: 5.1vh;
+ top: 1.15vh;
+ position: absolute;
+}
+
+/* REQUEST BİTTİ SAYGILAR*/
+
+
+.chancestyle-motelrooms {
+ position: absolute;
+ width: 105.8vh;
+ height: 63.9vh;
+ background: rgba(4, 10, 17, 0.95);
+ border: 2px solid rgba(255, 255, 255, 0.13);
+ border-radius: 11px;
+ left: 36.4vh;
+}
+
+.chancestyle-motelrooms img {
+ position: absolute;
+ width: 6.4vh;
+ height: 8.9vh;
+ top: -.6vh;
+ right: 8.7vh;
+}
+
+.chancestyle-motelrooms h1 {
+ position: absolute;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 800;
+ font-size: 2.5vh;
+ top: 1.7vh;
+ left: 3.6vh;
+ line-height: 123.5%;
+ /* identical to box height, or 37px */
+ color: #0094FF;
+}
+
+.chancestyle-motelrooms span {
+ position: absolute;
+ font-family: 'Barlow';
+ font-style: normal;
+ top: 5vh;
+ left: 3.6vh;
+ font-weight: 500;
+ font-size: 2vh;
+ line-height: 123.5%;
+ /* identical to box height, or 25px */
+ color: #FFFFFF;
+}
+
+
+
+.upgrademenu-styleedit {
+ position: absolute;
+ width: 45.1vh;
+ height: 40.1vh;
+ /* background: red; */
+ left: 4.9vh;
+ top: 14.49vh;
+ display: block;
+ overflow-y: auto;
+}
+
+#upgrademenu-title2 {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 2.1vh;
+ line-height: 134.5%;
+ /* identical to box height, or 30px */
+ color: rgba(255, 255, 255, 0.63);
+ top: 12vh;
+ left: 4.6vh;
+}
+
+#upgrademenu-title3 {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 500;
+ font-size: 2.1vh;
+ line-height: 134.5%;
+ /* identical to box height, or 30px */
+ color: rgba(255, 255, 255, 0.63);
+ top: 12vh;
+ left: 55.39vh;
+}
+
+.cm-container {
+ width: 5.9vh;
+ height: 7vh;
+ right: 8.7vh;
+ top: 0;
+ text-align: center;
+ position: absolute;
+}
+
+#upgrademenu-no-text {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ font-size: 2.2vh;
+ /* line-height: 134.5%; */
+ /* identical to box height, or 30px */
+ top: -1.56vh;
+ left: -.02vh;
+ text-align: center;
+ position: relative;
+ color: rgba(0, 0, 0, 0.51);
+}
+
+#upgrademenu-no-number {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 800;
+ font-size: 2.2vh;
+ /* line-height: 134.5%; */
+ /* identical to box height, or 30px */
+ top: 3vh;
+ left: 2.50vh;
+ text-align: center;
+ position: absolute;
+ color: rgba(0, 0, 0, 0.51);
+}
+
+.upgrademenu-stylebar {
+ display: inline-block;
+ position: relative;
+ top: 0;
+ left: 0;
+ width: 14.39vh;
+ height: 14.3vh;
+ background: rgb(198, 198, 198);
+ margin-right: .44vh;
+ margin-top: .44vh;
+ /* margin-left: .3vh; */
+}
+
+.upgrademenu-stylebar .anan-activeknk {
+ background: linear-gradient(139.54deg, #0085FF 22.14%, #004483 107.17%);
+}
+
+.selectbtn {
+ position: absolute;
+ width: 14.41vh;
+ height: 3vh;
+ background: rgb(0, 0, 0);
+ border-radius: 0vh 0vh 0.2vh 0.2vh;
+ top: 11.37vh;
+ cursor: pointer;
+}
+
+
+.upgrademenu-stylebar>#upstyle1 {
+ position: absolute;
+ width: 14.39vh;
+ height: 11.3vh;
+ top: 0;
+ left: 0;
+}
+
+.upgrademenu-walledit {
+ position: absolute;
+ width: 45.1vh;
+ height: 40.1vh;
+ right: 4.9vh;
+ top: 14.49vh;
+ display: block;
+ overflow-y: auto;
+}
+
+.upgrademenu-wallbar {
+ display: inline-block;
+ position: relative;
+ top: 0;
+ left: 0;
+ width: 14.39vh;
+ height: 14.3vh;
+ margin-right: .44vh;
+ margin-top: .44vh;
+ /* margin-left: .3vh; */
+}
+
+.upgrademenu-wallbar .bacin-activeknk {
+ background: linear-gradient(139.54deg, #0085FF 22.14%, #004483 107.17%);
+}
+
+.upgrademenu-wallbar>#upwalls1 {
+ position: absolute;
+ width: 14.39vh;
+ height: 11.3vh;
+ top: 0;
+ left: 0;
+}
+
+.selectbtnrequest .selectbtn-active {
+ color: black !important;
+}
+
+.selectbtn .selectbtn-active {
+ color: black !important;
+}
+
+.selectbtnwall .selectbtnwall-active {
+ color: black !important;
+}
+
+
+.selectbtnwallrequest .selectbtnwall-active-request {
+ color: black !important;
+}
+
+
+.selectbtn h5 {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1.5vh;
+ line-height: 134.5%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.43);
+}
+
+.selectbtnwall {
+ position: absolute;
+ width: 14.41vh;
+ height: 3vh;
+ background: rgb(0, 0, 0);
+ border-radius: 0vh 0vh 0.2vh 0.2vh;
+ top: 11.30vh;
+ cursor: pointer;
+}
+
+.selectbtnwall h5 {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1.5vh;
+ line-height: 134.5%;
+ /* identical to box height, or 19px */
+ color: rgba(255, 255, 255, 0.43);
+}
+
+.up-menu-cancel-btn {
+ position: absolute;
+ bottom: 2.3vh;
+ left: 25.5vh;
+ width: 23.8vh;
+ height: 3.4vh;
+ cursor: pointer;
+ background: radial-gradient(130% 130% at 50% 50%, #D24444 0%, rgba(232, 78, 78, 0) 100%);
+ border-radius: .4vh;
+}
+
+#up-menu-cancel-txt {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 2.1vh;
+ line-height: 134.5%;
+ /* or 29px */
+ color: rgba(0, 0, 0, 0.56);
+ cursor: pointer;
+}
+
+.up-menu-save-btn {
+ position: absolute;
+ bottom: 2.3vh;
+ left: 51.6vh;
+ width: 23.8vh;
+ height: 3.4vh;
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ border-radius: .4vh;
+ cursor: pointer;
+}
+
+#up-menu-save-txt {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 21.6557px;
+ font-size: 2.1vh;
+ /* or 29px */
+ color: rgba(0, 0, 0, 0.78);
+}
+
+.motel-isletme-satin-alma-ekrani {
+ background: url(img/isletme-solback.png);
+ background-size: cover;
+ position: absolute;
+ width: 100vw;
+ height: 100vh;
+ left: 0;
+ top: 0;
+}
+
+.motel-satinalma-sidebar {
+ position: absolute;
+ top: 32vh;
+ left: 6.3vh;
+ width: 34.7vh;
+ height: 36.2vh;
+}
+
+#isletme-motelkonum {
+ position: absolute;
+ top: 0;
+ left: 0;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 800;
+ font-size: 2.6vh;
+ line-height: 105%;
+ /* or 31px */
+ color: #0094FF;
+}
+
+#isletme-motelname {
+ position: absolute;
+ left: 0;
+ top: 3vh;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ font-size: 2vh;
+ line-height: 105%;
+ /* identical to box height, or 21px */
+ color: #FFFFFF;
+}
+
+#isletme-motelaciklama {
+ top: 7.5vh;
+ position: absolute;
+ left: 0;
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1.5vh;
+ line-height: 134.5%;
+ /* or 22px */
+ color: rgba(255, 255, 255, 0.5);
+}
+
+.isletme-odabilgi-kutu1 {
+ position: absolute;
+ left: 0;
+ top: 15vh;
+ background: rgba(255, 255, 255, 0.13);
+ border-radius: .4vh;
+ width: 34.7vh;
+ height: 4.4vh;
+}
+
+#active-motelrooms {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1.3vh;
+ line-height: 134.5%;
+ position: absolute;
+ left: 1.2vh;
+ /* identical to box height, or 22px */
+ color: rgba(255, 255, 255, 0.7);
+}
+
+#active-motelrooms-number {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ font-size: 1.3vh;
+ line-height: 134.5%;
+ /* identical to box height, or 22px */
+ right: 2vh;
+ position: absolute;
+ color: #FFFFFF;
+}
+
+.isletme-odabilgi-kutu2 {
+ position: absolute;
+ left: 0;
+ top: 20vh;
+ background: rgba(255, 255, 255, 0.13);
+ border-radius: .4vh;
+ width: 34.7vh;
+ height: 4.4vh;
+}
+
+#total-motelrooms {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1.3vh;
+ line-height: 134.5%;
+ position: absolute;
+ left: 1.2vh;
+ /* identical to box height, or 22px */
+ color: rgba(255, 255, 255, 0.7);
+}
+
+#total-motelrooms-number {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ font-size: 1.3vh;
+ line-height: 134.5%;
+ /* identical to box height, or 22px */
+ right: 2vh;
+ position: absolute;
+ color: #FFFFFF;
+}
+
+.isletme-odabilgi-kutu3 {
+ position: absolute;
+ left: 0;
+ top: 25vh;
+ background: rgba(255, 255, 255, 0.13);
+ border-radius: .4vh;
+ width: 34.7vh;
+ height: 4.4vh;
+}
+
+#damaged-motelrooms {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 400;
+ font-size: 1.3vh;
+ line-height: 134.5%;
+ position: absolute;
+ left: 1.2vh;
+ /* identical to box height, or 22px */
+ color: rgba(255, 255, 255, 0.7);
+}
+
+#damaged-motelrooms-number {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ font-size: 1.3vh;
+ line-height: 134.5%;
+ /* identical to box height, or 22px */
+ right: 2vh;
+ position: absolute;
+ color: #FFFFFF;
+}
+
+#isletme-price {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 700;
+ font-size: 2.3vh;
+ line-height: 134.5%;
+ /* or 40px */
+ letter-spacing: 0.07em;
+ color: #23CC67;
+ bottom: 0;
+ position: absolute;
+ left: 0;
+}
+
+#isletme-price-txt {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 600;
+ font-size: 1.9vh;
+ line-height: 134.5%;
+ /* identical to box height, or 27px */
+ color: #FFFFFF;
+ position: absolute;
+ left: 0;
+ bottom: 2.9vh;
+}
+
+.motel-satinalma-btns {
+ position: absolute;
+ width: 32.7vh;
+ height: 11vh;
+ bottom: 4.9vh;
+}
+
+.motel-satinalma-solbtn {
+ top: 0;
+ left: 0;
+ position: absolute;
+ width: 4.3vh;
+ height: 4.3vh;
+ background: rgba(255, 255, 255, 0.37);
+ border: 2.19403px solid #FFFFFF;
+ border-radius: .7vh;
+ cursor: pointer;
+}
+
+#motel-satinalma-vector {
+ width: 33%;
+ height: 33%;
+ position: absolute;
+}
+
+.motel-satinalma-motelnumber-txt {
+ position: absolute;
+ width: 8.1vh;
+ height: 2.8vh;
+ background: rgba(255, 255, 255, 0.42);
+ border-radius: .3vh;
+ top: .7vh;
+}
+
+#motel-satinalma-bakilannumber {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 800;
+ font-size: 2.1vh;
+ position: absolute;
+ left: 2.8vh;
+ line-height: 134.5%;
+ /* or 32px */
+ color: rgba(0, 0, 0, 0.65);
+}
+
+#motel-satinalma-totalnumber {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 400;
+ font-size: 2.1vh;
+ line-height: 134.5%;
+ left: 4vh;
+ position: absolute;
+ color: rgba(0, 0, 0, 0.65);
+}
+
+.motel-satinalma-sagbtn {
+ top: 0;
+ right: 0;
+ position: absolute;
+ width: 4.3vh;
+ height: 4.3vh;
+ background: rgba(255, 255, 255, 0.37);
+ border: 2.19403px solid #FFFFFF;
+ border-radius: .7vh;
+ cursor: pointer;
+}
+
+#motel-satinalma-vector-ters {
+ width: 33%;
+ height: 33%;
+ position: absolute;
+ transform: rotate(180deg);
+}
+
+.motel-satinalma-buybtn {
+ position: absolute;
+ width: 27vh;
+ height: 4.3vh;
+ bottom: 0;
+ background: linear-gradient(141.1deg, rgba(0, 255, 71, 0.6) 18.48%, rgba(4, 126, 38, 0.6) 95.17%);
+ border: .2vh solid #00FF29;
+ border-radius: .5vh;
+ cursor: pointer;
+}
+
+#motel-satinalma-buybtn-txt {
+ font-family: 'Barlow';
+ font-style: normal;
+ font-weight: 7 00;
+ font-size: 2.1vh;
+ line-height: 134.5%;
+ /* or 32px */
+ color: rgba(255, 255, 255, 0.6);
+}
+
+.ortabutton .viproomclick {
+ background: linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%);
+}
+
+.viprooms .viproomclick2 {
+ color: rgba(0, 0, 0, 0.73);
+}
+
+.ortabutton .middleroomclick {
+ background: linear-gradient(124.39deg, #0085FF 20.58%, #00B2FF 90.19%);
+}
+
+.middlerooms .middleroomclick2 {
+ color: rgba(0, 0, 0, 0.73);
+}
+
+.ortabutton .badroomclick {
+ background: linear-gradient(0deg, rgba(205, 76, 76, 0.473), rgba(205, 76, 76, 0.2)), rgba(255, 255, 255, 0.08);
+}
+
+.pwodalari .badroomclick2 {
+ color: rgba(0, 0, 0, 0.73);
+}
+
+.odanocontainer {
+ color: black;
+ width: 3.7vh;
+ height: 4vh;
+ right: 1.5vh;
+ top: 0;
+ position: absolute;
+}
+
+.nis-rooms .nis-active {
+ background: #00A3FF;
+}
+
+.nis-rooms .nis-active2 {
+ color: black;
+}
+
+.send-request {
+ background: rgba(8, 18, 28, 0.95);
+ border-radius: 11px;
+ width: 50vh;
+ height: 20vh;
+ display: none;
+ z-index: 99999999999;
+ position: absolute;
+}
+
+.send-request>span {
+ color: #FFFFFFA3;
+ top: 1vh;
+ left: 1vh;
+ text-align: center;
+ font-weight: 400;
+ font-family: 'Barlow';
+ font-size: 1.8vh;
+ position: absolute;
+}
+
+.accept-offer {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 23vh;
+ height: 5vh;
+ right: 1vh;
+ bottom: 1vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.accept-offer>span {
+ color: rgba(0, 0, 0, 0.699);
+ font-size: 1.8vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+}
+
+.decline-offer {
+ background: radial-gradient(130% 130% at 50% 50%, #DD3131 0%, rgba(204, 57, 57, 0) 100%);
+ width: 23vh;
+ height: 5vh;
+ left: 1vh;
+ bottom: 1vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.decline-offer>span {
+ color: rgba(0, 0, 0, 0.699);
+ font-size: 1.8vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+}
+
+.badrooms-upgrade {
+ top: 3.4vh;
+ left: 31vh;
+ position: absolute;
+ /* background: linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%); */
+ background: rgba(255, 255, 255, 0.09);
+ border-radius: 5px;
+ width: 15vh;
+ height: 3.5vh;
+ cursor: pointer;
+}
+
+#squatterimgupgrade {
+ width: 2vh;
+ height: 2vh;
+ left: 1vh;
+ top: 0.8vh;
+ position: absolute;
+}
+
+.badrooms-upgrade>span {
+ text-align: center;
+ color: rgba(255, 255, 255, 0.3);
+ font-size: 1.2vh;
+ top: 1.15vh;
+ position: absolute;
+}
+
+.middlerooms-upgrade {
+ top: 3.4vh;
+ left: 47.5vh;
+ position: absolute;
+ /* background: linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%); */
+ background: rgba(255, 255, 255, 0.09);
+ border-radius: 5px;
+ width: 15vh;
+ height: 3.5vh;
+ cursor: pointer;
+}
+
+#middleimgprade {
+ width: 2vh;
+ height: 2vh;
+ left: 1vh;
+ top: 0.8vh;
+ position: absolute;
+}
+
+.middlerooms-upgrade>span {
+ text-align: center;
+ color: rgba(255, 255, 255, 0.3);
+ font-size: 1.2vh;
+ left: 4.7vh;
+ top: 1.15vh;
+ position: absolute;
+}
+
+.viprooms-upgrade {
+ top: 3.4vh;
+ left: 64vh;
+ position: absolute;
+ /* background: linear-gradient(158.74deg, #FFB800 14.01%, #FF8A00 108.88%); */
+ background: rgba(255, 255, 255, 0.09);
+ border-radius: 5px;
+ width: 15vh;
+ height: 3.5vh;
+ cursor: pointer;
+}
+
+#vipimgupgrade {
+ width: 2vh;
+ height: 2vh;
+ left: 1vh;
+ top: 0.8vh;
+ position: absolute;
+}
+
+.viprooms-upgrade > span {
+ text-align: center;
+ color: rgba(255, 255, 255, 0.3);
+ font-size: 1.2vh;
+ left: 5.1vh;
+ top: 1.15vh;
+ position: absolute;
+}
+
+#search-customers {
+ background-color: transparent;
+ width: 20vh;
+ height: 3vh;
+ color: white;
+ outline: none;
+ padding: 0 !important;
+ text-align: center;
+ border: none;
+ z-index: 999999999;
+ top: 0;
+ right: 3.8vh;
+ border-bottom: 2px solid white;
+ position: absolute;
+}
+
+.motel-management {
+ display: none;
+}
+
+.motel-management {
+ background: radial-gradient(82.3% 82.3% at 0% 105.17%, rgba(0, 117, 255, 0.114) 0%, rgba(0, 117, 255, 0) 100%), radial-gradient(50% 50% at 50% 50%, rgba(3, 10, 19, 0) 0%, rgba(3, 10, 19, 0.9) 100%), rgba(3, 10, 19, 0.95);
+ width: 43vh;
+ height: 58vh;
+ border-top-right-radius: 10px;
+ border-bottom-right-radius: 10px;
+ left: 0;
+ opacity: 0.95;
+ position: absolute;
+}
+
+.motel-management h1 {
+ color: white;
+ top: 1vh;
+ font-size: 3vh;
+ position: absolute;
+}
+
+.mm-cizgi {
+ background: rgba(217, 217, 217, 0.08);
+ width: 38vh;
+ height: 1vh;
+ top: 8vh;
+ border-radius: .8vh;
+ position: absolute;
+}
+
+.management-nearby {
+ background: radial-gradient(135.96% 135.96% at 50% 50%, rgba(255, 255, 255, 0.21) 0%, rgba(255, 255, 255, 0) 100%);
+ width: 10vh;
+ height: 6.5vh;
+ top: 12vh;
+ left: 5vh;
+ border: 2px solid rgba(255, 255, 255, 0.21);
+ border-radius: .3vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.management-nearby > span {
+ color: white;
+ width: 7vh;
+ text-align: center;
+ font-size: 1.5vh;
+ word-wrap: break-word;
+}
+
+.management-friends {
+ background: radial-gradient(135.96% 135.96% at 50% 50%, rgba(255, 255, 255, 0.21) 0%, rgba(255, 255, 255, 0) 100%);
+ width: 10vh;
+ height: 6.5vh;
+ top: 12vh;
+ right: 16.5vh;
+ border: 2px solid rgba(255, 255, 255, 0.21);
+ border-radius: .3vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.management-friends > span {
+ color: white;
+ width: 7vh;
+ text-align: center;
+ font-size: 1.5vh;
+ word-wrap: break-word;
+}
+
+.management-requests {
+ background: radial-gradient(135.96% 135.96% at 50% 50%, rgba(255, 255, 255, 0.21) 0%, rgba(255, 255, 255, 0) 100%);
+ width: 10vh;
+ height: 6.5vh;
+ top: 12vh;
+ right: 5vh;
+ border: 2px solid rgba(255, 255, 255, 0.21);
+ border-radius: .3vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.management-requests > span {
+ color: white;
+ width: 7vh;
+ text-align: center;
+ font-size: 1.5vh;
+ word-wrap: break-word;
+}
+
+.mm-ikincicizgi {
+ background: rgba(217, 217, 217, 0.08);
+ width: 33vh;
+ height: 1vh;
+ left: 5vh;
+ top: 22vh;
+ border-radius: 0.8vh;
+ position: absolute;
+}
+
+.mm-nearby-players {
+ background: radial-gradient(135.96% 135.96% at 50% 50%, rgba(255, 255, 255, 0.21) 0%, rgba(255, 255, 255, 0) 100%);
+ width: 33vh;
+ height: 27vh;
+ bottom: 6vh;
+ border: 2px solid rgba(255, 255, 255, 0.21);
+ border-radius: .4vh;
+ display: none;
+ position: absolute;
+}
+
+.mm-nearby-players > span {
+ color: white;
+ font-size: 1.8vh;
+ top: 2vh;
+ position: absolute;
+}
+
+.mnp-players {
+ width: 29vh;
+ height: 20vh;
+ bottom: 1vh;
+ display: block; /* Normal => block */
+ overflow-y: auto;
+ overflow-x: hidden;
+ position: absolute;
+}
+
+.playersiste {
+ background: rgba(217, 217, 217, 0.15);
+ width: 29vh;
+ height: 4vh;
+ top: 0;
+ margin-bottom: 1vh;
+ border-radius: .5vh;
+ position: relative;
+}
+
+.playersiste > span {
+ width: 11vh;
+ color: white;
+ left: 1vh;
+ font-size: 1.5vh;
+ position: absolute;
+}
+
+.pi-add {
+ background: #00A3FF;
+ width: 7.5vh;
+ height: 3vh;
+ right: 9vh;
+ border-radius: .8vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.pi-add > span {
+ width: 7.5vh;
+ color: black;
+ font-size: 1.3vh;
+ text-align: center;
+}
+
+.pi-invite {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 7.5vh;
+ height: 3vh;
+ right: 1vh;
+ border-radius: .8vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.pi-invite > span {
+ width: 7.5vh;
+ color: black;
+ font-size: 1.3vh;
+ font-weight: 600;
+ text-align: center;
+}
+
+.mm-friends {
+ background: radial-gradient(135.96% 135.96% at 50% 50%, rgba(255, 255, 255, 0.21) 0%, rgba(255, 255, 255, 0) 100%);
+ width: 33vh;
+ height: 27vh;
+ bottom: 6vh;
+ border: 2px solid rgba(255, 255, 255, 0.21);
+ border-radius: .4vh;
+ display: none;
+ position: absolute;
+}
+
+.mm-friends > span {
+ color: white;
+ font-size: 1.8vh;
+ top: 2vh;
+ position: absolute;
+}
+
+.send-request2 {
+ background: rgba(8, 18, 28, 0.95);
+ border-radius: 11px;
+ width: 50vh;
+ height: 20vh;
+ display: none;
+ z-index: 99999999999;
+ position: absolute;
+}
+
+.mf-players {
+ width: 29vh;
+ height: 20vh;
+ bottom: 1vh;
+ display: block; /* Normal => block */
+ overflow-y: auto;
+ overflow-x: hidden;
+ position: absolute;
+}
+
+.playersiste2 {
+ background: rgba(217, 217, 217, 0.15);
+ width: 29vh;
+ height: 4vh;
+ top: 0;
+ margin-bottom: 1vh;
+ border-radius: .5vh;
+ position: relative;
+}
+
+.playersiste2 > span {
+ color: white;
+ left: 1vh;
+ font-size: 1.5vh;
+ position: absolute;
+}
+
+.pi-kick {
+ background: #CC4242;
+ width: 8vh;
+ height: 3vh;
+ right: 1vh;
+ border-radius: .8vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.pi-kick > span {
+ width: 7.5vh;
+ color: black;
+ font-size: 1.3vh;
+ font-weight: 600;
+ text-align: center;
+}
+
+.time-update {
+ background: radial-gradient(135.96% 135.96% at 50% 50%, rgba(255, 255, 255, 0.21) 0%, rgba(255, 255, 255, 0) 100%);
+ width: 28vh;
+ height: 4vh;
+ bottom: 1vh;
+ left: 5vh;
+ border: 2px solid rgba(255, 255, 255, 0.21);
+ border-radius: .4vh;
+ display: flex;
+ position: absolute;
+}
+
+.time-left {
+ width: 10.6vh;
+ color: white;
+ left: .5vh;
+ font-size: 1.2vh;
+ text-align: center;
+ position: absolute;
+}
+
+.new-time {
+ background: radial-gradient(135.96% 135.96% at 50% 50%, rgba(255, 255, 255, 0.21) 0%, rgba(255, 255, 255, 0) 100%);
+ width: 8vh;
+ height: 2vh;
+ font-size: 1.3vh !important;
+ padding: .2vh !important;
+ border: 1px solid white;
+ outline: none;
+ right: 8vh;
+ position: absolute;
+}
+
+.tu-price {
+ color: #15EE70;
+ right: 1vh;
+ font-size: 1.2vh;
+ position: absolute;
+}
+
+.mm-save {
+ background: #00A3FF;
+ width: 4vh;
+ right: 5vh;
+ bottom: 1vh;
+ height: 4vh;
+ border-radius: .5vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.mm-save > span {
+ color: black;
+ font-size: 1.2vh;
+ text-align: center;
+}
+
+.send-request2 > span {
+ color: #FFFFFFA3;
+ top: 1vh;
+ left: 1vh;
+ text-align: center;
+ font-weight: 400;
+ font-family: 'Barlow';
+ font-size: 1.8vh;
+ position: absolute;
+}
+
+.accept-offer2 {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 23vh;
+ height: 5vh;
+ right: 1vh;
+ bottom: 1vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.accept-offer2 > span {
+ color: rgba(0, 0, 0, 0.699);
+ font-size: 1.8vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+}
+
+.decline-offer2 {
+ background: radial-gradient(130% 130% at 50% 50%, #DD3131 0%, rgba(204, 57, 57, 0) 100%);
+ width: 23vh;
+ height: 5vh;
+ left: 1vh;
+ bottom: 1vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.decline-offer2 > span {
+ color: rgba(0, 0, 0, 0.699);
+ font-size: 1.8vh;
+ font-weight: 600;
+ font-family: 'Barlow';
+}
+
+.motel-management .emrelutfisagolsun {
+ background: radial-gradient(135.96% 135.96% at 50% 50%, rgba(0, 163, 255, 0.52) 0%, rgba(255, 255, 255, 0) 100%);
+}
+
+.motel-care-menu-request {
+ position: absolute;
+ width: 85.599vh;
+ left: 34.8vh;
+ bottom: 4.4vh;
+ height: 51vh;
+}
+
+.motel-care-menu-request h1 {
+ color: white;
+ font-size: 3vh;
+ font-family: 'Barlow';
+ font-weight: 600;
+ position: absolute;
+ left: 0vh;
+ top: 0vh;
+}
+
+.request-list {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ width: 85.599vh;
+ height: 46.3vh;
+ display: block;
+ overflow-y: auto;
+ overflow-x: hidden;
+}
+
+.requests {
+ background: radial-gradient(135.96% 135.96% at 50% 50%, rgba(255, 255, 255, 0.096) 0%, rgba(255, 255, 255, 0) 100%);
+ width: 20.4vh;
+ height: 15vh;
+ border-radius: .4vh;
+ left: 0;
+ top: 0;
+ float: left;
+ margin-right: 1vh;
+ margin-bottom: 1vh;
+ position: relative;
+}
+
+.barisinbiip {
+ width: 20.4vh;
+ height: 15vh;
+ left: 0;
+ bottom: 0;
+ opacity: 0.3;
+ position: absolute;
+}
+
+.barisinbiip:hover {
+ z-index: 999;
+ opacity: 1;
+}
+
+.r-header {
+ color: white;
+ top: 1vh;
+ font-size: 1.5vh;
+ position: absolute;
+}
+
+.requests-text {
+ color: white;
+ font-size: 1.3vh;
+ text-align: center;
+}
+
+.r-accept {
+ background: radial-gradient(130% 130% at 50% 50%, #00FF66 0%, rgba(0, 255, 102, 0) 100%);
+ width: 10.1vh;
+ height: 3vh;
+ bottom: 0;
+ right: 0;
+ border-top-right-radius: .4vh;
+ border-bottom-right-radius: .4vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.r-accept > span {
+ color: black;
+ font-weight: 600;
+ font-size: 1.5vh;
+}
+
+.r-decline {
+ background: radial-gradient(130% 130% at 50% 50%, #DD3131 0%, rgba(204, 57, 57, 0) 100%);
+ width: 10.1vh;
+ height: 3vh;
+ bottom: 0;
+ left: 0;
+ border-top-left-radius: .4vh;
+ border-bottom-left-radius: .4vh;
+ cursor: pointer;
+ position: absolute;
+}
+
+.r-decline > span {
+ color: black;
+ font-weight: 600;
+ font-size: 1.5vh;
+}
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/oph3z-motels.sql b/resources/[housing]/oph3z-motels/oph3z-motels.sql
new file mode 100644
index 000000000..442d23e08
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/oph3z-motels.sql
@@ -0,0 +1,12 @@
+
+CREATE TABLE IF NOT EXISTS `oph3z_motel` (
+ `id` int(11) NOT NULL DEFAULT 0,
+ `names` text NOT NULL DEFAULT '[]',
+ `info` text NOT NULL DEFAULT '[]',
+ `employees` text NOT NULL DEFAULT '[]',
+ `rooms` longtext NOT NULL CHECK (json_valid(`rooms`)),
+ `history` text NOT NULL DEFAULT '[]',
+ `bucketcache` text NOT NULL DEFAULT '[]',
+ `request` text NOT NULL DEFAULT '[]',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/server/main.lua b/resources/[housing]/oph3z-motels/server/main.lua
new file mode 100644
index 000000000..c6c8cf5cd
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/server/main.lua
@@ -0,0 +1,1836 @@
+if Config.Data.Framework == "OLDQBCore"then
+ QBCore = nil
+
+ Citizen.CreateThread(function()
+ while QBCore == nil do
+ TriggerEvent('QBCore:GetObject', function(obj) QBCore = obj end)
+ Citizen.Wait(30) -- Saniye Bekletme
+ end
+ end)
+else
+ QBCore = exports['qb-core']:GetCoreObject()
+end
+
+motelacanlar = {}
+motelacanlar2 = {}
+
+RegisterNetEvent("oph3z-motels:server:BossMenuAcildi", function (id, acildi)
+ if acildi then
+ local src = source
+ local kayitVar = false
+ for _, value in ipairs(motelacanlar) do
+ if value.source == src and value.Motelno == id then
+ kayitVar = true
+ break
+ end
+ end
+
+ if not kayitVar then
+ motelacanlar[#motelacanlar+1] = {
+ source = src,
+ Motelno = id,
+ }
+ end
+ else
+
+ for index, value in ipairs(motelacanlar) do
+ if value.source == source then
+ table.remove(motelacanlar, index)
+ break
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:RentMotelAcildi", function(id, acildi)
+ local src = source
+ local kayitVarMotel = false
+ for _, value in ipairs(motelacanlar2) do
+ if value.source == src and value.Motelno == id then
+ kayitVarMotel = true
+ break
+ end
+ end
+
+ if acildi then
+ if not kayitVarMotel then
+ motelacanlar2[#motelacanlar2+1] = {
+ source = src,
+ Motelno = id,
+ }
+ end
+ else
+ for index, value in ipairs(motelacanlar2) do
+ if value.source == src then
+ table.remove(motelacanlar2, index)
+ break
+ end
+ end
+ end
+end)
+
+
+local KisilerinVerileri = {}
+ScriptLoaded = false
+
+function StartScript()
+ Wait(200)
+ local existingMotels = {}
+ for motelKey, motelValue in pairs(Config.Motels) do
+ Wait(100)
+ local info = {
+ Name = motelValue.Name,
+ Owner = "",
+ CompanyMoney = motelValue.CompanyMoney,
+ Motelid = motelValue.Motelid,
+ TotalRooms = motelValue.TotalRooms,--silinebilir
+ ActiveRooms = motelValue.ActiveRooms,--silinebilir
+ DamagedRooms = motelValue.DamagedRooms, --silinebilir
+ }
+ local bucketCache = {}
+ local employees = {}
+ local history = {}
+ local allRooms = {}
+
+ if Config.Data.Database == "ghmattimysql" then
+ motelData = exports.ghmattimysql:executeSync('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = motelKey})
+ else
+ motelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = motelKey})
+ end
+
+
+ if #motelData == 0 and not existingMotels[motelKey] then
+
+ for roomKey, roomValue in pairs(motelValue.Rooms) do
+ table.insert(allRooms, roomValue)
+ end
+
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('INSERT INTO `oph3z_motel` (id, info, rooms, employees, names, history, bucketcache) VALUES (@id, @info, @rooms, @employees, @names, @history, @bucketcache)', {
+ ["@id"] = motelKey,
+ ["@info"] = json.encode(info),
+ ["@rooms"] = json.encode(allRooms),
+ ["@employees"] = json.encode(employees),
+ ["@bucketcache"] = json.encode(bucketCache),
+ ["@history"] = json.encode(history),
+ ["@names"] = json.encode(info.Name)
+ })
+ else
+ MySQL.Async.execute('INSERT INTO `oph3z_motel` (id, info, rooms, employees, names, history, bucketcache) VALUES (@id, @info, @rooms, @employees, @names, @history, @bucketcache)', {
+ ["@id"] = motelKey,
+ ["@info"] = json.encode(info),
+ ["@rooms"] = json.encode(allRooms),
+ ["@employees"] = json.encode(employees),
+ ["@bucketcache"] = json.encode(bucketCache),
+ ["@history"] = json.encode(history),
+ ["@names"] = json.encode(info.Name)
+ })
+ end
+ existingMotels[motelKey] = true
+ end
+ LoadData()
+ end
+end
+
+function RequestNewData()
+ local source = source
+ LoadData()
+ TriggerClientEvent("oph3z-motels:Update", source, Config.Motels, ScriptLoaded)
+end
+
+RegisterNetEvent("oph3z-motels:ReqData", RequestNewData)
+
+function LoadData()
+ if Config.Data.Database == "ghmattimysql" then
+ MotelData = exports.ghmattimysql:execute('SELECT * FROM `oph3z_motel`')
+ else
+ MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel`')
+ end
+ for k, v in ipairs(MotelData) do
+ local info = json.decode(v.info)
+ local rooms = json.decode(v.rooms)
+ Config.Motels[k].Owner = info.Owner
+ Config.Motels[k].Name = info.Name
+ Config.Motels[k].CompanyMoney = info.CompanyMoney
+ Config.Motels[k].TotalRooms = info.TotalRooms
+ Config.Motels[k].ActiveRooms = info.ActiveRooms
+ Config.Motels[k].DamagedRooms = info.DamagedRooms
+ Config.Motels[k].Employes = json.decode(v.employees)
+ Config.Motels[k].Rooms = json.decode(v.rooms)
+ Config.Motels[k].History = json.decode(v.history)
+ end
+
+ ScriptLoaded = true
+end
+
+Citizen.CreateThread(StartScript)
+
+QBCore.Functions.CreateCallback("oph3z-motels:server:RentRoom", function (source, cb, data)
+ local current_time = os.time()
+ local hours_to_add = data.time
+ local future_time = current_time + (hours_to_add * 3600)
+ local future_hour = tonumber(os.date("%H", future_time))
+ if future_hour >= 24 then
+ future_time = future_time + (24 * 3600)
+ end
+
+ local NewDate = os.date("%Y-%m-%d %H:%M:%S", future_time)
+ local id = data.motelid
+ local Player = QBCore.Functions.GetPlayer(source)
+
+ para = math.ceil(data.price)
+
+ if Player then
+ if Player.Functions.GetMoney(Config.Data.Moneytype) >= tonumber(para) then
+ if Config.Data.Database == "ghmattimysql" then
+ MotelData = exports.ghmattimysql:executeSync('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ else
+ MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ end
+ if MotelData and #MotelData > 0 then
+ local v = MotelData[1]
+ local rooms = json.decode(v.rooms)
+ local Info = json.decode(v.info)
+ local room = rooms[tonumber(data.motelno)]
+
+ local ownedRooms = 0
+ for _, r in pairs(rooms) do
+ if r.Owner.RoomsOwner == Player.PlayerData.citizenid then
+ ownedRooms = ownedRooms + 1
+ end
+ end
+
+ if ownedRooms >= Config.Data.NoOwnedRentMotelAmount then
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["MaxMotelRoomLimit"](Config.Data.NoOwnedRentMotelAmount)[1], Config.Langue["MaxMotelRoomLimit"](Config.Data.NoOwnedRentMotelAmount)[2], Config.Langue["MaxMotelRoomLimit"](Config.Data.NoOwnedRentMotelAmount)[3])
+ cb(false)
+ return
+ end
+
+ Info.CompanyMoney = Info.CompanyMoney + tonumber(para)
+ room.Rent = true
+ room.Owner.RoomsOwner = Player.PlayerData.citizenid
+ room.Owner.Name = Player.PlayerData.charinfo.firstname
+ room.Owner.Lastname = Player.PlayerData.charinfo.lastname
+ room.Owner.PhoneNumber = Player.PlayerData.charinfo.phone
+ room.Owner.MyMoney = para
+ room.Owner.Date = tostring(NewDate)
+ room.Owner.Friends = {}
+ Config.Motels[id].Rooms = rooms
+ Config.Motels[id].CompanyMoney = Info.CompanyMoney
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET rooms = @rooms, info = @info WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ ["@info"] = json.encode(Info),
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET rooms = @rooms, info = @info WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ ["@info"] = json.encode(Info),
+ })
+ end
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+
+ local mnewveri = motelacanlar2
+ for i = 1, #mnewveri, 1 do
+ local motel = mnewveri[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:RentMotel", source, motelno)
+ end
+ end
+ cb(true)
+ end
+ Player.Functions.RemoveMoney(Config.Data.Moneytype, tonumber(para))
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["NotEnoughMoney"][1], Config.Langue["NotEnoughMoney"][2], Config.Langue["NotEnoughMoney"][3])
+ return
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:UpHours", function(data)
+ local id = tonumber(data.motelno)
+ local roomno = tonumber(data.odano)
+ local ekhours = tonumber(data.time)
+ local price = tonumber(data.price)
+ local src = source
+ if Config.Data.Database == "ghmattimysql" then
+ MotelData = exports.ghmattimysql:executeSync('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ else
+ MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ end
+
+ local v = MotelData[1]
+ local rooms = json.decode(v.rooms)
+ local Info = json.decode(v.info)
+ local room = rooms[tonumber(roomno)]
+ local Player = QBCore.Functions.GetPlayer(src)
+ local SonMaasTarihi = room.Owner.Date
+ local hours_to_add = ekhours
+ local future_time1 = os.time{year=tonumber(SonMaasTarihi:sub(1,4)), month=tonumber(SonMaasTarihi:sub(6,7)), day=tonumber(SonMaasTarihi:sub(9,10)), hour=tonumber(SonMaasTarihi:sub(12,13)), min=tonumber(SonMaasTarihi:sub(15,16)), sec=tonumber(SonMaasTarihi:sub(18,19))}
+ future_time1 = future_time1 + (hours_to_add * 3600)
+ local future_hour = tonumber(os.date("%H", future_time1))
+ if future_hour >= 24 then
+ future_time1 = future_time1 + (24 * 3600)
+ end
+
+ kesilecekprice = tonumber(price) / (1 + tonumber(#room.Owner.Friends))
+ local YeniRentTime = os.date("%Y-%m-%d %H:%M:%S", future_time1)
+ if Player.Functions.GetMoney(Config.Data.Moneytype) >= tonumber(price) then
+ Info.CompanyMoney = Info.CompanyMoney + tonumber(data.price)
+ room.Owner.Date = tostring(YeniRentTime)
+ local totalFriendCount = #room.Owner.Friends
+ if #room.Owner.Friends == 0 then
+ Player.Functions.RemoveMoney(Config.Data.Moneytype, tonumber(kesilecekprice))
+ else
+ totalFriendCount = totalFriendCount+1
+ local friendCut = tonumber(price) / tonumber(totalFriendCount)
+ for _, friend in pairs(room.Owner.Friends) do
+
+ local friendPlayer = QBCore.Functions.GetPlayerByCitizenId(friend.Citizenid)
+ if friendPlayer.Offline == false then
+ friendPlayer.Functions.RemoveMoney(Config.Data.Moneytype, tonumber(friendCut))
+ else
+ local PlayerData = QBCore.Player.GetOfflinePlayer(friend.Citizenid)
+ if PlayerData then
+ PlayerData.money = PlayerData.PlayerData.money
+ PlayerData.PlayerData.money.bank = PlayerData.PlayerData.money.bank - tonumber(friendCut)
+ QBCore.Player.SaveOffline(PlayerData.PlayerData)
+ end
+ end
+ Player.Functions.RemoveMoney(Config.Data.Moneytype, friendCut)
+ end
+ end
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["NotEnoughMoney"][1], Config.Langue["NotEnoughMoney"][2], Config.Langue["NotEnoughMoney"][3])
+ return
+ end
+ Config.Motels[id].Rooms = rooms
+ Config.Motels[id].CompanyMoney = Info.CompanyMoney
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET rooms = @rooms, info = @info WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ ["@info"] = json.encode(Info),
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET rooms = @rooms, info = @info WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ ["@info"] = json.encode(Info),
+ })
+ end
+ Config.ServerNotify(src, Config.Langue["RoomTimeUp"][1], Config.Langue["RoomTimeUp"][2], Config.Langue["RoomTimeUp"][3])
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ TriggerClientEvent("oph3z-motels:OpenManagement", src)
+end)
+
+
+
+RegisterNetEvent("oph3z-motels:server:UpgradeRoom", function(data)
+ print(json.encode(data))
+ local id = tonumber(data.motelid)
+ local motelroom = tonumber(data.motelroom)
+ local motelprice = tonumber(string.match(data.motelprice, "%d+"))
+ local newmotelprice = tonumber(motelprice * 1000)
+ local src = source
+ local Player = QBCore.Functions.GetPlayer(src)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ local InfoData = json.decode(MotelData[1].info)
+ if MotelData and #MotelData > 0 then
+ local v = MotelData[1]
+ local rooms = json.decode(v.rooms)
+ local room = rooms[motelroom]
+ if InfoData.CompanyMoney >= newmotelprice then
+ room.theme = data.motelstylename
+ if room.type == "Squatter" then
+ if data.isupgraded then
+ room.type = "Middle"
+ local roomType = "Middle"
+ Config.Motels[id].Rooms = rooms
+ Config.ServerNotify(src, Config.Langue["UpgradeRoom"](motelroom, roomType)[1], Config.Langue["UpgradeRoom"](motelroom, roomType)[2], Config.Langue["UpgradeRoom"](motelroom, roomType)[3])
+ elseif data.isupgradedvip then
+ room.type = "VIP"
+ local roomType = "VIP"
+ Config.Motels[id].Rooms = rooms
+ Config.ServerNotify(src, Config.Langue["UpgradeRoom"](motelroom, roomType)[1], Config.Langue["UpgradeRoom"](motelroom, roomType)[2], Config.Langue["UpgradeRoom"](motelroom, roomType)[3])
+ end
+ elseif room.type == "Middle" then
+ if data.isupgradedvip then
+ local roomType = "VIP"
+ Config.ServerNotify(src, Config.Langue["UpgradeRoom"](motelroom, roomType)[1], Config.Langue["UpgradeRoom"](motelroom, roomType)[2], Config.Langue["UpgradeRoom"](motelroom, roomType)[3])
+ room.type = "VIP"
+ Config.Motels[id].Rooms = rooms
+ end
+ end
+
+ if data.motelstylename ~= nil then
+ for index, value in ipairs(room.StyleMenu) do
+ if value.type == "style" then
+ if value.name == data.motelstylename then
+ value.durum = true
+ else
+ value.durum = false
+ end
+ end
+ end
+ end
+
+ if data.motelstyleoynadi then
+ if data.motelstylenameextra ~= "" and data.motelstylenameextra ~= nil then
+ for _, style in ipairs(room.StyleMenu) do
+ if style.type == "extra" then
+ style.durum = false -- Varsayılan olarak durumu false olarak ayarla
+ for i = 1, #data.motelstylenameextra do
+ local veri = data.motelstylenameextra[i]
+ if style.name == veri then
+ style.durum = true -- Eşleşme varsa durumu true olarak ayarla
+ end
+ end
+ end
+ end
+ elseif data.motelstylenameextra == "[]" then
+ for _, style in ipairs(room.StyleMenu) do
+ if style.type == "extra" then
+ style.durum = false
+ end
+ end
+ end
+ end
+
+ Config.Motels[id].Rooms = rooms
+ Config.Motels[id].CompanyMoney = Config.Motels[id].CompanyMoney - tonumber(newmotelprice)
+ InfoData.CompanyMoney = Config.Motels[id].CompanyMoney
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET rooms = @rooms, info = @info WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ ["@info"] = json.encode(Info),
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET rooms = @rooms, info = @info WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ ["@info"] = json.encode(Info),
+ })
+ end
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ else
+ Config.ServerNotify(src, Config.Langue["NotEnoughMoney"][1], Config.Langue["NotEnoughMoney"][2], Config.Langue["NotEnoughMoney"][3])
+ return
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:AcceptRequste", function(data)
+ local id = tonumber(data.motelid)
+ local src = source
+ local price = tonumber(data.price)
+ local newprice = price * (Config.Data.AcceptYuzdelik / 100)
+ local motelno = tonumber(data.roomno)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ local InfoData = json.decode(MotelData[1].info)
+
+ if MotelData and #MotelData > 0 then
+ if InfoData.CompanyMoney >= price then
+ local v = MotelData[1]
+ local rooms = json.decode(v.rooms)
+ local room = rooms[motelno]
+ local motelrequest = json.decode(v.request)
+ room.type = data.roomtype
+ room.theme = data.roomtheme
+ if data.roomextra ~= nil then
+ local roomExtras = {}
+ if type(data.roomextra) == "string" then
+ roomExtras = splitString(data.roomextra, ",")
+ elseif type(data.roomextra) == "table" then
+ roomExtras = data.roomextra
+ end
+
+ room.strip = false
+ room.booze = false
+
+ if roomExtras ~= nil and #roomExtras > 0 then
+ for index, value in ipairs(roomExtras) do
+ if value == "strip" then
+ room.strip = true
+ elseif value == "booze" then
+ room.booze = true
+ end
+ end
+ end
+ if data.motelstyleoynadi then
+ if data.roomextra and data.roomextra ~= "" then
+ for _, style in ipairs(room.StyleMenu) do
+ if style.type == "extra" then
+ local extraFound = false
+ for veri in string.gmatch(data.roomextra, "([^,]+)") do
+ veri = veri:match("^%s*(.-)%s*$")
+ if style.name == veri then
+ extraFound = true
+ break
+ end
+ end
+ style.durum = extraFound
+ end
+ end
+ end
+ end
+
+
+
+ Config.Motels[id].Rooms = rooms
+ Config.Motels[id].CompanyMoney = Config.Motels[id].CompanyMoney + tonumber(newprice)
+ InfoData.CompanyMoney = Config.Motels[id].CompanyMoney
+ motelrequest[motelno] = nil
+
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET `request` = @request, `info` = @info, `rooms` = @rooms WHERE `id` = @id', {
+ ["@id"] = id,
+ ["@request"] = json.encode(motelrequest),
+ ["@info"] = json.encode(InfoData),
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET `request` = @request, `info` = @info, `rooms` = @rooms WHERE `id` = @id', {
+ ["@id"] = id,
+ ["@request"] = json.encode(motelrequest),
+ ["@info"] = json.encode(InfoData),
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ })
+ end
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ end
+ else
+ Config.ServerNotify(src, Config.Langue["NotEnoughMoney"][1], Config.Langue["NotEnoughMoney"][2], Config.Langue["NotEnoughMoney"][3])
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:CancelRequest", function(data)
+ local id = tonumber(data.motelid)
+ local src = source
+ local motelno = tonumber(data.roomno)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ local InfoData = json.decode(MotelData[1].info)
+ if MotelData and #MotelData > 0 then
+ local v = MotelData[1]
+ local rooms = json.decode(v.rooms)
+ local room = rooms[motelno]
+ local motelrequest = json.decode(v.request)
+ motelrequest[motelno] = nil
+
+ local Player = QBCore.Functions.GetPlayerByCitizenId(data.owner)
+ if Player then
+ Player.Functions.AddMoney(Config.Data.Moneytype, tonumber(data.price))
+ else
+ local citizenid = data.owner
+ local PlayerData = QBCore.Player.GetOfflinePlayer(citizenid)
+ if PlayerData then
+ PlayerData.money = PlayerData.PlayerData.money
+ PlayerData.PlayerData.money.bank = PlayerData.PlayerData.money.bank + tonumber(data.price)
+ QBCore.Player.SaveOffline(PlayerData.PlayerData)
+ end
+ end
+
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET `request` = @request WHERE `id` = @id', {
+ ["@id"] = id,
+ ["@request"] = json.encode(motelrequest),
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET `request` = @request WHERE `id` = @id', {
+ ["@id"] = id,
+ ["@request"] = json.encode(motelrequest),
+ })
+ end
+
+ Config.Motels[id].Rooms = rooms
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ Config.ServerNotify(src, Config.Langue["CancelRequest"](motelno)[1], Config.Langue["CancelRequest"](motelno)[2], Config.Langue["CancelRequest"](motelno)[3])
+ end
+end)
+
+function splitString(inputString, separator)
+ local result = {}
+ local separatorPattern = string.format("([^%s]+)", separator)
+ inputString:gsub(separatorPattern, function(value) table.insert(result, value) end)
+ return result
+end
+
+RegisterNetEvent("oph3z-motels:server:UpgradeRoomRequest", function(data)
+ local id = tonumber(data.motelid)
+ local motelroom = tonumber(data.motelroom)
+ local motelprice = tonumber(string.match(data.motelprice, "%d+"))
+ local newmotelprice = motelprice * 1000
+ local src = source
+ local Player = QBCore.Functions.GetPlayer(src)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ if MotelData and #MotelData > 0 then
+ if Player.Functions.GetMoney(Config.Data.Moneytype) >= tonumber(newmotelprice) then
+ Player.Functions.RemoveMoney(Config.Data.Moneytype, tonumber(newmotelprice))
+ local v = MotelData[1]
+ local rooms = json.decode(v.rooms)
+ local room = rooms[motelroom]
+ local motelrequest = json.decode(v.request)
+ if motelrequest[motelroom] ~= nil then
+ motelrequest[motelroom] = nil
+ end
+ if room.type == "Squatter" then
+ if data.isupgraded then
+ asd = "Middle"
+ -- Config.Motels[id].Rooms = rooms
+ local roomType = "Middle"
+ Config.ServerNotify(src, Config.Langue["UpgradeRoomRequest"](motelroom, roomType)[1], Config.Langue["UpgradeRoom"](motelroom, roomType)[2], Config.Langue["UpgradeRoom"](motelroom, roomType)[3])
+ elseif data.isupgradedvip then
+ asd = "VIP"
+ -- Config.Motels[id].Rooms = rooms
+ local roomType = "VIP"
+ Config.ServerNotify(src, Config.Langue["UpgradeRoomRequest"](motelroom, roomType)[1], Config.Langue["UpgradeRoom"](motelroom, roomType)[2], Config.Langue["UpgradeRoom"](motelroom, roomType)[3])
+ end
+ elseif room.type == "Middle" then
+ if data.isupgradedvip then
+ asd = "VIP"
+ -- Config.Motels[id].Rooms = rooms
+ local roomType = "VIP"
+ Config.ServerNotify(src, Config.Langue["UpgradeRoomRequest"](motelroom, roomType)[1], Config.Langue["UpgradeRoom"](motelroom, roomType)[2], Config.Langue["UpgradeRoom"](motelroom, roomType)[3])
+ end
+ end
+
+ if data.isupgraded == nil then
+ asd = room.type
+ end
+ room.fixmoney = newmotelprice
+
+
+ if data.motelstylename ~= nil then
+ for index, value in ipairs(room.StyleMenu) do
+ if value.type == "style" then
+ if value.name == data.motelstylename then
+ value.durum = true
+ room.theme = value.name
+ else
+ value.durum = false
+ end
+ end
+ end
+ end
+
+ if data.motelstyleoynadi then
+ if data.motelstylenameextra ~= nil and #data.motelstylenameextra > 0 then
+ for _, style in ipairs(room.StyleMenu) do
+ if style.type == "extra" then
+ for i = 1, #data.motelstylenameextra do
+ local veri = data.motelstylenameextra[i]
+
+ if style.name == veri then
+ if style.durum == false then
+ style.durum = true
+ end
+ else
+ style.durum = false
+ end
+ end
+ end
+ end
+ end
+ end
+
+
+ local roomveri = {
+ motelno = motelroom,
+ theme = data.motelstylename,
+ extra = data.motelstylenameextra,
+ motelstyleoynadi = data.motelstyleoynadi,
+ type = asd,
+ roomoowner = room.Owner.RoomsOwner,
+ roomprice = room.fixmoney,
+
+ }
+ motelrequest[motelroom] = roomveri
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET `request` = @request WHERE `id` = @id', {
+ ["@id"] = id,
+ ["@request"] = json.encode(motelrequest),
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET `request` = @request WHERE `id` = @id', {
+ ["@id"] = id,
+ ["@request"] = json.encode(motelrequest),
+ })
+ end
+ else
+ Config.ServerNotify(src, Config.Langue["NotEnoughMoney"][1], Config.Langue["NotEnoughMoney"][2], Config.Langue["NotEnoughMoney"][3])
+ end
+ end
+end)
+
+
+function tableContainsValue(tbl, value)
+ for _, v in ipairs(tbl) do
+ if v == value then
+ return true
+ end
+ end
+ return false
+end
+
+Citizen.CreateThread(function()
+ while true do
+ local current_time = os.time()
+ local NewDate = os.date("%Y-%m-%d %H:%M:%S", current_time)
+ for k,v in pairs(Config.Motels) do
+ for i, room in ipairs(v.Rooms) do
+ date = room.Owner.Date
+ if date ~= "" then
+ if tostring(date) <= tostring(NewDate) then
+ room.Rent = false
+ room.Owner.RoomsOwner = ""
+ room.Owner.Name = ""
+ room.Owner.Lastname = ""
+ room.Owner.PhoneNumber = ""
+ room.Owner.MyMoney = 0
+ room.Owner.Date = ""
+ room.Owner.Friends = {}
+ Config.Motels[k].Rooms[i] = room
+
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET `rooms` = @rooms WHERE `id` = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[k].Rooms)
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET `rooms` = @rooms WHERE `id` = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[k].Rooms)
+ })
+ end
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ end
+ end
+
+ end
+ end
+ Wait(1000)
+ end
+end)
+
+Citizen.CreateThread(function()
+ while true do
+ local current_time = os.time()
+ local makinesaati = os.date("%Y-%m-%d %H:%M:%S", current_time)
+ if ScriptLoaded then
+ for k, v in pairs(Config.Motels) do
+ for i, Employes in ipairs(v.Employes) do
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = k})
+ local InfoData = json.decode(MotelData[1].info)
+ local KasaPara = InfoData.CompanyMoney
+ local PlayerOwner = InfoData.Owner
+ local SonMaasTarihi = Employes.Date
+ local hours_to_add = Config.Data.EmployesSalaryTime
+ local future_time1 = os.time{year=tonumber(SonMaasTarihi:sub(1,4)), month=tonumber(SonMaasTarihi:sub(6,7)), day=tonumber(SonMaasTarihi:sub(9,10)), hour=tonumber(SonMaasTarihi:sub(12,13)), min=tonumber(SonMaasTarihi:sub(15,16)), sec=tonumber(SonMaasTarihi:sub(18,19))}
+ future_time1 = future_time1 + (hours_to_add * 3600)
+ local future_hour = tonumber(os.date("%H", future_time1))
+
+ if future_hour >= 24 then
+ future_time1 = future_time1 + (24 * 3600)
+ end
+ local SonMaasTarihi1 = os.date("%Y-%m-%d %H:%M:%S", future_time1)
+
+ if SonMaasTarihi1 ~= "" and tostring(SonMaasTarihi1) <= tostring(makinesaati) then
+ if KasaPara >= tonumber(Employes.Salary) then
+ local Player = QBCore.Functions.GetPlayerByCitizenId(Employes.Citizenid)
+ if Player then
+ SendMail(Player.PlayerData.source, InfoData.Name.."", "Maaş Ödemesi", "Maaşınız ödendi. İyi günler dileriz.")
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["EmployesSalary"](tonumber(Employes.Salary))[1], Config.Langue["EmployesSalary"](tonumber(Employes.Salary))[2], Config.Langue["EmployesSalary"](tonumber(Employes.Salary))[3])
+ Player.Functions.AddMoney(Config.Data.Moneytype, tonumber(Employes.Salary))
+ else
+ if Config.Data.EmployesOfflinePayment then
+ local citizenid = Employes.Citizenid
+ local PlayerData = QBCore.Player.GetOfflinePlayer(citizenid)
+ if PlayerData then
+ PlayerData.money = PlayerData.PlayerData.money
+ PlayerData.PlayerData.money.bank = PlayerData.PlayerData.money.bank + tonumber(Employes.Salary)
+ QBCore.Player.SaveOffline(PlayerData.PlayerData)
+ end
+ end
+ end
+ Employes.Date = tostring(makinesaati)
+ Config.Motels[k].Employes[i] = Employes
+
+ InfoData.CompanyMoney = InfoData.CompanyMoney - tonumber(Employes.Salary)
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET employees = @employees, info = @info WHERE id = @id', {
+ ["@id"] = k,
+ ["@employees"] = json.encode(Config.Motels[k].Employes),
+ ["@info"] = json.encode(InfoData),
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET employees = @employees, info = @info WHERE id = @id', {
+ ["@id"] = k,
+ ["@employees"] = json.encode(Config.Motels[k].Employes),
+ ["@info"] = json.encode(InfoData),
+ })
+ end
+
+
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ else
+ local Player = QBCore.Functions.GetPlayerByCitizenId(Employes.Citizenid)
+ local Owner = QBCore.Functions.GetPlayerByCitizenId(PlayerOwner)
+
+ SendMail(Player.PlayerData.source, InfoData.Name.."", "Maaş Ödemesi", "Maaşınız ödenemedi. Kasa yetersiz..")
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["NotEnoughMoneySalary"][1], Config.Langue["NotEnoughMoneySalary"][2], Config.Langue["NotEnoughMoneySalary"][3])
+ if Owner then
+ Config.ServerNotify(Owner.PlayerData.source, Config.Langue["NotEnoughMoneySalaryOwner"](InfoData.Name)[1], Config.Langue["NotEnoughMoneySalaryOwner"](InfoData.Name)[2], Config.Langue["NotEnoughMoneySalaryOwner"](InfoData.Name)[3])
+ SendMail(Owner.PlayerData.source, InfoData.Name.."", "İşciler Ayaklanıyor", "Başta Erkan Baş ve Osman Ağa ile işciler ayaklanıyor Kasaya para eklemeliyiz. Şunu diyorlar AYAKLANIN KARDEŞLERİM HEPİMİZİ BİRDEN ASAMAZLAR")
+ end
+ Wait(10000)
+ end
+ end
+
+ end
+ end
+ end
+
+ Wait(1000)
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:KickCustomer", function (data)
+ local source = source
+ id = data.motelno
+ MotelNumber = tonumber(data.motelroomnumber)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ if MotelData and #MotelData > 0 then
+ local rooms = json.decode(MotelData[1].rooms)
+ local room = rooms[MotelNumber]
+ room.Rent = false
+ room.Owner.RoomsOwner = ""
+ room.Owner.Name = ""
+ room.Owner.Lastname = ""
+ room.Owner.PhoneNumber = ""
+ room.Owner.MyMoney = 0
+ room.Owner.Date = ""
+ room.Owner.Friends = {}
+ Config.Motels[id].Rooms = rooms
+
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET rooms = @rooms WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms)
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET rooms = @rooms WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms)
+ })
+ end
+
+
+
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:KickEmployee", function (data)
+ local source = source
+ id = data.motelno
+ EmployeName = tostring(data.employeName)
+ local Player = QBCore.Functions.GetPlayer(source)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ if MotelData and #MotelData > 0 then
+
+ local info = json.decode(MotelData[1].info)
+ local employes = json.decode(MotelData[1].employees)
+ if info.Owner ~= Player.PlayerData.citizenid then
+ return
+ end
+ for k,v in pairs(employes) do
+ if v.Name == EmployeName then
+ table.remove(employes, k)
+ end
+ end
+ Config.Motels[id].Employes = employes
+
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET employees = @employees WHERE id = @id', {
+ ["@id"] = id,
+ ["@employees"] = json.encode(Config.Motels[id].Employes)
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET employees = @employees WHERE id = @id', {
+ ["@id"] = id,
+ ["@employees"] = json.encode(Config.Motels[id].Employes)
+ })
+ end
+
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:RankUp", function (data)
+ local source = source
+ id = data.motelno
+ EmployeName = tostring(data.employeName)
+ local Player = QBCore.Functions.GetPlayer(source)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ if MotelData and #MotelData > 0 then
+ local info = json.decode(MotelData[1].info)
+ local employes = json.decode(MotelData[1].employees)
+ if info.Owner ~= Player.PlayerData.citizenid then
+ return
+ end
+
+ for k,v in pairs(employes) do
+ if v.Name == EmployeName then
+ if employes[k].Rank < 2 then
+ employes[k].Rank = employes[k].Rank + 1
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["RankUpSuccess"](EmployeName)[1], Config.Langue["RankUpSuccess"](EmployeName)[2], Config.Langue["RankUpSuccess"](EmployeName)[3])
+ end
+ end
+ end
+ Config.Motels[id].Employes = employes
+ if Config.Data.Database == "ghmattimysql" then
+ exports.ghmattimysql:execute('UPDATE `oph3z_motel` SET employees = @employees WHERE id = @id', {
+ ["@id"] = id,
+ ["@employees"] = json.encode(Config.Motels[id].Employes)
+ })
+ else
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET employees = @employees WHERE id = @id', {
+ ["@id"] = id,
+ ["@employees"] = json.encode(Config.Motels[id].Employes)
+ })
+ end
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:BuyMotel", function(MotelData)
+ local Player = QBCore.Functions.GetPlayer(source)
+ local id = MotelData.motel
+ local price = MotelData.price
+ local src = source
+ if Player then
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ local InfoData = json.decode(MotelData[1].info)
+ local ownedMotelCount = 0
+
+ for _, motel in pairs(Config.Motels) do
+ if motel.Owner == Player.PlayerData.citizenid then
+ ownedMotelCount = ownedMotelCount + 1
+ end
+ end
+
+ if InfoData.Owner == "" then
+ if ownedMotelCount < Config.Data.MaxMotelBossAmount then
+ if Config.Data.Moneytype == "bank" then
+ if Player.Functions.GetMoney("bank") >= price then
+ Config.Motels[id].Owner = Player.PlayerData.citizenid
+ InfoData.Owner = Player.PlayerData.citizenid
+ Player.Functions.RemoveMoney("bank", price, "motel-bought")
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET info = @info WHERE id = @id', {["@info"] = json.encode(InfoData), ["@id"] = id})
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["InsufficientBankFunds"][1], Config.Langue["InsufficientBankFunds"][2], Config.Langue["InsufficientBankFunds"][3])
+ end
+ else
+ if Player.Functions.GetMoney("cash") >= price then
+ InfoData.Owner = Player.PlayerData.citizenid
+ Config.Motels[id].Owner = Player.PlayerData.citizenid
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET info = @info WHERE id = @id', {["@info"] = json.encode(InfoData), ["@id"] = id})
+ Player.Functions.RemoveMoney("cash", price, "motel-bought")
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["InsufficientCashFunds"][1], Config.Langue["InsufficientCashFunds"][2], Config.Langue["InsufficientCashFunds"][3])
+ end
+ end
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ SendMail(src, "Motel İşletmesi", "Motel Satın Alımı", "Motel satın aldınız. Motel numaranız: "..id.." Motel ismi: "..InfoData.Name.." Motel sahibi: "..Player.PlayerData.charinfo.firstname.." "..Player.PlayerData.charinfo.lastname.."")
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["PurchaseMotelSuccess"](InfoData.Name)[1], Config.Langue["PurchaseMotelSuccess"](InfoData.Name)[2], Config.Langue["PurchaseMotelSuccess"](InfoData.Name)[3])
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["MaxMotelBuznizLimit"](Config.Data.MaxMotelBossAmount)[1], Config.Langue["MaxMotelBuznizLimit"](Config.Data.MaxMotelBossAmount)[2], Config.Langue["MaxMotelBuznizLimit"](Config.Data.MaxMotelBossAmount)[3])
+ end
+ end
+ end
+end)
+
+function SendMail(source ,sender, subject,messege,button)
+ TriggerClientEvent("oph3z-motels:client:SendMail", source, sender, subject,messege,button)
+end
+
+RegisterNetEvent("oph3z-motels:server:SaveDashboard", function (data)
+ local id = data.motelid
+ local Player = QBCore.Functions.GetPlayer(source)
+ if Player then
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ local InfoData = json.decode(MotelData[1].info)
+ Config.Motels[id].Name = data.MotelName
+ InfoData.Name = data.MotelName
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET info = @info WHERE id = @id', {["@info"] = json.encode(InfoData), ["@id"] = id})
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET names = @names WHERE id = @id', {["@names"] = json.encode(data.MotelName), ["@id"] = id})
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ TriggerClientEvent("oph3z-motels:client:MotelNameBlip", -1)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["SaveDashboard"](data.MotelName)[1], Config.Langue["SaveDashboard"](data.MotelName)[2], Config.Langue["SaveDashboard"](data.MotelName)[3])
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:SellMotel", function (data)
+ local id = tonumber(data.motelid)
+ src = source
+ local Player = QBCore.Functions.GetPlayer(source)
+ if Player then
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ local InfoData = json.decode(MotelData[1].info)
+ local Price = InfoData.CompanyMoney
+ if Price == 0 then
+ Price = Config.Data.SellPriceDeafult
+ else
+ print("Price", Price)
+ Tax = math.ceil(Price * Config.Data.SellMotelTax)
+ print("Tax", Tax)
+ AddPrice = Price - Tax
+ print("AddPrice", AddPrice)
+ end
+ Player.Functions.AddMoney(Config.Data.Moneytype, AddPrice, "motel-sell")
+ InfoData.CompanyMoney = Price - AddPrice
+ Config.Motels[id].CompanyMoney = Price - AddPrice
+ Config.Motels[id].Owner = ""
+ InfoData.Owner = ""
+
+ SendMail(src, "Motel Business", "Motel Sale", "Motel Sold Without Tax Money: " ..Price.. " Tax: "..Tax.."".. " Total Money: "..AddPrice.."", "Sale")
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["MotelSellSuccess"](InfoData.Name,Price,Tax,AddPrice)[1], Config.Langue["MotelSellSuccess"](InfoData.Name,Price,Tax,AddPrice)[2], Config.Langue["MotelSellSuccess"](InfoData.Name,Price,Tax,AddPrice)[3])
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET info = @info WHERE id = @id', {["@info"] = json.encode(InfoData), ["@id"] = id})
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:MotelTransferRequest", function(data)
+ source = source
+ local Player = QBCore.Functions.GetPlayer(source)
+ local SenderName = {
+ firstname = Player.PlayerData.charinfo.firstname,
+ lastname = Player.PlayerData.charinfo.lastname,
+ source = source
+ }
+ TriggerClientEvent("oph3z-motels:client:TransferMotelRequest", data.playerid, data, SenderName)
+end)
+
+RegisterNetEvent("oph3z-motels:server:TransferMotel", function (data)
+ local id = tonumber(data.motelid)
+ local PlayerNewOwner = tonumber(data.newid)
+ local Player = QBCore.Functions.GetPlayer(tonumber(data.exowner))
+ local Player2 = QBCore.Functions.GetPlayer(PlayerNewOwner)
+ if PlayerNewOwner ~= nil and PlayerNewOwner ~= 0 then
+ if Player then
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ local InfoData = json.decode(MotelData[1].info)
+ if Player2 then
+ Config.Motels[id].Owner = Player2.PlayerData.citizenid
+ InfoData.Owner = Player2.PlayerData.citizenid
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET info = @info WHERE id = @id', {["@info"] = json.encode(InfoData), ["@id"] = id})
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ SendMail(Player2.PlayerData.source, "Motel İşletmesi", "Motel Transferi", "Motel size transfer edildi. Motel numaranız: "..id.." Motel ismi: "..InfoData.Name.." Motel sahibi: "..Player2.PlayerData.charinfo.firstname.." "..Player2.PlayerData.charinfo.lastname.."", "Transfer")
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["MotelTransferSuccess"](InfoData.Name,Player2.PlayerData.charinfo.firstname,Player2.PlayerData.charinfo.lastname)[1], Config.Langue["MotelTransferSuccess"](InfoData.Name,Player2.PlayerData.charinfo.firstname,Player2.PlayerData.charinfo.lastname)[2], Config.Langue["MotelTransferSuccess"](InfoData.Name,Player2.PlayerData.charinfo.firstname,Player2.PlayerData.charinfo.lastname)[3])
+ Config.ServerNotify(Player2.PlayerData.source, Config.Langue["MotelTransferSuccess2"](InfoData.Name)[1], Config.Langue["MotelTransferSuccess2"](InfoData.Name)[2], Config.Langue["MotelTransferSuccess2"](InfoData.Name)[3])
+ end
+ end
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["PlayerNotFound"][1], Config.Langue["PlayerNotFound"][2], Config.Langue["PlayerNotFound"][3])
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:CompanyMoney", function (data)
+ local source = source
+ local id = data.motelno
+ local Player = QBCore.Functions.GetPlayer(source)
+ if tonumber(data.Money) == 0 or tonumber(data.Money) == nil then
+ return
+ else
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ local InfoData = json.decode(MotelData[1].info)
+ if data.Parayatirma then
+ if Player.Functions.GetMoney(Config.Data.Moneytype) >= tonumber(data.Money) then
+ Player.Functions.RemoveMoney(Config.Data.Moneytype, tonumber(data.Money))
+ AddHistory(id, "deposit", tonumber(data.Money))
+ Config.Motels[id].CompanyMoney = Config.Motels[id].CompanyMoney + tonumber(data.Money)
+ InfoData.CompanyMoney = Config.Motels[id].CompanyMoney
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET info = @info WHERE id = @id', {["@info"] = json.encode(InfoData), ["@id"] = id})
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ else
+ if Config.Data.Moneytype == "bank" then
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["InsufficientBankFunds"][1], Config.Langue["InsufficientBankFunds"][2], Config.Langue["InsufficientBankFunds"][3])
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["InsufficientCashFunds"][1], Config.Langue["InsufficientCashFunds"][2], Config.Langue["InsufficientCashFunds"][3])
+ end
+ end
+ else
+ if tonumber(data.Money) > InfoData.CompanyMoney then
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["NotEnoughMoney"][1], Config.Langue["NotEnoughMoney"][2], Config.Langue["NotEnoughMoney"][3])
+ else
+ AddHistory(id, "withdraw", tonumber(data.Money))
+ Player.Functions.AddMoney(Config.Data.Moneytype, tonumber(data.Money))
+ Config.Motels[id].CompanyMoney = Config.Motels[id].CompanyMoney - tonumber(data.Money)
+ InfoData.CompanyMoney = Config.Motels[id].CompanyMoney
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET info = @info WHERE id = @id', {["@info"] = json.encode(InfoData), ["@id"] = id})
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:NearbyAccept", function(data)
+ local patronid = tonumber(data.senderid)
+ local id = tonumber(data.motelid)
+ local current_time = os.time()
+ local hours_to_add = data.time
+ local future_time = current_time + (hours_to_add * 3600)
+ local future_hour = tonumber(os.date("%H", future_time))
+
+ if future_hour >= 24 then
+ future_time = future_time + (24 * 3600)
+ end
+ local PatronPlayer = QBCore.Functions.GetPlayer(patronid)
+ local NewDate = os.date("%Y-%m-%d %H:%M:%S", future_time)
+ local Player = QBCore.Functions.GetPlayer(source)
+ if Player then
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+
+ if Player.Functions.GetMoney(Config.Data.Moneytype) >= tonumber(data.price) then
+ if MotelData and #MotelData > 0 then
+ local v = MotelData[1]
+ local rooms = json.decode(v.rooms)
+ local InfoData = json.decode(MotelData[1].info)
+ local room = rooms[tonumber(data.room)]
+ local ownedRooms = 0
+
+ for _, r in pairs(rooms) do
+ if r.Rent and r.Owner.RoomsOwner == Player.PlayerData.citizenid then
+ ownedRooms = ownedRooms + 1
+ end
+ end
+
+ if ownedRooms < Config.Data.OwneRentMotelAmount then
+
+ room.Rent = true
+ room.Owner.RoomsOwner = Player.PlayerData.citizenid
+ room.Owner.Name = Player.PlayerData.charinfo.firstname
+ room.Owner.Lastname = Player.PlayerData.charinfo.lastname
+ room.Owner.PhoneNumber = Player.PlayerData.charinfo.phone
+ room.Owner.MyMoney = data.price
+ room.Owner.Date = tostring(NewDate)
+ room.Owner.Friends = {}
+ Config.Motels[id].Rooms = rooms
+
+ if Config.Data.EmployesTax then
+ if InfoData.Owner == PatronPlayer.PlayerData.citizenid then
+ Config.Motels[id].CompanyMoney = Config.Motels[id].CompanyMoney + tonumber(data.price)
+ InfoData.CompanyMoney = Config.Motels[id].CompanyMoney
+ else
+ local tax = tonumber(data.price) * Config.Data.EmployesTaxAmount / 100
+ Config.Motels[id].CompanyMoney = Config.Motels[id].CompanyMoney + tonumber(data.price) - tax
+ InfoData.CompanyMoney = Config.Motels[id].CompanyMoney
+ PatronPlayer.Functions.AddMoney(Config.Data.Moneytype, tonumber(tax), "motel-rent")
+ end
+ else
+ Config.Motels[id].CompanyMoney = Config.Motels[id].CompanyMoney + tonumber(data.price)
+ InfoData.CompanyMoney = Config.Motels[id].CompanyMoney
+ end
+
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET rooms = @rooms, info = @info WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ ["@info"] = json.encode(InfoData),
+ })
+
+ Player.Functions.RemoveMoney(Config.Data.Moneytype, tonumber(data.price), "motel-rent")
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["AcceptRoomOffer"](InfoData.Name,tonumber(data.room),tonumber(data.price))[1], Config.Langue["AcceptRoomOffer"](InfoData.Name,tonumber(data.room),tonumber(data.price))[2], Config.Langue["AcceptRoomOffer"](InfoData.Name,tonumber(data.room),tonumber(data.price))[3])
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["MaxMotelRoomLimit"](Config.Data.OwneRentMotelAmount)[1], Config.Langue["MaxMotelRoomLimit"](Config.Data.OwneRentMotelAmount)[2], Config.Langue["MaxMotelRoomLimit"](Config.Data.OwneRentMotelAmount)[3])
+ end
+ end
+ else
+ if Config.Data.Moneytype == "bank" then
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["InsufficientBankFunds"][1], Config.Langue["InsufficientBankFunds"][2], Config.Langue["InsufficientBankFunds"][3])
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["InsufficientCashFunds"][1], Config.Langue["InsufficientCashFunds"][2], Config.Langue["InsufficientCashFunds"][3])
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:AddFriend", function (data)
+ local id = tonumber(data.motelid)
+ local arkid = tonumber(data.id)
+ local evsahibi = tonumber(data.evsahhibi)
+ local roomno = tonumber(data.odano)
+ local Player = QBCore.Functions.GetPlayer(evsahibi)
+ local PlayerArk = QBCore.Functions.GetPlayer(arkid)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ if MotelData and #MotelData > 0 then
+ local v = MotelData[1]
+ local rooms = json.decode(v.rooms)
+ local InfoData = json.decode(MotelData[1].info)
+ local room = rooms[tonumber(roomno)]
+ if room.type == "VIP" then
+ MaxFriends = Config.Data.FriendLimitV
+ elseif room.type == "Middle" then
+ MaxFriends = Config.Data.FriendLimitM
+ elseif room.type == "Squatter" then
+ MaxFriends = Config.Data.FriendLimitS
+ end
+
+
+ if Player.PlayerData.citizenid == room.Owner.RoomsOwner then
+ if not Config.Data.FriendSystem then
+ return
+ end
+ insertveri = {
+ Citizenid = tostring(PlayerArk.PlayerData.citizenid),
+ Name = tostring(PlayerArk.PlayerData.charinfo.firstname),
+ Lastname = tostring(PlayerArk.PlayerData.charinfo.lastname),
+ }
+
+ local roomOwnerFriends = room.Owner.Friends or {}
+ local isAlreadyFriend = false
+ for _, friend in ipairs(roomOwnerFriends) do
+ if friend.Citizenid == insertveri.Citizenid then
+ isAlreadyFriend = true
+ friendname = friend.Name
+ friendlastname = friend.Lastname
+ break
+ end
+ end
+ friendname = insertveri.Name
+ friendlastname = insertveri.Lastname
+ if isAlreadyFriend then
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["AlreadyFriend"](friendname,friendlastname)[1], Config.Langue["AlreadyFriend"](friendname,friendlastname)[2], Config.Langue["AlreadyFriend"](friendname,friendlastname)[3])
+ else
+ if #roomOwnerFriends >= MaxFriends then
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["MaxMotelRoomFriendsimit"](MaxFriends)[1], Config.Langue["MaxMotelRoomFriendsimit"](MaxFriends)[2], Config.Langue["MaxMotelRoomFriendsimit"](MaxFriends)[3])
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["AddFriendsSuccess"](friendname,friendlastname)[1], Config.Langue["AddFriendsSuccess"](friendname,friendlastname)[2], Config.Langue["AddFriendsSuccess"](friendname,friendlastname)[3])
+ table.insert(roomOwnerFriends, insertveri)
+ room.Owner.Friends = roomOwnerFriends
+ Config.Motels[id].Rooms = rooms
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET rooms = @rooms WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ })
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ TriggerClientEvent("oph3z-motels:OpenManagement",evsahibi)
+ end
+ end
+ end
+ end
+end)
+
+
+RegisterNetEvent("oph3z-motels:server:KickFriends", function (data)
+ id = tonumber(data.motelid)
+ local src = source
+ local roomno = tonumber(data.odano)
+ Citizenid = data.citizenId
+ local Player = QBCore.Functions.GetPlayer(src)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ if MotelData and #MotelData > 0 then
+ local v = MotelData[1]
+ local rooms = json.decode(v.rooms)
+ local InfoData = json.decode(MotelData[1].info)
+ local room = rooms[tonumber(roomno)]
+ if Player.PlayerData.citizenid == room.Owner.RoomsOwner then
+ if not Config.Data.FriendSystem then
+ return
+ end
+ local roomOwnerFriends = room.Owner.Friends or {}
+ local isAlreadyFriend = false
+ for _, friend in ipairs(roomOwnerFriends) do
+ if friend.Citizenid == Citizenid then
+ isAlreadyFriend = true
+ break
+ end
+ end
+ print(json.encode(room.Owner.Friends))
+ if isAlreadyFriend then
+ for i = 1, #roomOwnerFriends do
+ if roomOwnerFriends[i].Citizenid == Citizenid then
+ friendname = roomOwnerFriends[i].Name
+ friendlastname = roomOwnerFriends[i].Lastname
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["KickFriendSuccess"](friendname,friendlastname)[1], Config.Langue["KickFriendSuccess"](friendname,friendlastname)[2], Config.Langue["KickFriendSuccess"](friendname,friendlastname)[3])
+ table.remove(roomOwnerFriends, i)
+ break
+ end
+ end
+
+ room.Owner.Friends = roomOwnerFriends
+ print(json.encode(room.Owner.Friends))
+ Config.Motels[id].Rooms = rooms
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET rooms = @rooms WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ })
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ TriggerClientEvent("oph3z-motels:OpenManagement", src)
+ else
+ return
+ end
+ end
+ end
+end)
+
+
+RegisterNetEvent("oph3z-motels:server:InviteEmployee", function(data)
+ source = source
+ local Player = QBCore.Functions.GetPlayer(source)
+ local SenderName = {
+ firstname = Player.PlayerData.charinfo.firstname,
+ lastname = Player.PlayerData.charinfo.lastname,
+ source = source
+ }
+ TriggerClientEvent("oph3z-motels:client:InviteEmployee", data.playersource, data, SenderName)
+end)
+
+
+RegisterNetEvent("oph3z-motels:server:RankDown", function (data)
+ local source = source
+ id = data.motelno
+ EmployeName = tostring(data.employeName)
+ local Player = QBCore.Functions.GetPlayer(source)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ if MotelData and #MotelData > 0 then
+
+ local info = json.decode(MotelData[1].info)
+ local employes = json.decode(MotelData[1].employees)
+ if info.Owner ~= Player.PlayerData.citizenid then
+ return
+ end
+ for k,v in pairs(employes) do
+ if v.Name == EmployeName then
+ if employes[k].Rank >= 2 then
+ employes[k].Rank = employes[k].Rank - 1
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["RankDownSuccess"](EmployeName)[1], Config.Langue["RankDownSuccess"](EmployeName)[2], Config.Langue["RankDownSuccess"](EmployeName)[3])
+ end
+ end
+ end
+ Config.Motels[id].Employes = employes
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET employees = @employees WHERE id = @id', {
+ ["@id"] = id,
+ ["@employees"] = json.encode(Config.Motels[id].Employes)
+ })
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:ChangeSalary", function (data)
+ local src = source
+ id = tonumber(data.motelno)
+ EmployeName = tostring(data.employeName)
+ local Player = QBCore.Functions.GetPlayer(src)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ if MotelData and #MotelData > 0 then
+
+ local info = json.decode(MotelData[1].info)
+ local employes = json.decode(MotelData[1].employees)
+ if info.Owner ~= Player.PlayerData.citizenid then
+ return
+ end
+ for k,v in pairs(employes) do
+
+ if v.Name == EmployeName then
+ employes[k].Salary = tonumber(data.salary)
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["SalaryChangeSuccess"](EmployeName,tonumber(data.salary))[1], Config.Langue["SalaryChangeSuccess"](EmployeName,tonumber(data.salary))[2], Config.Langue["SalaryChangeSuccess"](EmployeName,tonumber(data.salary))[3])
+ end
+ end
+ Config.Motels[id].Employes = employes
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET employees = @employees WHERE id = @id', {
+ ["@id"] = id,
+ ["@employees"] = json.encode(Config.Motels[id].Employes)
+ })
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:JobOfferAccepted", function(data)
+ local id = tonumber(data.motelid)
+ local Player = QBCore.Functions.GetPlayer(tonumber(data.playerid))
+ local current_time = os.time()
+ local NewDate = os.date("%Y-%m-%d %H:%M:%S", current_time)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ if MotelData and #MotelData > 0 then
+ local employees = json.decode(MotelData[1].employees)
+ local InfoData = json.decode(MotelData[1].info)
+ if InfoData.Owner == Player.PlayerData.citizenid then
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["AlreadyOwnerEmployess"][1], Config.Langue["AlreadyOwnerEmployess"][2], Config.Langue["AlreadyOwnerEmployess"][3])
+ else
+ if employees ~= nil then
+ local playerExists = false
+ for k,v in pairs(employees) do
+ if v.Citizenid == Player.PlayerData.citizenid then
+ playerExists = true
+ employeesname = v.Name
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["AlreadyEmployess"](employeesname)[1], Config.Langue["AlreadyEmployess"](employeesname)[2], Config.Langue["AlreadyEmployess"](employeesname)[3])
+ break
+ end
+ end
+ if not playerExists then
+ table.insert(employees, {
+ Name = tostring(Player.PlayerData.charinfo.firstname.. " " .. Player.PlayerData.charinfo.lastname),
+ Salary = tostring(1000),
+ Rank = tonumber(1),
+ Date = tostring(NewDate),
+ Citizenid = tostring(Player.PlayerData.citizenid),
+ })
+ end
+ else
+ employees = {
+ {
+ Name = tostring(Player.PlayerData.charinfo.firstname.. " " .. Player.PlayerData.charinfo.lastname),
+ Salary = tostring(1000),
+ Rank = tonumber(1),
+ Date = tostring(NewDate),
+ Citizenid = tostring(Player.PlayerData.citizenid),
+ }
+ }
+ end
+ end
+ Config.Motels[id].Employes = employees
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET employees = @employees WHERE id = @id', {
+ ["@id"] = id,
+ ["@employees"] = json.encode(employees)
+ })
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+ SendMail(data.playerid, InfoData.Name.."", "İşe Alındın", "İşe aldındın adamım. Motel numaranız: "..id.." Motel ismi: "..InfoData.Name.."")
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["JobOfferAccepted"](InfoData.Name)[1], Config.Langue["JobOfferAccepted"](InfoData.Name)[2], Config.Langue["JobOfferAccepted"](InfoData.Name)[3])
+ end
+end)
+
+
+RegisterNetEvent("oph3z-motels:server:RepairRoom", function(data)
+ src = source
+ local Player = QBCore.Functions.GetPlayer(src)
+ local id = tonumber(data.motelid)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ local InfoData = json.decode(MotelData[1].info)
+ local motelfixprice = tonumber(string.match(data.motelfixprice, "%d+"))
+ local newmotelfixprice = tonumber(motelfixprice * 1000)
+ if InfoData.CompanyMoney >= newmotelfixprice then
+ Config.Motels[id].CompanyMoney = Config.Motels[id].CompanyMoney - tonumber(newmotelfixprice)
+ InfoData.CompanyMoney = Config.Motels[id].CompanyMoney
+ local rooms = json.decode(MotelData[1].rooms)
+ local room = rooms[tonumber(data.motelroomnumber)]
+ room.Active = true
+ Config.Motels[id].Rooms = rooms
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET rooms = @rooms, info = @info WHERE id = @id', {
+ ["@id"] = id,
+ ["@rooms"] = json.encode(Config.Motels[id].Rooms),
+ ["@info"] = json.encode(InfoData),
+ })
+ else
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["NotEnoughMoney"][1], Config.Langue["NotEnoughMoney"][2], Config.Langue["NotEnoughMoney"][3])
+ end
+ Config.ServerNotify(Player.PlayerData.source, Config.Langue["RoomRepaired"](tonumber(data.motelroomnumber))[1], Config.Langue["RoomRepaired"](tonumber(data.motelroomnumber))[2], Config.Langue["RoomRepaired"](tonumber(data.motelroomnumber))[3])
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ for i = 1, #motelacanlar, 1 do
+ local motel = motelacanlar[i]
+ local motelno = motel.Motelno
+ if id == motelno then
+ local source = motel.source
+ TriggerClientEvent("oph3z-motels:OpenBossMenu", source, motelno)
+ end
+ end
+end)
+
+function AddHistory(id, type, money)
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ local History = json.decode(MotelData[1].history)
+ table.insert(History, {
+ type = type,
+ money = money
+ })
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET history = @history WHERE id = @id', {["@history"] = json.encode(History), ["@id"] = id})
+ Config.Motels[id].History = History
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+end
+
+
+
+QBCore.Functions.CreateCallback("oph3z-motels:server:PlayerName", function(source, cb, target)
+ local Player = QBCore.Functions.GetPlayer(target)
+ if Player then
+ local NerabyPlayers = {
+ {
+ Name = Player.PlayerData.charinfo.firstname,
+ Lastname = Player.PlayerData.charinfo.lastname,
+ Citizenid = Player.PlayerData.citizenid,
+ id = target
+ }
+ }
+ cb(NerabyPlayers)
+ else
+ cb(nil)
+ end
+end)
+
+QBCore.Functions.CreateCallback("oph3z-motels:server:RequestMotel", function(source, cb, motelid)
+ local id = motelid
+ local MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = id})
+ if MotelData and #MotelData > 0 then
+ local v = MotelData[1]
+ local RequestData = json.decode(v.request)
+
+ if RequestData ~= nil then
+ cb(RequestData)
+ end
+ end
+end)
+
+QBCore.Functions.CreateCallback("oph3z-motels:server:RoomInvite", function(source, cb, coords)
+ local players = QBCore.Functions.GetPlayers()
+ for i = 1, #players do
+ local ped = GetPlayerPed(players[i])
+ local pos = GetEntityCoords(ped)
+ local dist = #(pos - coords)
+ if dist < 2.0 then
+ local Player = QBCore.Functions.GetPlayer(players[i])
+ local RoomInviteTablo = {
+ {
+ sender = source,
+ Name = Player.PlayerData.charinfo.firstname,
+ Lastname = Player.PlayerData.charinfo.lastname,
+ target = players[i]
+ }
+ }
+ cb(RoomInviteTablo)
+ end
+ end
+end)
+
+
+AddEventHandler('onServerResourceStart', function(resourceName)
+ if resourceName == 'ox_inventory' or resourceName == GetCurrentResourceName() then
+ if Config.Data.Database == "ghmattimysql" then
+ MotelData = exports.ghmattimysql:execute('SELECT * FROM `oph3z_motel`')
+ else
+ MotelData = MySQL.Sync.fetchAll('SELECT * FROM `oph3z_motel`')
+ end
+
+ for k, v in ipairs(MotelData) do
+ local rooms = json.decode(v.rooms)
+ if Config.Data.Inventory == "ox" then
+ Wait(1000)
+ for i = 1, #rooms, 1 do
+ local motelno = Config.Motels[k].Motelid
+ local odano = rooms[i].motelno
+ OdaType = rooms[i].type
+ StashSlots = tostring(OdaType.."s")
+ exports.ox_inventory:RegisterStash("Motel_"..motelno..'_'..odano, "Motel_"..odano, Config.Data[StashSlots], Config.Data[OdaType], nil)
+ end
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:OpenRoom", function (motelno, odano, odatipi, OdaType, OdaTheme, OdaStrip, OdaBooze)
+ local src = source
+ local user = QBCore.Functions.GetPlayer(src)
+ local cid = user.PlayerData.citizenid
+ if not Config.Motels[motelno].Rooms[odano].Bucketid then
+ local bucketroomnumber = tonumber(string.format("%d%d", motelno, odano))
+ Config.Motels[motelno].Rooms[odano].Bucketid = bucketroomnumber
+ end
+
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ KisilerinVerileri[src] = {
+ Motelno = motelno,
+ Odano = odano,
+ OdaTipi = odatipi,
+ OdaType = OdaType,
+ Odatasarimi = OdaTheme,
+ OdaStrip = OdaStrip,
+ OdaBooze = OdaBooze,
+ citizenid = cid
+ }
+ SetPlayerRoutingBucket(src, Config.Motels[motelno].Rooms[odano].Bucketid)
+ TriggerClientEvent("oph3z-motels:client:OpenRoom", src, motelno, odano, odatipi, OdaType,OdaTheme, OdaStrip, OdaBooze)
+end)
+
+RegisterNetEvent("oph3z-motels:server:InvitePlayerRequest", function(data)
+ local src = source
+ local misafir = tonumber(data.misafir)
+ local evsahibi = tonumber(data.evsahibi)
+ local PlayerE = QBCore.Functions.GetPlayer(evsahibi)
+ local PlayerM = QBCore.Functions.GetPlayer(misafir)
+ local odano = tonumber(data.odano)
+ local motelno = tonumber(data.motelno)
+
+ local SenderName = {
+ firstname = PlayerE.PlayerData.charinfo.firstname,
+ lastname = PlayerE.PlayerData.charinfo.lastname,
+ source = source
+ }
+
+ TriggerClientEvent("oph3z-motels:client:InvitePlayerRequest", misafir, data, SenderName)
+end)
+
+RegisterNetEvent("oph3z-motels:server:InvitePlayerRequestFriends", function (data)
+ local src = source
+ local misafir = tonumber(data.misafir)
+ local evsahibi = tonumber(data.evsahibi)
+ local PlayerE = QBCore.Functions.GetPlayer(evsahibi)
+ local PlayerM = QBCore.Functions.GetPlayer(misafir)
+ local odano = tonumber(data.odano)
+ local motelno = tonumber(data.motelno)
+
+ local SenderName = {
+ firstname = PlayerE.PlayerData.charinfo.firstname,
+ lastname = PlayerE.PlayerData.charinfo.lastname,
+ source = source
+ }
+ TriggerClientEvent("oph3z-motels:client:InvitePlayerRequestFriends", misafir, data, SenderName)
+end)
+
+RegisterNetEvent("oph3z-motels:server:FriendsPlayerRequest", function(data)
+ local src = source
+ local misafir = tonumber(data.misafir)
+ local evsahibi = tonumber(data.evsahibi)
+ local PlayerE = QBCore.Functions.GetPlayer(evsahibi)
+ local PlayerM = QBCore.Functions.GetPlayer(misafir)
+ local odano = tonumber(data.odano)
+ local motelno = tonumber(data.motelno)
+
+ local SenderName = {
+ firstname = PlayerE.PlayerData.charinfo.firstname,
+ lastname = PlayerE.PlayerData.charinfo.lastname,
+ source = source
+ }
+ TriggerClientEvent("oph3z-motels:client:FriendsPlayerRequest", misafir, data, SenderName)
+end)
+
+RegisterNetEvent("oph3z-motels:server:NearbyRequest", function(data)
+ source = source
+ local Player = QBCore.Functions.GetPlayer(source)
+ local SenderName = {
+ firstname = Player.PlayerData.charinfo.firstname,
+ lastname = Player.PlayerData.charinfo.lastname,
+ source = source
+ }
+ TriggerClientEvent("oph3z-motels:client:NearbyRequest", data.playersource, data, SenderName)
+end)
+
+RegisterNetEvent("oph3z-motels:server:RoomInviteAccept", function (data)
+ motelno = data.davetmotelid
+ odano = data.davetodano
+ odatipi = tostring(data.davetodatipi..motelno)
+ OdaType = data.davetodatipi
+ OdaTheme = data.davetodatheme
+ OdaStrip = data.davetodastrip
+ OdaBooze = data.davetodabooze
+ local src = source
+ local user = QBCore.Functions.GetPlayer(src)
+ local cid = user.PlayerData.citizenid
+ if not Config.Motels[motelno].Rooms[odano].Bucketid then
+ local bucketroomnumber = tonumber(string.format("%d%d", motelno, odano))
+ Config.Motels[motelno].Rooms[odano].Bucketid = bucketroomnumber
+ end
+
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+ KisilerinVerileri[src] = {
+ Motelno = motelno,
+ Odano = odano,
+ OdaTipi = odatipi,
+ OdaType = OdaType,
+ Odatasarimi = OdaTheme,
+ OdaStrip = OdaStrip,
+ OdaBooze = OdaBooze,
+ citizenid = cid
+ }
+ SetPlayerRoutingBucket(src, Config.Motels[motelno].Rooms[odano].Bucketid)
+ TriggerClientEvent("oph3z-motels:client:OpenRoom", src, motelno, odano, odatipi, OdaType, OdaTheme, OdaStrip, OdaBooze)
+end)
+
+AddEventHandler('playerDropped', function()
+ local src = source
+ local tablo = KisilerinVerileri[src]
+ if tablo then
+ if next(tablo) then
+ local MotelData = MySQL.query.await('SELECT * FROM `oph3z_motel` WHERE id = @id', {["@id"] = tablo.Motelno})
+ local BucketCache = json.decode(MotelData[1].bucketcache)
+ SetPlayerRoutingBucket(src, 0)
+ table.insert(BucketCache, {
+ citizenid = tablo.citizenid,
+ Motelno = tablo.Motelno,
+ OdaTipi = tablo.OdaTipi,
+ Odatasarimi = tablo.Odatasarimi,
+ OdaType = tablo.OdaType,
+ Odano = tablo.Odano,
+ OdaStrip = tablo.OdaStrip,
+ OdaBooze = tablo.OdaBooze
+ })
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET bucketcache = @bucketcache WHERE id = @id', {["@bucketcache"] = json.encode(BucketCache), ["@id"] = tablo.Motelno})
+ end
+ end
+end)
+
+RegisterNetEvent("QBCore:Server:OnPlayerLoaded", function ()
+ local src = source
+ local Player = QBCore.Functions.GetPlayer(src)
+ local cid = Player.PlayerData.citizenid
+ local MotelData = MySQL.query.await('SELECT * FROM `oph3z_motel`')
+
+ local foundRoom = false
+ Wait(2000)
+ for i=1, #MotelData, 1 do
+ local newbucket = json.decode(MotelData[i].bucketcache)
+ local room = json.decode(MotelData[i].rooms)
+
+ for j=1, #room, 1 do
+ for k=1, #newbucket, 1 do
+ local info = json.decode(MotelData[i].info)
+ if info.Motelid == newbucket[k].Motelno and room[j].motelno == newbucket[k].Odano and newbucket[k].citizenid and newbucket[k].citizenid == cid and room[j].Owner.RoomsOwner == cid then
+ local bucketroomnumber = tonumber(string.format("%d%d", newbucket[k].Motelno, newbucket[k].Odano))
+ SetPlayerRoutingBucket(src, bucketroomnumber)
+ TriggerClientEvent("oph3z-motels:client:AdamYoruyorsunuz", src, newbucket[k].Motelno, newbucket[k].Odano, newbucket[k].OdaType, newbucket[k].OdaTipi, newbucket[k].Odatasarimi, newbucket[k].OdaStrip, newbucket[k].OdaBooze, newbucket[k].citizenid)
+ table.remove(newbucket, k)
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET bucketcache = @bucketcache WHERE id = @id', {["@bucketcache"] = json.encode(newbucket), ["@id"] = MotelData[i].id})
+ foundRoom = true
+ break
+ end
+ end
+
+ if foundRoom then
+ break
+ end
+
+ end
+ end
+ if not foundRoom then
+ for i=1, #MotelData, 1 do
+ local newbucket = json.decode(MotelData[i].bucketcache)
+ local info = json.decode(MotelData[i].info)
+ for k=1, #newbucket, 1 do
+ if info.Motelid == newbucket[k].Motelno and newbucket[k].citizenid == cid then
+ TriggerClientEvent("oph3z-motels:client:OdaBitti", src, info.Motelid)
+ Config.ServerNotify(src, Config.Langue["RoomExitExpired"][1],Config.Langue["RoomExitExpired"][2],Config.Langue["RoomExitExpired"][3])
+ table.remove(newbucket, k)
+ MySQL.Async.execute('UPDATE `oph3z_motel` SET bucketcache = @bucketcache WHERE id = @id', {["@bucketcache"] = json.encode(newbucket), ["@id"] = MotelData[i].id})
+ break
+ end
+ end
+ end
+ end
+end)
+
+RegisterNetEvent("oph3z-motels:server:ExitRoom", function ()
+ local src = source
+ SetPlayerRoutingBucket(src, 0)
+ TriggerClientEvent("oph3z-motels:client:ExitRoom", src)
+ KisilerinVerileri[src] = {}
+ TriggerClientEvent("oph3z-motels:Update", -1, Config.Motels, ScriptLoaded)
+end)
\ No newline at end of file
diff --git a/resources/[housing]/oph3z-motels/setup.md b/resources/[housing]/oph3z-motels/setup.md
new file mode 100644
index 000000000..9691970b3
--- /dev/null
+++ b/resources/[housing]/oph3z-motels/setup.md
@@ -0,0 +1,422 @@
+------------------------------ Oph3z-Motels - Installation Guide -----------------------------------
+
+For Support: https://discord.gg/Pnq5R4HszK
+
+---------------------------------------------------------------------------------------------------------------------------------
+REQUIREMENTS (
+ bob74_ipl: https://github.com/Bob74/bob74_ipl
+)
+---------------------------------------------------------------------------------------------------------------------------------
+DO NOT FORGET TO READ THE SQL FILE
+oph3z-motel.sql
+---------------------------------------------------------------------------------------------------------------------------------
+The starting order of the scripts should be as follows;
+ensure bob74_ipl
+ensure oph3z-motels
+
+---------------------------------------------------------------------------------------------------------------------------------
+There is a detailed description in the config files
+---------------------------------------------------------------------------------------------------------------------------------
+config.lua
+You can make general settings of the script in the config.lua file
+---------------------------------------------------------------------------------------------------------------------------------
+config_motels.lua
+In the config_motels file you can add new motels and rooms and change the settings of the rooms, detailed description is at the end of the file
+---------------------------------------------------------------------------------------------------------------------------------
+config_langue.lua
+In the config_langue file you can set and change notifications, to set the notification script you need to edit Config.Notify and Config.ServerNotify in the config.lua file
+---------------------------------------------------------------------------------------------------------------------------------
+lang.lua
+In the lang.lua file, you can edit the text on the UI as you wish or translate it into a different language
+---------------------------------------------------------------------------------------------------------------------------------
+Detailed explanation for Config.Map in config.lua
+
+The part that says VIP is the room type and the part that says 1 is the motel id. When VIP2 is written, it means the VIP room of motel id number 2.
+
+export name export name of the map in bob74_ipl
+ ["VIP1"] = {
+ exportName = "GetExecApartment2Object", https://github.com/Bob74/bob74_ipl/blob/master/dlc_executive/apartment2.lua export name export name of the map in bob74_ipl
+ out = vector3(-779.08, 339.69, 196.69), coordinates for entering and exiting the out room
+ manage = vector3(-777.21, 331.06, 196.09), manage is where you make room settings for adding roommates and inviting them to the room
+ stash = vector3(-766.01, 330.97, 196.09), stash is the coordinate of the storage inventory
+ wardrobe = vector3(-764.74, 329.01, 199.49), wardrobe coordinates
+ ThemeData = { themeData is the part where you edit the room styles you want for that motel room in the same file as the file you exportname.
+ modern = {interiorId = 227585, ipl = "apa_v_mp_h_01_b"},
+ moody = {interiorId = 228353, ipl = "apa_v_mp_h_02_b"},
+ vibrant = {interiorId = 229121, ipl = "apa_v_mp_h_03_b"},
+ sharp = {interiorId = 229889, ipl = "apa_v_mp_h_04_b"},
+ monochrome = {interiorId = 230657, ipl = "apa_v_mp_h_05_b"},
+ seductive = {interiorId = 231425, ipl = "apa_v_mp_h_06_b"},
+ regal = {interiorId = 232193, ipl = "apa_v_mp_h_07_b"},
+ aqua = {interiorId = 232961, ipl = "apa_v_mp_h_08_b"}
+ }
+ },
+---------------------------------------------------------------------------------------------------------------------------------
+
+Name:
+defalut motel name
+
+Location:
+Location on the street where the motel is located
+
+Description
+Detailed description about Description motel
+
+Job:
+Job part is currently disabled
+Do not confuse this with the order of the motelid motel in the table.
+
+These appear to be from the purchase of the motel business.
+TotalRooms:
+write the total number of rooms in the motel
+
+ActiveRooms:
+Please specify how many active rooms in the motel
+
+DamagedRooms:
+Please specify how many damaged rooms in the motel
+
+Price:
+selling price of the motel business
+
+VIPUpgradeMoney:
+The amount the room has to pay for the VIP upgrade
+
+MiddleUpgradeMoney:
+The amount the room has to pay for the Middle upgrade
+
+CompanyMoney:
+Startup money when you buy a motel business
+
+RentMotel:
+Coordinate where players should go to rent a motel when there is no motel owner
+
+OpenBossMenu:
+Bossmenu coordinate for employees and boss to open
+
+MotelCamDashboard:
+Aerial view coordinates during the purchase of the motel business
+
+History:
+You do not need to touch the part where the withdrawal and deposit process is kept
+
+Blip: you can turn the blips off and on
+BlipSettings = adjust the blip settings https://docs.fivem.net/docs/game-references/blips/
+ID = , -- Blip ID
+Scale = , -- Blip Size
+Color = -- Color of the Blip
+
+
+Rooms.Coords:
+coordinate to enter the room
+
+Room.motelno:
+Do not confuse the order of the room in the table, increase order by order
+
+Room.Active:
+whether the room will be active at startup
+
+Room.Rent:
+whether it was originally leased
+
+Room.type:
+initially the type of room VIP-Middle-Squatter
+
+Room.theme:
+initially the theme of the walls of the room
+
+Room.wall:
+currently disabled
+
+Room.money:
+rental price of the room In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+
+Room.fixmoney
+no touching
+
+Room.strip
+opens and closes the underwear in the room
+
+Room.booze
+opens and closes the liquor bottles in the room
+
+
+ [1] = {
+ Owner = "",
+ Name = "EXAMPLE MOTEL",
+ Location = "VINEWOOD",
+ Description = "lorem",
+ Job = "motel1",
+ Motelid = 1,
+ TotalRooms = 26,
+ ActiveRooms = 16,
+ DamagedRooms = 10,
+ Price = 20000,
+ VIPUpgradeMoney = 50000,
+ MiddleUpgradeMoney = 25000,
+ CompanyMoney = 1000,
+ RentMotel = vector3(961.55, -193.98, 73.21),
+ OpenBossMenu = vector3(200.55, -193.98, 73.21),
+ MotelCamDashboard = vector4(966.35, -190.22, 79.4, 164.43),
+ History = {},
+ Employes = {
+ Name = "",
+ Salary = 0,
+ Rank = 0,
+ Citizenid = "",
+ },
+ Blip = true, -- Enable/Disable Blip
+ BlipSettings = {
+ ID = 475,
+ Scale = 1.0,
+ Color = 29
+ },
+ Rooms = {
+ {
+ Coords = vector4(953.13, -196.52, 73.22, 64.62),
+ motelno = 1,
+ Active = true,
+ Rent = false,
+ type = "Squatter",
+ theme = "modern",
+ wall = "black",
+ money = 5000, -- In the absence of a motel owner, the rental fee for a 24-hour room is determined.
+ fixmoney = "",
+ strip = false,
+ booze = true,
+ Owner = {
+ Name = "",
+ Lastname = "",
+ PhoneNumber = "",
+ Date = "",
+ RoomsOwner = "",
+ MyMoney = "",
+ Friends = {
+ Citizenid = nil,
+ Name = nil,
+ Lastname = nil,
+ },
+ },
+ StyleMenu = {
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075303669810/modern.png",
+ name = "modern",
+ durum = true,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076520030218/seductive.png",
+ name = "seductive",
+ durum = false,
+ price = 5000
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075978969108/moody.png",
+ name = "moody",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074599039027/vibrant.png",
+ name = "vibrant",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076872355973/sharp.png",
+ name = "sharp",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644075555340441/monochrome.png",
+ name = "monochrome",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644076247388231/regal.png",
+ name = "regal",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "style",
+ png = "https://cdn.discordapp.com/attachments/1095505976725078167/1106644074989113344/aqua.png",
+ name = "aqua",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://cdn.shopify.com/s/files/1/0178/2936/3812/products/1_42_1024x1024.png?v=1617035503",
+ name = "strip",
+ durum = false,
+ price = 5000,
+ },
+ {
+ type = "extra",
+ png = "https://e7.pngegg.com/pngimages/85/460/png-clipart-riga-black-balsam-cocktail-gin-distilled-beverage-alcohol-splash.png",
+ name = "booze",
+ durum = true,
+ price = 5000,
+ },
+ }
+ },
+ },
+}
+
+
+
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+
+Add these codes to fivem-appearance client.lua file
+
+
+RegisterNetEvent('fivem-appearance:Oph3zMotel', function()
+ TriggerEvent('nh-context:sendMenu', {
+ {
+ id = 1,
+ header = "Change Outfit",
+ txt = "",
+ params = {
+ event = "fivem-appearance:pickNewOutfitMotel",
+ args = {
+ number = 1,
+ id = 2
+ }
+ }
+ },
+ {
+ id = 2,
+ header = "Save New Outfit",
+ txt = "",
+ params = {
+ event = "fivem-appearance:saveOutfit"
+ }
+ },
+ {
+ id = 3,
+ header = "Delete Outfit",
+ txt = "",
+ params = {
+ event = "fivem-appearance:deleteOutfitMenuMotel",
+ args = {
+ number = 1,
+ id = 2
+ }
+ }
+ }
+ })
+end)
+
+RegisterNetEvent('fivem-appearance:pickNewOutfitMotel', function(data)
+ local id = data.id
+ local number = data.number
+ TriggerEvent('fivem-appearance:getOutfits')
+ TriggerEvent('nh-context:sendMenu', {
+ {
+ id = 1,
+ header = "< Go Back",
+ txt = "",
+ params = {
+ event = "fivem-appearance:Oph3zMotel"
+ }
+ },
+ })
+ Citizen.Wait(300)
+ for i=1, #allMyOutfits, 1 do
+ TriggerEvent('nh-context:sendMenu', {
+ {
+ id = (1 + i),
+ header = allMyOutfits[i].name,
+ txt = "",
+ params = {
+ event = 'fivem-appearance:setOutfit',
+ args = {
+ ped = allMyOutfits[i].pedModel,
+ components = allMyOutfits[i].pedComponents,
+ props = allMyOutfits[i].pedProps
+ }
+ }
+ },
+ })
+ end
+end)
+
+RegisterNetEvent('fivem-appearance:saveOutfitMotel', function()
+ if Config.UseNewNHKeyboard then
+ local keyboard, name = exports["nh-keyboard"]:Keyboard({
+ header = "Name Outfit",
+ rows = {"Outfit name here"}
+ })
+ if keyboard then
+ if name then
+ local playerPed = PlayerPedId()
+ local pedModel = exports['fivem-appearance']:getPedModel(playerPed)
+ local pedComponents = exports['fivem-appearance']:getPedComponents(playerPed)
+ local pedProps = exports['fivem-appearance']:getPedProps(playerPed)
+ Citizen.Wait(500)
+ TriggerServerEvent('fivem-appearance:saveOutfit', name, pedModel, pedComponents, pedProps)
+ end
+ end
+ else
+ local keyboard = exports["nh-keyboard"]:KeyboardInput({
+ header = "Name Outfit",
+ rows = {
+ {
+ id = 0,
+ txt = ""
+ }
+ }
+ })
+ if keyboard ~= nil then
+ local playerPed = PlayerPedId()
+ local pedModel = exports['fivem-appearance']:getPedModel(playerPed)
+ local pedComponents = exports['fivem-appearance']:getPedComponents(playerPed)
+ local pedProps = exports['fivem-appearance']:getPedProps(playerPed)
+ Citizen.Wait(500)
+ TriggerServerEvent('fivem-appearance:saveOutfit', keyboard[1].input, pedModel, pedComponents, pedProps)
+
+ end
+ end
+end)
+
+
+RegisterNetEvent('fivem-appearance:deleteOutfitMenuMotel', function(data)
+ local id = data.id
+ local number = data.number
+ TriggerEvent('fivem-appearance:getOutfits')
+ Citizen.Wait(150)
+ TriggerEvent('nh-context:sendMenu', {
+ {
+ id = 1,
+ header = "< Go Back",
+ txt = "",
+ params = {
+ event = "fivem-appearance:Oph3zMotel"
+ }
+ },
+ })
+ for i=1, #allMyOutfits, 1 do
+ TriggerEvent('nh-context:sendMenu', {
+ {
+ id = (1 + i),
+ header = allMyOutfits[i].name,
+ txt = "",
+ params = {
+ event = 'fivem-appearance:deleteOutfit',
+ args = allMyOutfits[i].id
+ }
+ },
+ })
+ end
+end)
+
diff --git a/resources/[inventory]/cs_shops/config/config.lua b/resources/[inventory]/cs_shops/config/config.lua
index 79b005e5f..e894a6b00 100644
--- a/resources/[inventory]/cs_shops/config/config.lua
+++ b/resources/[inventory]/cs_shops/config/config.lua
@@ -576,7 +576,7 @@ CodeStudio.Products = {
['emptybag'] = {
itemName = "leerer Sack",
itemStock = 150,
- itemPrice = 150,
+ itemPrice = 6,
itemInfo = "",
},
['korb'] = {
@@ -600,19 +600,19 @@ CodeStudio.Products = {
['emptybottle'] = {
itemName = "leere Flasche",
itemStock = 150,
- itemPrice = 100,
+ itemPrice = 6,
itemInfo = "",
},
['box'] = {
itemName = "Kiste",
itemStock = 150,
- itemPrice = 200,
+ itemPrice = 10,
itemInfo = "",
},
['packung'] = {
itemName = "leere Verpackung",
itemStock = 150,
- itemPrice = 100,
+ itemPrice = 6,
itemInfo = "",
},
['weapon_hatchet'] = {
diff --git a/resources/[jobs]/[police]/sperrzone_rundmail/client_main.lua b/resources/[jobs]/[police]/sperrzone_rundmail/client_main.lua
new file mode 100644
index 000000000..4dd0efdcf
--- /dev/null
+++ b/resources/[jobs]/[police]/sperrzone_rundmail/client_main.lua
@@ -0,0 +1,87 @@
+local QBCore = exports['qb-core']:GetCoreObject()
+local MenuPool = NativeUI.CreatePool()
+local MainMenu = NativeUI.CreateMenu("Admin Menü", "Optionen auswählen")
+
+MenuPool:Add(MainMenu)
+
+-- Variables
+local zoneRadius = 50.0
+local zoneBlip = nil
+
+-- Sperrzone erstellen
+function AddZoneMenu(menu)
+ local submenu = MenuPool:AddSubMenu(menu, "Sperrzone")
+ local radiusItem = NativeUI.CreateSliderItem("Radius", {50, 100, 200, 300, 400, 500}, 1, false, "Wähle die Größe der Zone")
+ submenu:AddItem(radiusItem)
+
+ local createZoneItem = NativeUI.CreateItem("Zone erstellen", "Erstellt eine Sperrzone")
+ submenu:AddItem(createZoneItem)
+
+ submenu.OnItemSelect = function(sender, item, index)
+ if item == createZoneItem then
+ local playerPed = PlayerPedId()
+ local coords = GetEntityCoords(playerPed)
+
+ -- Zone erstellen
+ if zoneBlip then RemoveBlip(zoneBlip) end
+ zoneBlip = AddBlipForRadius(coords.x, coords.y, coords.z, zoneRadius)
+ SetBlipColour(zoneBlip, 1)
+ SetBlipAlpha(zoneBlip, 128)
+
+ QBCore.Functions.Notify("Sperrzone erstellt mit Radius: " .. zoneRadius .. " Meter", "success")
+ elseif item == radiusItem then
+ zoneRadius = radiusItem:IndexToItem(index)
+ end
+ end
+end
+
+-- Serverweite Ankündigungen
+function AddAnnouncementMenu(menu)
+ local submenu = MenuPool:AddSubMenu(menu, "Ankündigungen")
+ local announcementItem = NativeUI.CreateItem("Nachricht senden", "Sende eine Nachricht an alle Spieler")
+ submenu:AddItem(announcementItem)
+
+ submenu.OnItemSelect = function(sender, item, index)
+ if item == announcementItem then
+ local message = KeyboardInput("Gib die Nachricht ein:", "", 200)
+ if message then
+ TriggerServerEvent("qbcore:announcement", message)
+ end
+ end
+ end
+end
+
+-- Tastendruck zum Öffnen des Menüs
+Citizen.CreateThread(function()
+ AddZoneMenu(MainMenu)
+ AddAnnouncementMenu(MainMenu)
+
+ MenuPool:RefreshIndex()
+
+ while true do
+ Citizen.Wait(0)
+ MenuPool:ProcessMenus()
+
+ if IsControlJustReleased(0, Config.OpenMenuKey) then
+ local playerData = QBCore.Functions.GetPlayerData()
+ if Config.AllowedJobs[playerData.job.name] then
+ MainMenu:Visible(not MainMenu:Visible())
+ else
+ QBCore.Functions.Notify("Du hast keine Berechtigung, dieses Menü zu verwenden.", "error")
+ end
+ end
+ end
+end)
+
+function KeyboardInput(textEntry, exampleText, maxStringLength)
+ AddTextEntry('FMMC_KEY_TIP1', textEntry)
+ DisplayOnscreenKeyboard(1, "FMMC_KEY_TIP1", "", exampleText, "", "", "", maxStringLength)
+ while UpdateOnscreenKeyboard() == 0 do
+ DisableAllControlActions(0)
+ Wait(0)
+ end
+ if GetOnscreenKeyboardResult() then
+ return GetOnscreenKeyboardResult()
+ end
+ return nil
+end
\ No newline at end of file
diff --git a/resources/[jobs]/[police]/sperrzone_rundmail/config.lua b/resources/[jobs]/[police]/sperrzone_rundmail/config.lua
new file mode 100644
index 000000000..3824448c2
--- /dev/null
+++ b/resources/[jobs]/[police]/sperrzone_rundmail/config.lua
@@ -0,0 +1,10 @@
+Config = {}
+
+-- Liste der erlaubten Jobs
+Config.AllowedJobs = {
+ 'police',
+ 'admin'
+}
+
+-- Standard-Taste zum Öffnen des Menüs
+Config.OpenMenuKey = 'F5'
\ No newline at end of file
diff --git a/resources/[jobs]/[police]/sperrzone_rundmail/fxmanifest.lua b/resources/[jobs]/[police]/sperrzone_rundmail/fxmanifest.lua
new file mode 100644
index 000000000..f28c3e887
--- /dev/null
+++ b/resources/[jobs]/[police]/sperrzone_rundmail/fxmanifest.lua
@@ -0,0 +1,18 @@
+fx_version 'cerulean'
+game 'gta5'
+author 'Nordi98'
+description 'QBCore Script für Sperrzonen und Ankündigungen'
+version '1.0.0'
+
+client_scripts {
+ 'client/main.lua',
+ '@NativeUI/NativeUI.lua'
+}
+
+server_scripts {
+ 'server/main.lua'
+}
+
+shared_scripts {
+ 'config.lua'
+}
\ No newline at end of file
diff --git a/resources/[jobs]/[police]/sperrzone_rundmail/server_main.lua b/resources/[jobs]/[police]/sperrzone_rundmail/server_main.lua
new file mode 100644
index 000000000..60b75c998
--- /dev/null
+++ b/resources/[jobs]/[police]/sperrzone_rundmail/server_main.lua
@@ -0,0 +1,16 @@
+local QBCore = exports['qb-core']:GetCoreObject()
+
+RegisterServerEvent("qbcore:announcement")
+AddEventHandler("qbcore:announcement", function(message)
+ local src = source
+ local player = QBCore.Functions.GetPlayer(src)
+
+ if player and Config.AllowedJobs[player.PlayerData.job.name] then
+ TriggerClientEvent('chat:addMessage', -1, {
+ template = 'Ankündigung: {0}
',
+ args = { message }
+ })
+ else
+ TriggerClientEvent('QBCore:Notify', src, "Du bist nicht berechtigt, eine Ankündigung zu senden.", "error")
+ end
+end)
\ No newline at end of file