44 lines
2.2 KiB
Lua
44 lines
2.2 KiB
Lua
local function AddChatSuggestion(command, description, params)
|
|
TriggerEvent("chat:addSuggestion", command, description, params or {})
|
|
end
|
|
|
|
AddChatSuggestion("/deletegarage", "Command to delete garages from the map, you must be on a garage and have the specific job")
|
|
AddChatSuggestion("/impound", "Command to send cars to an impound, have the specific job")
|
|
AddChatSuggestion("/creategarage", "Command to create garages, you must have the specific job")
|
|
AddChatSuggestion("/garagemenu", "Command to modify the garage, only if you own the garage where you are")
|
|
AddChatSuggestion("/togglesound", "Enable or disable garage music, good use for streamers")
|
|
AddChatSuggestion("/mdv", "Alternate command to /dv, this removes the closest car and sends it to impound")
|
|
AddChatSuggestion("/mdvall", "Command that sends all OUT cars to impound")
|
|
AddChatSuggestion("/deleteJobVehicle", "Remove the work vehicle from a certain garage (JOB BOSS ONLY)")
|
|
AddChatSuggestion("/addJobVehicle", " Add the car you are in to a job garage (JOB BOSS ONLY)")
|
|
|
|
AddChatSuggestion("/givecar", "Give a car to player", {
|
|
{ name = "id", help = "Choose player id" },
|
|
{ name = "vehicle", help = "Vehicle model" },
|
|
{ name = "plate", help = "Vehicle plate, skip if you want random generate plate number" }
|
|
})
|
|
|
|
AddChatSuggestion("/giveplane", "Give an airplane/helicopter to player", {
|
|
{ name = "id", help = "Choose player id" },
|
|
{ name = "vehicle", help = "Vehicle model" },
|
|
{ name = "plate", help = "Vehicle plate, skip if you want random generate plate number" }
|
|
})
|
|
|
|
AddChatSuggestion("/giveboat", "Give a boat to player", {
|
|
{ name = "id", help = "Choose player id" },
|
|
{ name = "vehicle", help = "Vehicle model" },
|
|
{ name = "plate", help = "Vehicle plate, skip if you want random generate plate number" }
|
|
})
|
|
|
|
AddChatSuggestion("/addcar", "Give the car you are riding in to another player", {
|
|
{ name = "id", help = "Choose player id" }
|
|
})
|
|
|
|
AddChatSuggestion("/addplane", "Give the plane you are riding in to another player", {
|
|
{ name = "id", help = "Choose player id" }
|
|
})
|
|
|
|
AddChatSuggestion("/addboat", "Give the boat you are riding in to another player", {
|
|
{ name = "id", help = "Choose player id" }
|
|
})
|