1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-08-13 22:46:07 +02:00
parent 3b07589d61
commit d271b73053
3 changed files with 759 additions and 667 deletions

View file

@ -64,7 +64,7 @@
</Probabilities> </Probabilities>
</plateProbabilities> </plateProbabilities>
<lightSettings value="2007" /> <lightSettings value="2007" />
<sirenSettings value="1320" /> <sirenSettings value="1302" />
</Item> </Item>
</variationData> </variationData>

View file

@ -35,26 +35,3 @@ QBCore.Commands.Add("shisha", "Spawn a shisha", {}, false, function(source)
TriggerClientEvent("chema_shisha:spawn", -1, entity, Player) TriggerClientEvent("chema_shisha:spawn", -1, entity, Player)
end) end)
local CurrentVersion = '1.0'
PerformHttpRequest('https://raw.githubusercontent.com/ChemaSanchez/chema_shisha/main/Version.txt', function(Error, NewestVersion, Header)
PerformHttpRequest('https://raw.githubusercontent.com/ChemaSanchez/chema_shisha/main/Version.txt', function(Error, Changes, Header)
print('^0')
print('^6[chema_shisha]^0 Checking for updates...')
print('^0')
print('^6[chema_shisha]^0 Version: ^5' .. CurrentVersion .. '^0')
print('^0')
if CurrentVersion ~= NewestVersion then
print('^6[chema_shisha]^0 Your script is ^8outdated^0!')
print('^0')
print('^6[chema_shisha] ^3New Version ^5' .. NewestVersion .. ':^0')
print('^3')
print('^0')
print('^6[chema_shisha]^0 You ^8do not have^0 the latest version of ^5chema_shisha^0. Update it: https://github.com/ChemaSanchez/chema_shisha/releases/tag/'.. NewestVersion)
else
print('^6[chema_shisha]^0 Script is ^2up to date^0')
end
print('^0')
end)
end)