STEAM COUNTER-OFFERS
STEAM COUNTER-OFFERS Save vs Steam
STEAM COUNTER-OFFERS
STEAM COUNTER-OFFERS Save vs Steam
Most popular searches
Call of Duty Black Ops 6
Fortnite Cobalt Star DLC
EA SPORTS FC 25
PlayStation Plus Essential 12 Meses
Farming Simulator 25
Gran Turismo 7
Baldurs Gate 3
Microsoft Office 365
DRAGON BALL Sparking ZERO
Elden Ring
Sorry, not have results for platform selected
See all results
PC
Xbox
PSN
Nintendo
Gift Cards
Software
PC
Gift Cards
Most popular searches
Call of Duty Black Ops 6
Fortnite Cobalt Star DLC
EA SPORTS FC 25
PlayStation Plus Essential 12 Meses
Farming Simulator 25
Gran Turismo 7
Baldurs Gate 3
Microsoft Office 365
DRAGON BALL Sparking ZERO
Elden Ring
Sorry, not have results for platform selected
See all results
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
-- Door lock control (use ox_doorlock or custom) Config.UseAdvancedLock = false
dependencies { 'es_extended', -- or 'qb-core' 'ox_target' -- or 'qb-target' } Config = {} -- Framework: 'esx' or 'qb' Config.Framework = 'esx' hotel script fivem
function Notify(source, msg, type) if Config.Framework == 'esx' then TriggerClientEvent('esx:showNotification', source, msg) else TriggerClientEvent('QBCore:Notify', source, msg, type) end end <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Hotel Payment</title> <style> body { font-family: 'Poppins', sans-serif; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .payment-box { background: #1e1e2f; color: white; padding: 30px; border-radius: 12px; text-align: center; width: 300px; box-shadow: 0 0 20px rgba(0,0,0,0.5); } .payment-box h2 { margin-bottom: 10px; } .price { font-size: 28px; color: #ffc107; margin: 20px 0; } button { background: #2ecc71; border: none; color: white; padding: 12px 20px; border-radius: 8px; cursor: pointer; font-size: 18px; width: 100%; } button:hover { background: #27ae60; } .close { background: #e74c3c; margin-top: 10px; } .close:hover { background: #c0392b; } </style> </head> <body> <div class="payment-box"> <h2>Hotel Room Rental</h2> <p id="roomDisplay">Room: ---</p> <div class="price">$<span id="price">0</span></div> <button id="payBtn">Pay & Rent</button> <button id="closeBtn" class="close">Cancel</button> </div> <script> let currentRoom = null; let currentPrice = 0;
-- Reception NPC Config.ReceptionNPC = { model = 's_m_m_doctor_01', coords = vector4(335.12, -790.24, 29.44, 156.32), -- x,y,z,heading blip = { enabled = true, sprite = 475, color = 3, scale = 0.8, name = "Hotel Reception" } } function giveItem(source, item, count, metadata) if Config
-- Helper functions function getIdentifier(source) if Config.Framework == 'esx' then local xPlayer = ESX.GetPlayerFromId(source) return xPlayer.identifier else local Player = QBCore.Functions.GetPlayer(source) return Player.PlayerData.citizenid end 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 msg) else TriggerClientEvent('QBCore:Notify'
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})
We use cookies to provide you with the best experience on our website. You can review our privacy policy By clicking "Accept All", you agree to the use of all cookies.
Share Gocdkeys URLs on gaming websites/forums, and we will grant you +120 Tickets
How does it work?
Received. Give us 48 hours to verify it and send you your tickets.
Set Price Alert
{game_name} for {game_platform}
We will notify you when...
Alert created successfully!
Error creating the alert!
The minimum price cannot be higher than the original price
The minimum price cannot be empty
The minimum price is not valid
You already have an alert created for this game