ยางสำหรับรถยนต์ออฟโรด / MUD-TERRAIN TIRE

hotel script fivem

ยางออฟโรด สุดแกร่ง ทนทาน พร้อมลุย
มั่นใจทุกสภาพถนน

ต้องการความช่วยเหลือ
SA4000-road

ข้อมูลเพิ่มเติม

hotel script fivem

Hotel: Script Fivem

function removeMoney(source, amount) if Config.Framework == 'esx' then local xPlayer = ESX.GetPlayerFromId(source) if xPlayer.getMoney() >= amount then xPlayer.removeMoney(amount) return true end else local Player = QBCore.Functions.GetPlayer(source) if Player.Functions.RemoveMoney('cash', amount) then return true end end return false end

if roomNumber == nil then -- Find free room MySQL.query('SELECT room_number FROM hotel_rentals WHERE paid_until > ?', {os.time()}, function(occupied) local occupiedRooms = {} for _, v in pairs(occupied) do occupiedRooms[v.room_number] = true end hotel script fivem

function giveItem(source, item, count, metadata) if Config.Framework == 'esx' then local xPlayer = ESX.GetPlayerFromId(source) xPlayer.addInventoryItem(item, count) else local Player = QBCore.Functions.GetPlayer(source) Player.Functions.AddItem(item, count, false, metadata) TriggerClientEvent('inventory:client:ItemBox', source, QBCore.Shared.Items[item], 'add') end end function removeMoney(source, amount) if Config

if removeMoney(src, price) then local paidUntil = os.time() + (Config.PaymentInterval * 60) MySQL.insert('INSERT INTO hotel_rentals (citizenid, room_number, paid_until) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE paid_until = ?', {identifier, roomNumber, paidUntil, paidUntil}) -- Give key item giveItem(src, 'hotel_key', 1, {room = roomNumber}) 'success') else Notify(src

-- Handle payment and room assignment RegisterNetEvent('hotel:payRent') AddEventHandler('hotel:payRent', function(roomNumber, price) local src = source local identifier = getIdentifier(src)

-- Spawn reception NPC Citizen.CreateThread(function() local model = Config.ReceptionNPC.model RequestModel(model) while not HasModelLoaded(model) do Citizen.Wait(10) end local npc = CreatePed(4, model, Config.ReceptionNPC.coords.x, Config.ReceptionNPC.coords.y, Config.ReceptionNPC.coords.z - 1.0, Config.ReceptionNPC.coords.w, false, true) SetEntityInvincible(npc, true) FreezeEntityPosition(npc, true) SetBlockingOfNonTemporaryEvents(npc, true)

TriggerClientEvent('hotel:assignRoom', src, roomNumber) Notify(src, 'You rented room ' .. roomNumber .. ' for $' .. price, 'success') else Notify(src, 'Not enough money', 'error') end end)

function removeMoney(source, amount) if Config.Framework == 'esx' then local xPlayer = ESX.GetPlayerFromId(source) if xPlayer.getMoney() >= amount then xPlayer.removeMoney(amount) return true end else local Player = QBCore.Functions.GetPlayer(source) if Player.Functions.RemoveMoney('cash', amount) then return true end end return false end

if roomNumber == nil then -- Find free room MySQL.query('SELECT room_number FROM hotel_rentals WHERE paid_until > ?', {os.time()}, function(occupied) local occupiedRooms = {} for _, v in pairs(occupied) do occupiedRooms[v.room_number] = true end

function giveItem(source, item, count, metadata) if Config.Framework == 'esx' then local xPlayer = ESX.GetPlayerFromId(source) xPlayer.addInventoryItem(item, count) else local Player = QBCore.Functions.GetPlayer(source) Player.Functions.AddItem(item, count, false, metadata) TriggerClientEvent('inventory:client:ItemBox', source, QBCore.Shared.Items[item], 'add') end end

if removeMoney(src, price) then local paidUntil = os.time() + (Config.PaymentInterval * 60) MySQL.insert('INSERT INTO hotel_rentals (citizenid, room_number, paid_until) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE paid_until = ?', {identifier, roomNumber, paidUntil, paidUntil}) -- Give key item giveItem(src, 'hotel_key', 1, {room = roomNumber})

-- Handle payment and room assignment RegisterNetEvent('hotel:payRent') AddEventHandler('hotel:payRent', function(roomNumber, price) local src = source local identifier = getIdentifier(src)

-- Spawn reception NPC Citizen.CreateThread(function() local model = Config.ReceptionNPC.model RequestModel(model) while not HasModelLoaded(model) do Citizen.Wait(10) end local npc = CreatePed(4, model, Config.ReceptionNPC.coords.x, Config.ReceptionNPC.coords.y, Config.ReceptionNPC.coords.z - 1.0, Config.ReceptionNPC.coords.w, false, true) SetEntityInvincible(npc, true) FreezeEntityPosition(npc, true) SetBlockingOfNonTemporaryEvents(npc, true)

TriggerClientEvent('hotel:assignRoom', src, roomNumber) Notify(src, 'You rented room ' .. roomNumber .. ' for $' .. price, 'success') else Notify(src, 'Not enough money', 'error') end end)

ขนาดและข้อมูลต่างๆ


ขนาดยาง

จำนวนชั้นผ้าใบ

ดัชนีการรับน้ำหนัก/ดัชนีความเร็วของยาง

แก้มยางสีดำ/ตัวหนังสือสีขาว
ค่ารับน้ำหนักสูงสุด ความกว้างกระทะล้อ แรงดันลมยางสูงสุด
เดี่ยว(กก.) คู่(กก.) นิ้ว ปอนด์/ตารางนิ้ว
33x12.50R20LT* 10 114Q แก้มยางสีดำ/ตัวหนังสือสีขาว 1180 - 10.00 65
35x12.50R20LT* 10 121Q แก้มยางสีดำ/ตัวหนังสือสีขาว 1450 - 10.00 65
35x12.50R20LT* 12 125Q แก้มยางสีดำ 1650 - 10.00 80
33x12.50R20LT* 12 119Q แก้มยางสีดำ 1360 - 10.00 80