forked from Simnation/Main
Update stored.lua
This commit is contained in:
parent
52d304fff4
commit
c0327f4ebd
1 changed files with 5 additions and 5 deletions
|
@ -4,9 +4,7 @@ AddEventHandler('mh_garage:storeVehicle', function(zone)
|
|||
print(json.encode(zone))
|
||||
local coords = GetEntityCoords(PlayerPedId())
|
||||
local vehicles = GetGamePool('CVehicle')
|
||||
local random = SelectName()
|
||||
|
||||
print(json.encode(random))
|
||||
local randomname, randomdes = SelectName()
|
||||
|
||||
local opt = {}
|
||||
|
||||
|
@ -40,9 +38,11 @@ AddEventHandler('mh_garage:storeVehicle', function(zone)
|
|||
|
||||
lib.registerContext({
|
||||
id = "StoredVehicles",
|
||||
title = "Fahrzeugwärter",
|
||||
description = "Ich pass auf eure Fahrzeuge auf, Ihr könnt mir vertrauen"
|
||||
title = randomname,
|
||||
description = randomdes
|
||||
})
|
||||
|
||||
lib.showContext("StoredVehicles")
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue