-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #507 from bitpredator/develop
refactor: Improved code formatting + fixed many issues
- Loading branch information
Showing
6 changed files
with
84 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
|
||
|
||
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES | ||
('pelt_boar', 'Boar Pelt', 1, 0, 1), | ||
('pelt_mtnlion', 'Mountain Lion Pelt', 1, 0, 1), | ||
('pelt_deer', 'Deer Pelt', 1, 0, 1), | ||
('pelt_coyote', 'Coyote Pelt', 1, 0, 1), | ||
('pelt_rabbit', 'Rabbit Pelt', 1, 0, 1); | ||
('pelt_rabbit', 'Rabbit Pelt', 1, 0, 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
|
||
|
||
INSERT INTO `items` (`name`, `label`, `limit`, `rare`, `can_remove`) VALUES | ||
('pelt_boar', 'Boar Pelt', 10, 0, 1), | ||
('pelt_mtnlion', 'Mountain Lion Pelt', 10, 0, 1), | ||
('pelt_deer', 'Deer Pelt', 10, 0, 1), | ||
('pelt_coyote', 'Coyote Pelt', 10, 0, 1), | ||
('pelt_rabbit', 'Rabbit Pelt', 10, 0, 1); | ||
('pelt_rabbit', 'Rabbit Pelt', 10, 0, 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Locales['en'] = { | ||
['knife_uses'] = 'Devi usare un coltello', | ||
['you_collected'] = 'Hai raccolto un', | ||
['deer_meat'] = 'Deer meat', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
ESX = nil | ||
|
||
ESX = exports["es_extended"]:getSharedObject(), function(response) | ||
ESX = response | ||
end | ||
ESX = exports["es_extended"]:getSharedObject() | ||
|
||
RegisterServerEvent('esx_bobhunt:getPelt') | ||
AddEventHandler('esx_bobhunt:getPelt', function(item, p_name) | ||
local _source = source | ||
local xPlayer = ESX.GetPlayerFromId(_source) | ||
xPlayer.addInventoryItem(item, 10) | ||
TriggerClientEvent('esx:showNotification', source, _U('you_collected') .. p_name) | ||
end) | ||
end) |