Auto-sync 2026-04-15 23:40
This commit is contained in:
parent
f14cfef22f
commit
6164274576
@ -20,7 +20,7 @@ Config.NPC = {
|
||||
|
||||
-- Fahrrad-Optionen
|
||||
Config.Bikes = {
|
||||
{ model = "scorcher", label = "Mountainbike", image = "scorcher" },
|
||||
{ model = "scorcher", label = "Scorcher", image = "scorcher" },
|
||||
}
|
||||
|
||||
-- Spawn-Position des Fahrrads (vor dem Spieler)
|
||||
|
||||
@ -151,8 +151,9 @@ RegisterNetEvent('mercyv-bike:claim', function(bikeModel)
|
||||
local modelHash = joaat and joaat(bikeModel) or 0
|
||||
local skinData = json.encode({ model = GetHashKey(bikeModel), plate = plate })
|
||||
|
||||
-- Fahrzeug eintragen mit stored=0 (ist direkt in der Welt)
|
||||
MySQL.insert(
|
||||
string.format("INSERT INTO `%s` (plate, `%s`, `%s`, stored, parking, job, veh_class) VALUES (?, ?, ?, 1, 'Garage A', '', 13)", tbl, owner, props),
|
||||
string.format("INSERT INTO `%s` (plate, `%s`, `%s`, stored, parking, job, veh_class) VALUES (?, ?, ?, 0, 'Garage A', '', 13)", tbl, owner, props),
|
||||
{ plate, identifier, skinData }
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user