Skip to content

Commit

Permalink
Merge pull request #552 from bitpredator/dev
Browse files Browse the repository at this point in the history
chore: code cleanup and fixes + remove store dmvshool
  • Loading branch information
bitpredator authored Nov 5, 2023
2 parents 79658bc + e3bb7a8 commit 1f74927
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 28 deletions.
6 changes: 4 additions & 2 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
7. [npwd + es_extended]: chore: removed support for npwd_crypto @bitpredator
8. [ox_lib]: chore: ox_lib update to version '3.11.0' @bitpredator
9. [esx_addons]: chore: replace esx_drivingschooljob with esx_dmvschool @bitpredator
10.[SQL]: chore: update database @bitpredator
11.[maps]: delete: remove maps verpi_driving_school @bitpredator
10. [SQL]: chore: update database @bitpredator
11. [maps]: delete: remove maps verpi_driving_school @bitpredator
12. [ox_inventory]: chore: remove store dmvshool @bitpredator
13. [BasicItem]: chore: code cleanup and fixes @bitpredator
9 changes: 1 addition & 8 deletions server-data/resources/[esx_addons]/BasicItem/client/main.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
ESX = nil
CreateThread(function()
ESX = exports["es_extended"]:getSharedObject()
while ESX.GetPlayerData().job == nil do
Wait(10)
end
ESX.PlayerData = ESX.GetPlayerData()
end)
ESX = exports["es_extended"]:getSharedObject()

RegisterNetEvent("IDCARD:USE")
AddEventHandler("IDCARD:USE", function()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Locales['en'] = {
Locales['it'] = {
['you_have_licensed'] = 'hai ricevuto la tua licenza'
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ESX = nil
ESX = exports["es_extended"]:getSharedObject()

ESX.RegisterUsableItem('idcard', function(source)
local _source = source
TriggerClientEvent("IDCARD:USE", _source)
Expand Down
16 changes: 0 additions & 16 deletions server-data/resources/[ox]/ox_inventory/data/shops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,22 +74,6 @@ return {
}
},

DmvSchool = {
name = 'Scuola Guida',
groups = {
['driving'] = 4
},
blip = {
id = 403, colour = 69, scale = 0.8
}, inventory = {
{ name = 'dmvcard', price = 10000 }
}, locations = {
vec3(214.694519, -1400.452759, 30.577271)
}, targets = {

}
},

Government = {
name = 'Governo',
blip = {
Expand Down

0 comments on commit 1f74927

Please sign in to comment.