forked from Simnation/Main
ed
This commit is contained in:
parent
3b07589d61
commit
d271b73053
3 changed files with 759 additions and 667 deletions
File diff suppressed because it is too large
Load diff
|
@ -64,7 +64,7 @@
|
|||
</Probabilities>
|
||||
</plateProbabilities>
|
||||
<lightSettings value="2007" />
|
||||
<sirenSettings value="1320" />
|
||||
<sirenSettings value="1302" />
|
||||
</Item>
|
||||
|
||||
</variationData>
|
||||
|
|
|
@ -35,26 +35,3 @@ QBCore.Commands.Add("shisha", "Spawn a shisha", {}, false, function(source)
|
|||
|
||||
TriggerClientEvent("chema_shisha:spawn", -1, entity, Player)
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue