1
0
Fork 0
forked from Simnation/Main

Update stored.lua

This commit is contained in:
Miho931 2025-06-08 17:56:10 +02:00
parent 52d304fff4
commit c0327f4ebd

View file

@ -4,9 +4,7 @@ AddEventHandler('mh_garage:storeVehicle', function(zone)
print(json.encode(zone)) print(json.encode(zone))
local coords = GetEntityCoords(PlayerPedId()) local coords = GetEntityCoords(PlayerPedId())
local vehicles = GetGamePool('CVehicle') local vehicles = GetGamePool('CVehicle')
local random = SelectName() local randomname, randomdes = SelectName()
print(json.encode(random))
local opt = {} local opt = {}
@ -40,9 +38,11 @@ AddEventHandler('mh_garage:storeVehicle', function(zone)
lib.registerContext({ lib.registerContext({
id = "StoredVehicles", id = "StoredVehicles",
title = "Fahrzeugwärter", title = randomname,
description = "Ich pass auf eure Fahrzeuge auf, Ihr könnt mir vertrauen" description = randomdes
}) })
lib.showContext("StoredVehicles")
end end
end end
end) end)