This repository has been archived by the owner on Jul 17, 2018. It is now read-only.
forked from esx-community/esx_jail
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Major code cleanup - Improved usability with the commands, not specifying user in the unjail command will unjail the source - Check for jailing non-existing users, and makes sure there is a time - Locate improvements with formatting (using %s) - Code cleanup and improvements over all - Prison clothes moved to `config.lua` - Added basic documentation
- Loading branch information
Showing
5 changed files
with
97 additions
and
102 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,28 @@ | ||
Config = {} | ||
Config.JailBlip = {x = 1854.00, y = 2622.00, z = 45.00} | ||
Config.JailLocation = {x = 1641.64, y = 2571.08, z = 45.56} | ||
Config.Locale = 'sv' | ||
Config.Locale = 'sv' | ||
|
||
-- CHECK SKINCHANGER CLIENT MAIN.LUA for matching elements | ||
Config.Uniforms = { | ||
prison_wear = { | ||
male = { | ||
['tshirt_1'] = 15, ['tshirt_2'] = 0, | ||
['torso_1'] = 146, ['torso_2'] = 0, | ||
['decals_1'] = 0, ['decals_2'] = 0, | ||
['arms'] = 0, ['pants_1'] = 3, | ||
['pants_2'] = 7, ['shoes_1'] = 12, | ||
['shoes_2'] = 12, ['chain_1'] = 50, | ||
['chain_2'] = 0 | ||
}, | ||
female = { | ||
['tshirt_1'] = 3, ['tshirt_2'] = 0, | ||
['torso_1'] = 38, ['torso_2'] = 3, | ||
['decals_1'] = 0, ['decals_2'] = 0, | ||
['arms'] = 2, ['pants_1'] = 3, | ||
['pants_2'] = 15, ['shoes_1'] = 66, | ||
['shoes_2'] = 5, ['chain_1'] = 0, | ||
['chain_2'] = 2 | ||
} | ||
} | ||
} |
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,10 +1,8 @@ | ||
Locales ['en'] = { | ||
['blip_name'] = 'Prison', | ||
['blip_name'] = 'prison', | ||
['judge'] = 'JUDGE', | ||
['escape_attempt'] = 'You are not allowed to escape the prison!', | ||
['remaining_msg1'] = 'There remains ', | ||
['remaining_msg2'] = ' minutes until you are released', | ||
['jailed_msg1'] = ' is now in jail for ', | ||
['jailed_msg2'] = ' minutes', | ||
['unjailed'] = ' has been released from jail!' | ||
['escape_attempt'] = 'you are not allowed to escape the prison!', | ||
['remaining_msg'] = 'there remains %s minutes until you are released from jail', | ||
['jailed_msg'] = '%s is now in jail for %s minutes', | ||
['unjailed'] = '%s has been released from jail!' | ||
} |
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,10 +1,8 @@ | ||
Locales ['sv'] = { | ||
['blip_name'] = 'Fängelse', | ||
['judge'] = 'Fängelse', | ||
['escape_attempt'] = 'Du får inte rymma från fängelset!', | ||
['remaining_msg1'] = 'Det kvarstår ', | ||
['remaining_msg2'] = ' minuter tills du släpps från fängelset', | ||
['jailed_msg1'] = ' sitter i fängelse i ', | ||
['jailed_msg2'] = ' minuter!', | ||
['unjailed'] = ' har blivit befriad från fängelset!' | ||
['blip_name'] = 'fängelse', | ||
['judge'] = 'fängelse', | ||
['escape_attempt'] = 'du får inte rymma från fängelset!', | ||
['remaining_msg'] = 'det kvarstår %s minuter tills du släpps från fängelset', | ||
['jailed_msg'] = '%s sitter i fängelse i %s minuter!', | ||
['unjailed'] = '%s har blivit befriad från fängelset!' | ||
} |
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