forked from Simnation/Main
ed
This commit is contained in:
parent
ad58f5323b
commit
5e6bc11bb8
3 changed files with 9 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<Sirens>
|
<Sirens>
|
||||||
<Item>
|
<Item>
|
||||||
<id value="10560"/> <!--Tow Truck made by Redneck Modifications.-->
|
<id value="8916"/> <!--Tow Truck made by Redneck Modifications.-->
|
||||||
<name>f450c</name>
|
<name>f450c</name>
|
||||||
<timeMultiplier value="1.00000000"/>
|
<timeMultiplier value="1.00000000"/>
|
||||||
<lightFalloffMax value="120.00000000"/>
|
<lightFalloffMax value="120.00000000"/>
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
<Probabilities />
|
<Probabilities />
|
||||||
</plateProbabilities>
|
</plateProbabilities>
|
||||||
<lightSettings value="1" />
|
<lightSettings value="1" />
|
||||||
<sirenSettings value="10560" />
|
<sirenSettings value="8916" />
|
||||||
</Item>
|
</Item>
|
||||||
<Item>
|
<Item>
|
||||||
<modelName>pd2</modelName>
|
<modelName>pd2</modelName>
|
||||||
|
@ -208,7 +208,7 @@
|
||||||
<Probabilities />
|
<Probabilities />
|
||||||
</plateProbabilities>
|
</plateProbabilities>
|
||||||
<lightSettings value="1" />
|
<lightSettings value="1" />
|
||||||
<sirenSettings value="10560" />
|
<sirenSettings value="8916" />
|
||||||
</Item>
|
</Item>
|
||||||
<Item>
|
<Item>
|
||||||
<modelName>pd5</modelName>
|
<modelName>pd5</modelName>
|
||||||
|
@ -312,7 +312,7 @@
|
||||||
<Probabilities />
|
<Probabilities />
|
||||||
</plateProbabilities>
|
</plateProbabilities>
|
||||||
<lightSettings value="1" />
|
<lightSettings value="1" />
|
||||||
<sirenSettings value="10560" />
|
<sirenSettings value="8916" />
|
||||||
</Item>
|
</Item>
|
||||||
<Item>
|
<Item>
|
||||||
<modelName>pd4</modelName>
|
<modelName>pd4</modelName>
|
||||||
|
@ -416,7 +416,7 @@
|
||||||
<Probabilities />
|
<Probabilities />
|
||||||
</plateProbabilities>
|
</plateProbabilities>
|
||||||
<lightSettings value="1" />
|
<lightSettings value="1" />
|
||||||
<sirenSettings value="10560" />
|
<sirenSettings value="8916" />
|
||||||
</Item>
|
</Item>
|
||||||
<Item>
|
<Item>
|
||||||
<modelName>pd3</modelName>
|
<modelName>pd3</modelName>
|
||||||
|
@ -520,7 +520,7 @@
|
||||||
<Probabilities />
|
<Probabilities />
|
||||||
</plateProbabilities>
|
</plateProbabilities>
|
||||||
<lightSettings value="1" />
|
<lightSettings value="1" />
|
||||||
<sirenSettings value="10560" />
|
<sirenSettings value="8916" />
|
||||||
</Item>
|
</Item>
|
||||||
</variationData>
|
</variationData>
|
||||||
</CVehicleModelInfoVariation>
|
</CVehicleModelInfoVariation>
|
|
@ -371,11 +371,14 @@ function Framework.Client.OpenInventoryStash(stashId, stashName)
|
||||||
exports["qs-inventory"]:RegisterStash(stashName, 50, 50000000)
|
exports["qs-inventory"]:RegisterStash(stashName, 50, 50000000)
|
||||||
elseif (Config.Inventory == "auto" and GetResourceState("codem-inventory") == "started") or Config.Inventory == "codem-inventory" then
|
elseif (Config.Inventory == "auto" and GetResourceState("codem-inventory") == "started") or Config.Inventory == "codem-inventory" then
|
||||||
TriggerServerEvent("codem-inventory:server:openstash", stashId, 15, 15000, stashName)
|
TriggerServerEvent("codem-inventory:server:openstash", stashId, 15, 15000, stashName)
|
||||||
|
elseif (Config.Inventory == "auto" and GetResourceState("tgiann-inventory") == "started") or Config.Inventory == "tgiann-inventory" then
|
||||||
|
exports["tgiann-inventory"]:OpenInventory("stash", stashId, { maxweight = 50000, slots = 50 })
|
||||||
else
|
else
|
||||||
error("Error: Invalid inventory system set in config.")
|
error("Error: Invalid inventory system set in config.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
---@param soundId integer|false
|
---@param soundId integer|false
|
||||||
function Framework.Client.StopSound(soundId)
|
function Framework.Client.StopSound(soundId)
|
||||||
if not soundId or Config.DisableSound then return false end
|
if not soundId or Config.DisableSound then return false end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue