- Katılım
- 4 yıl 7 ay 7 gün
- Mesajlar
- 99
- Discord
- vox's#0001
Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.
Keys = {
["ESC"] = 322, ["F1"] = 288, ["F2"] = 289, ["F3"] = 170, ["F5"] = 166, ["F6"] = 167, ["F7"] = 168, ["F8"] = 169, ["F9"] = 56, ["F10"] = 57,
["~"] = 243, ["1"] = 157, ["2"] = 158, ["3"] = 160, ["4"] = 164, ["5"] = 165, ["6"] = 159, ["7"] = 161, ["8"] = 162, ["9"] = 163, ["-"] = 84, ["="] = 83, ["BACKSPACE"] = 177,
["TAB"] = 37, ["Q"] = 44, ["W"] = 32, ["E"] = 38, ["R"] = 45, ["T"] = 245, ["Y"] = 246, ["U"] = 303, ["P"] = 199, ["["] = 39, ["]"] = 40, ["ENTER"] = 18,
["CAPS"] = 137, ["A"] = 34, ["S"] = 8, ["D"] = 9, ["F"] = 23, ["G"] = 47, ["H"] = 74, ["K"] = 311, ["L"] = 182,
["LEFTSHIFT"] = 21, ["Z"] = 20, ["X"] = 73, ["C"] = 26, ["V"] = 0, ["B"] = 29, ["N"] = 249, ["M"] = 244, [","] = 82, ["."] = 81,
["LEFTCTRL"] = 36, ["LEFTALT"] = 19, ["SPACE"] = 22, ["RIGHTCTRL"] = 70,
["HOME"] = 213, ["PAGEUP"] = 10, ["PAGEDOWN"] = 11, ["DELETE"] = 178,
["LEFT"] = 174, ["RIGHT"] = 175, ["TOP"] = 27, ["DOWN"] = 173,
["NENTER"] = 201, ["N4"] = 108, ["N5"] = 60, ["N6"] = 107, ["N+"] = 96, ["N-"] = 97, ["N7"] = 117, ["N8"] = 61, ["N9"] = 118
}
local ESX = nil
local myMotel = false
local curMotel = nil
local curRoom = nil
local curRoomOwner = false
local inRoom = false
local roomOwner = nil
local playerIdent = nil
local inMotel = false
local enterMotel = false
local exitMotel = false
local FirstSpawn = true
local letSleep = false
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(0)
end
while ESX.GetPlayerData().job == nil do
Citizen.Wait(10)
end
ESX.PlayerData = ESX.GetPlayerData()
createBlips()
playerIdent = ESX.GetPlayerData().identifier
end)
AddEventHandler('playerSpawned', function()
if FirstSpawn then
Citizen.CreateThread(function()
while not ESX.IsPlayerLoaded() do
Citizen.Wait(0)
end
Citizen.Wait(1000)
ESX.TriggerServerCallback('lsrp-motels:getLastMotel', function(motel, room)
print('loading saved room')
if motel and room then
if motel ~= nil and room ~= nil then
print('loading saved room 2')
curMotel = motel
curRoom = room
inRoom = true
inMotel = true
local roomID = nil
local playerPed = PlayerPedId()
local roomIdent = room
local reqmotel = motel
ESX.TriggerServerCallback('lsrp-motels:getMotelRoomID', function(roomno)
roomID = roomno
end, room)
Citizen.Wait(500)
if roomID ~= nil then
local instanceid = 'motel'..roomID..''..roomIdent
TriggerEvent('instance:create', 'motelroom', {property = instanceid, owner = ESX.GetPlayerData().identifier, motel = reqmotel, room = roomIdent, vid = roomID})
end
end
end
end)
end)
FirstSpawn = false
end
end)
function createBlips()
for k,v in pairs(Config.Zones) do
local blip = AddBlipForCoord(tonumber(v.Pos.x), tonumber(v.Pos.y), tonumber(v.Pos.z))
SetBlipSprite(blip, v.Pos.sprite)
SetBlipDisplay(blip, 4)
SetBlipScale(blip, 0.6)
SetBlipColour(blip, v.Pos.color)
SetBlipAsShortRange(blip, true)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString(v.Name)
EndTextCommandSetBlipName(blip)
end
end
function getMyMotel()
if not letSleep then
ESX.TriggerServerCallback('lsrp-motels:checkOwnership', function(owned)
myMotel = owned
end)
letSleep = true
end
end
RegisterNetEvent('instance:onCreate')
AddEventHandler('instance:onCreate', function(instance)
if instance.type == 'motelroom' then
roomOwner = ESX.GetPlayerData().identifier
TriggerEvent('instance:enter', instance)
end
end)
RegisterNetEvent('lsrp-motels:cancelRental')
AddEventHandler('lsrp-motels:cancelRental', function(room)
local motelName = nil
local motelRoom = nil
for k,v in pairs(Config.Zones) do
for kk,vm in pairs(v.Rooms) do
if room == vm.instancename then
motelName = v.Name
motelRoom = vm.number
end
end
end
TriggerServerEvent("lsrp-motels:cancelRental", room)
TriggerEvent("mythic_progbar:client:progress", {
name = "renting_motel",
duration = 2000,
label = "Kira sozlesmesi iptal ediliyor "..motelRoom,
useWhileDead = false,
canCancel = true,
controlDisables = {
disableMovement = true,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
animation = {
animDict = "missheistdockssetup1clipboard@idle_a",
anim = "idle_a",
},
prop = {
model = "prop_notepad_01"
}
}, function(status)
if not status then
myMotel = false
letSleep = false
end
end)
end)
function PlayerDressings()
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'room',
{
title = 'Player Clothing',
align = 'top-left',
elements = {
{label = _U('player_clothes'), value = 'player_dressing'},
{label = _U('remove_cloth'), value = 'remove_cloth'}
}
}, function(data, menu)
if data.current.value == 'player_dressing' then
menu.close()
ESX.TriggerServerCallback('lsrp-motels:getPlayerDressing', function(dressing)
elements = {}
for i=1, #dressing, 1 do
table.insert(elements, {
label = dressing[i],
value = i
})
end
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'player_dressing',
{
title = _U('player_clothes'),
align = 'top-left',
elements = elements
}, function(data2, menu2)
TriggerEvent('skinchanger:getSkin', function(skin)
ESX.TriggerServerCallback('lsrp-motels:getPlayerOutfit', function(clothes)
TriggerEvent('skinchanger:loadClothes', skin, clothes)
TriggerEvent('esx_skin:setLastSkin', skin)
TriggerEvent('skinchanger:getSkin', function(skin)
TriggerServerEvent('esx_skin:save', skin)
end)
end, data2.current.value)
end)
end, function(data2, menu2)
menu2.close()
end)
end)
elseif data.current.value == 'remove_cloth' then
menu.close()
ESX.TriggerServerCallback('lsrp-motels:getPlayerDressing', function(dressing)
elements = {}
for i=1, #dressing, 1 do
table.insert(elements, {
label = dressing[i],
value = i
})
end
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'remove_cloth', {
title = _U('remove_cloth'),
align = 'top-left',
elements = elements
}, function(data2, menu2)
menu2.close()
TriggerServerEvent('lsrp-motels:removeOutfit', data2.current.value)
ESX.ShowNotification(_U('removed_cloth'))
end, function(data2, menu2)
menu2.close()
end)
end)
end
end, function(data, menu)
menu.close()
end)
end
RegisterNetEvent('instance:onEnter')
AddEventHandler('instance:onEnter', function(instance)
if instance.type == 'motelroom' then
local property = instance.data.property
local motel = instance.data.motel
local isHost = GetPlayerFromServerId(instance.host) == PlayerId()
Citizen.Wait(1000)
local networkChannel = instance.data.vid
NetworkSetVoiceChannel(networkChannel)
end
end)
AddEventHandler('instance:loaded', function()
TriggerEvent('instance:registerType', 'motelroom', function(instance)
enterMotel = true
EnterMotel(instance.data.property, instance.data.owner, instance.data.motel, instance.data.room)
end, function(instance)
exitMotel = true
Citizen.InvokeNative(0xE036A705F989E049)
ExitMotel(instance.data.property, instance.data.motel, instance.data.room)
end)
end)
function EnterMotel(name, owner, motel, room)
if enterMotel then
curMotel = motel
curRoom = room
inRoom = true
inMotel = true
enterMotel = false
local playerPed = PlayerPedId()
TriggerServerEvent('lsrp-motels:SaveMotel', curMotel, curRoom)
Citizen.CreateThread(function()
DoScreenFadeOut(800)
while not IsScreenFadedOut() do
Citizen.Wait(0)
end
for k,v in pairs(Config.Zones) do
if curMotel == k then
SetEntityCoords(playerPed, v.roomLoc.x, v.roomLoc.y, v.roomLoc.z)
end
end
DoScreenFadeIn(800)
end)
end
end
RegisterNetEvent('lsrp-motels:enterRoom')
AddEventHandler('lsrp-motels:enterRoom', function(room, motel)
local roomID = nil
local playerPed = PlayerPedId()
local roomIdent = room
local reqmotel = motel
ESX.TriggerServerCallback('lsrp-motels:getMotelRoomID', function(roomno)
roomID = roomno
end, room)
Citizen.Wait(500)
if roomID ~= nil then
local instanceid = 'motel'..roomID..''..roomIdent
TriggerEvent('instance:create', 'motelroom', {property = instanceid, owner = ESX.GetPlayerData().identifier, motel = reqmotel, room = roomIdent, vid = roomID})
end
end)
RegisterNetEvent('lsrp-motels:exitRoom')
AddEventHandler('lsrp-motels:exitRoom', function(motel, room)
local roomID = room
local playerPed = PlayerPedId()
Citizen.Wait(500)
roomOwner = nil
TriggerEvent('instance:leave')
end)
RegisterNetEvent('lsrp-motels:roomOptions')
AddEventHandler('lsrp-motels:roomOptions', function(room, motel)
local motelName = nil
local motelRoom = nil
for k,v in pairs(Config.Zones) do
for kk,vm in pairs(v.Rooms) do
if room == vm.instancename then
motelName = v.Name
motelRoom = vm.number
end
end
end
ESX.UI.Menu.Open(
'default', GetCurrentResourceName(), 'lsrp-motels',
{
title = motelName..' Room '..motelRoom,
align = 'top-right',
elements = {
{ label = 'Odaya Gir', value = 'enter' },
{ label = 'Kirayı İptal Et', value = 'cancel' }
}
},
function(data, entry)
local value = data.current.value
if value == 'enter' then
entry.close()
TriggerEvent("lsrp-motels:enterRoom", room, motel)
elseif value == 'cancel' then
entry.close()
TriggerEvent("lsrp-motels:cancelRental", room)
end
end,
function(data, entry)
entry.close()
end)
end)
RegisterNetEvent('lsrp-motels:roomMenu')
AddEventHandler('lsrp-motels:roomMenu', function(room, motel)
local motelName = nil
local motelRoom = nil
local roomID = nil
local owner = ESX.GetPlayerData().identifier
for k,v in pairs(Config.Zones) do
for kk,vm in pairs(v.Rooms) do
if room == vm.instancename then
motelName = v.Name
motelRoom = vm.number
end
end
end
options = {}
-- if Config.SwitchCharacterSup then
--table.insert(options, {label = 'Karakter Degis', value = 'changechar'})
--end
table.insert(options, {label = 'Odayı Terket', value = 'leaveroom'})
if roomOwner == playerIdent then
table.insert(options, {label = 'Çekmeceyi Aç', value = 'inventory'})
table.insert(options, {label = 'Birini Davet Et', value = 'inviteplayer'})
end
ESX.UI.Menu.Open(
'default', GetCurrentResourceName(), 'lsrp-motels',
{
title = motelName..' Room '..motelRoom,
align = 'top-right',
elements = options
},
function(data, menu)
local value = data.current.value
if value == 'changechar' then
menu.close()
TriggerServerEvent("kashactersS:SaveSwitchedPlayer")
TriggerEvent("mythic_progbar:client:progress", {
name = "renting_motel",
duration = 2000,
label = "Sehri Terket",
useWhileDead = false,
canCancel = true,
controlDisables = {
disableMovement = true,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
}, function(status)
if not status then
inMotel = false
TriggerEvent('kashactersC:ReloadCharacters')
end
end)
elseif value == 'leaveroom' then
menu.close()
TriggerEvent('lsrp-motels:exitRoom', curMotel, curRoom)
elseif value == 'inventory' then
menu.close()
owner = ESX.GetPlayerData().identifier
if roomOwner == owner then
TriggerEvent("mythic_progbar:client:progress", {
name = "renting_motel",
duration = 1500,
label = "Çekmece açılıyor",
useWhileDead = false,
canCancel = true,
controlDisables = {
disableMovement = true,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
}, function(status)
if not status then
--exports["esx_inventoryhud"]:refreshPropertyMotelInventory()
OpenPropertyInventoryMenu('motels', owner)
end
end)
else
TriggerClientEvent('esx:showNotification', '~w~Sadece motel ~r~sahibi~w~ kullanabilir!')
end
elseif value == 'inviteplayer' then
local myInstance = nil
local roomIdent = room
local reqmotel = motel
for k,v in pairs(Config.Zones) do
for kk,vm in pairs(v.Rooms) do
if room == vm.instancename then
playersInArea = ESX.Game.GetPlayersInArea(vm.entry, 5.0)
end
end
end
local elements = {}
if playersInArea ~= nil then
for i=1, #playersInArea, 1 do
if playersInArea[i] ~= PlayerId() then
table.insert(elements, {label = GetPlayerName(playersInArea[i]), value = playersInArea[i]})
end
end
else
table.insert(elements, {label = 'No Citizens Outside.'})
end
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'room_invite',
{
title = motelName..' Room '..motelRoom .. ' - ' .. _U('invite') ..' Citizen',
align = 'top-right',
elements = elements,
}, function(data2, menu2)
ESX.TriggerServerCallback('lsrp-motels:getMotelRoomID', function(roomno)
print(room)
roomID = roomno
end, room)
myInstance = 'motel'..roomID..''..roomIdent
TriggerEvent('instance:invite', 'motelroom', GetPlayerServerId(data2.current.value), {property = myInstance, owner = ESX.GetPlayerData().identifier, motel = reqmotel, room = roomIdent, vid = roomID})
ESX.ShowNotification(_U('you_invited', GetPlayerName(data2.current.value)))
end, function(data2, menu2)
menu2.close()
end)
end
end,
function(data, menu)
menu.close()
end)
end)
RegisterNetEvent('lsrp-motels:rentRoom')
AddEventHandler('lsrp-motels:rentRoom', function(room)
local motelName = nil
local motelRoom = nil
for k,v in pairs(Config.Zones) do
for kk,vm in pairs(v.Rooms) do
if room == vm.instancename then
motelName = v.Name
motelRoom = vm.number
end
end
end
TriggerServerEvent('lsrp-motels:rentRoom', room)
TriggerEvent("mythic_progbar:client:progress", {
name = "renting_motel",
duration = 2000,
label = "Renting Room "..motelRoom,
useWhileDead = false,
canCancel = true,
controlDisables = {
disableMovement = true,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
animation = {
animDict = "missheistdockssetup1clipboard@idle_a",
anim = "idle_a",
},
prop = {
model = "prop_notepad_01"
}
}, function(status)
if not status then
letSleep = false
end
end)
end)
function roomMarkers()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
-- Exit Marker
for k,v in pairs(Config.Zones) do
for km,vm in pairs(v.Rooms) do
distance = GetDistanceBetweenCoords(coords, v.roomExit.x, v.roomExit.y, v.roomExit.z, true)
if (distance < 1.0) then
if curRoom ~= nil then
DrawText3D(v.roomExit.x, v.roomExit.y, v.roomExit.z + 0.35, '[~g~E~s~] tusuyla cik')
if IsControlJustReleased(0, Keys['E']) then
ESX.UI.Menu.CloseAll()
TriggerEvent('lsrp-motels:exitRoom', curMotel, curRoom)
end
end
end
end
end
-- Room Menu Marker
for k,v in pairs(Config.Zones) do
distance = GetDistanceBetweenCoords(coords, v.Menu.x, v.Menu.y, v.Menu.z, true)
if distance < 1.0 then
DrawText3D(v.Menu.x, v.Menu.y, v.Menu.z + 0.35, ' [~g~E~s~] tusuyla erisim yap.')
if IsControlJustReleased(0, Keys['E']) then
TriggerEvent('lsrp-motels:roomMenu', curRoom, curMotel)
end
end
end
-- Clothing Menu
for k,v in pairs(Config.Zones) do
distance = GetDistanceBetweenCoords(coords, v.Inventory.x, v.Inventory.y, v.Inventory.z, true)
if distance < 1.0 then
if roomOwner == playerIdent then
DrawText3D(v.Inventory.x, v.Inventory.y, v.Inventory.z + 0.35, ' [~g~E~s~] tusuyla kiyafet degis.')
if IsControlJustReleased(0, Keys['E']) then
PlayerDressings()
end
end
end
end
-- Bed Stash Marker
for k,v in pairs(Config.Zones) do
distance = GetDistanceBetweenCoords(coords, v.BedStash.x, v.BedStash.y, v.BedStash.z, true)
if distance < 1.0 then
if roomOwner == playerIdent then
DrawText3D(v.BedStash.x, v.BedStash.y, v.BedStash.z + 0.1, ' [~g~E~s~] tusuyla depona eris.')
if IsControlJustReleased(0, Keys['E']) then
--exports["esx_inventoryhud"]:refreshPropertyMotelBedInventory()
OpenStash()
end
end
end
end
end
function enteredMarker()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
if myMotel then
for k,v in pairs(Config.Zones) do
for km,vm in pairs(v.Rooms) do
if vm.instancename == myMotel then
distance = GetDistanceBetweenCoords(coords, vm.entry.x, vm.entry.y, vm.entry.z, true)
if (distance < v.Boundries) then
DrawMarker(20, vm.entry.x, vm.entry.y, vm.entry.z, 0.0, 0.0, 0.0, 0, 0.0, 0.0, Config.RoomMarker.x, Config.RoomMarker.y, Config.RoomMarker.z, Config.RoomMarker.Owned.r, Config.RoomMarker.Owned.g, Config.RoomMarker.Owned.b, 100, false, true, 2, false, false, false, false)
end
if (distance < 1.0) then
DrawText3D(vm.entry.x, vm.entry.y, vm.entry.z + 0.35, ' [~g~E~s~] tusuyla seceneklere eris.')
if IsControlJustReleased(0, Keys['E']) then
TriggerEvent("lsrp-motels:roomOptions", vm.instancename, k)
end
end
end
end
end
else
for k,v in pairs(Config.Zones) do
distance = GetDistanceBetweenCoords(coords, v.Pos.x, v.Pos.y, v.Pos.z, true)
if (distance < v.Boundries) then
for km,vm in pairs(v.Rooms) do
distance = GetDistanceBetweenCoords(coords, vm.entry.x, vm.entry.y, vm.entry.z, true)
if (distance < 1.0) then
DrawText3D(vm.entry.x, vm.entry.y, vm.entry.z + 0.35, '[~g~E~s~] tusuyla ~b~'..vm.number..' ~w~ odasini kirala $~b~'..Config.PriceRental)
if IsControlJustReleased(0, Keys['E']) then
TriggerEvent('lsrp-motels:rentRoom', vm.instancename)
end
end
end
end
end
end
end
function ExitMotel(name, motel, room)
if exitMotel then
local property = name
local playerPed = PlayerPedId()
inRoom = false
inMotel = false
TriggerServerEvent('lsrp-motels:DelMotel')
exitMotel = false
Citizen.CreateThread(function()
DoScreenFadeOut(800)
while not IsScreenFadedOut() do
Citizen.Wait(0)
end
for k,v in pairs(Config.Zones) do
for km,vm in pairs(v.Rooms) do
if room == vm.instancename then
SetEntityCoords(playerPed, vm.entry.x, vm.entry.y, vm.entry.z)
end
end
end
DoScreenFadeIn(800)
end)
end
end
Citizen.CreateThread(function()
Citizen.Wait(0)
while true do
Citizen.Wait(0)
enteredMarker()
end
end)
Citizen.CreateThread(function()
Citizen.Wait(0)
while true do
Citizen.Wait(0)
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
if inRoom then
roomMarkers()
end
if not inMotel then
for k,v in pairs(Config.Zones) do
distance = GetDistanceBetweenCoords(coords, v.Pos.x, v.Pos.y, v.Pos.z, true)
if (distance < v.Boundries) then
getMyMotel()
Citizen.Wait(3000)
end
end
end
end
end)
function OpenPropertyInventoryMenu(property, owner)
ESX.TriggerServerCallback(
"lsrp-motels:getPropertyInventory",
function(inventory)
TriggerEvent("esx_inventoryhud:openMotelsInventory", inventory)
end, owner)
end
function OpenPropertyInventoryMenuBed(property, owner)
ESX.TriggerServerCallback(
"lsrp-motels:getPropertyInventoryBed",
function(inventory)
TriggerEvent("esx_inventoryhud:openMotelsInventoryBed", inventory)
end, owner)
end
function OpenStash()
owner = ESX.GetPlayerData().identifier
ESX.TriggerServerCallback('lsrp-motels:checkIsOwner', function(isOwner)
if isOwner then
TriggerEvent("mythic_progbar:client:progress", {
name = "renting_motel",
duration = 1500,
label = "Accessing Stash",
useWhileDead = false,
canCancel = true,
controlDisables = {
disableMovement = true,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
}, function(status)
if not status then
OpenPropertyInventoryMenuBed('motelsbed', owner)
end
end)
else
TriggerEvent('esx:showNotification', '~w~Sadece motel odasi ~r~sahibi~w~ kullanabilir!')
end
end, curRoom, owner)
end
DrawText3D = function(x, y, z, text)
local onScreen,_x,_y=World3dToScreen2d(x,y,z)
local px,py,pz=table.unpack(GetGameplayCamCoords())
local scale = 0.45
if onScreen then
SetTextScale(scale, scale)
SetTextFont(4)
SetTextProportional(1)
SetTextColour(255, 255, 255, 215)
SetTextOutline()
SetTextEntry("STRING")
SetTextCentre(1)
AddTextComponentString(text)
DrawText(_x,_y)
local factor = (string.len(text)) / 370
DrawRect(_x, _y + 0.0150, 0.030 + factor , 0.030, 66, 66, 66, 150)
end
end
[I][I][I][I][I]TriggerServerEvent('lsrp-motels:rentRoom', room)
TriggerEvent("mythic_progbar:client:progress", {
name = "renting_motel",
duration = 2000,
label = "Renting Room "..motelRoom,
useWhileDead = false,
canCancel = true,
controlDisables = {
disableMovement = true,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
animation = {
animDict = "missheistdockssetup1clipboard@idle_a",
anim = "idle_a",
},
prop = {
model = "prop_notepad_01"
}
}, function(status)
if not status then
letSleep = false
end
end)
end)[/I][/I][/I][/I][/I]
TriggerServerEvent('lsrp-motels:rentRoom', room)
TriggerEvent("mythic_progbar:client:progress", {
name = "renting_motel",
duration = 2000,
label = "Oda kiralanıyor "..motelRoom,
useWhileDead = false,
canCancel = true,
controlDisables = {
disableMovement = true,
disableCarMovement = false,
disableMouse = false,
disableCombat = true,
},
animation = {
animDict = "missheistdockssetup1clipboard@idle_a",
anim = "idle_a",
},
prop = {
model = "prop_notepad_01"
}
}, function(status)
if not status then
end
end)
end)
Bir sonuç elde edemedim.[I][I][I][I][I]TriggerServerEvent('lsrp-motels:rentRoom', room) TriggerEvent("mythic_progbar:client:progress", { name = "renting_motel", duration = 2000, label = "Renting Room "..motelRoom, useWhileDead = false, canCancel = true, controlDisables = { disableMovement = true, disableCarMovement = false, disableMouse = false, disableCombat = true, }, animation = { animDict = "missheistdockssetup1clipboard@idle_a", anim = "idle_a", }, prop = { model = "prop_notepad_01" } }, function(status) if not status then letSleep = false end end) end)[/I][/I][/I][/I][/I]
Bu kısmı
TriggerServerEvent('lsrp-motels:rentRoom', room) TriggerEvent("mythic_progbar:client:progress", { name = "renting_motel", duration = 2000, label = "Oda kiralanıyor "..motelRoom, useWhileDead = false, canCancel = true, controlDisables = { disableMovement = true, disableCarMovement = false, disableMouse = false, disableCombat = true, }, animation = { animDict = "missheistdockssetup1clipboard@idle_a", anim = "idle_a", }, prop = { model = "prop_notepad_01" } }, function(status) if not status then end end) end)
Bununla değiştirin.
Forumdan daha fazla yararlanmak için giriş yapın veya kayıt olun!