Commit Graph

18 Commits

Author SHA1 Message Date
Ben Sherman f5a9a96f38 Resolved invalid number format
Setting jobs on players causes grade check to return an error rather than the check itself.

`if PlayerData.job.grade >= 3 then` returns `Attempt to compare number with string`
2018-05-26 22:51:08 +02:00
Corey McCown 8b8a4f45ec Update main.lua
Fix #38, item pickup issue.
2018-05-15 13:46:09 -04:00
ElPumpo 66e7eceddf Improved paycheck system, added advanced notifications, see desc
- Improved paycheck system
    - we now take society money if there is any, or else the employees wont get a salary at all
    - now using ESX.ShowAdvancedNotifications
2018-05-11 13:57:35 +02:00
ElPumpo 3760c3350f Improved translations, fixes #69 and #67 2018-05-01 12:09:06 +02:00
ElPumpo 0edf413a99 Exploit fixed: money negative values 2018-04-28 11:34:25 +02:00
ElPumpo 5f93c0a129 Improved i18 formatting, see desc
- /giveweapon now takes ammo as an argument
- improved Swedish translation
- hide actions in the inventory menu if they cannot be done.
- general code improvements, cleanup
2018-04-15 22:52:03 +02:00
ElPumpo 36d82c922f See the description for changes (cleanup)
- reworked /setmoney [id] [money type] [amount]
- implemented /disc (/disconnect)
- the give submenu does no longer appear if there's no one nearby
- if you have 0 cash, bank or black money it wont appear in your f2 inventory
- when selecting a item, let the item label be the title of the menu (inventory menu)
- minor improvements
2018-04-15 01:33:33 +02:00
ElPumpo 2e67349645 Fixed hardcoded strings, added new trigger esx:onPlayerDeath 2018-04-14 14:25:37 +02:00
KandaSoranyan eb42f346b2 Add files via upload 2018-02-19 03:30:02 +01:00
Jérémie N'gadi 36f14f62ed feat(pickups): Improve pickups
Don't add more items than the inventory limit => Re-throw excessive amount on floor + Pickup count
display
2017-12-11 10:26:51 +01:00
KandaSoranyan 90018baac6 Update paycheck_company.lua
No more cunt who are giving them 1 million with society paycheck.
No money in society account, no pay. That's all
2017-12-03 21:37:09 +01:00
Jérémie N'gadi ca3d4ab017 fix(timeout): Fix sever timeout not triggering 2017-12-01 16:19:48 +01:00
Jérémie N'gadi 4b1f056103 fix(timeout): Fix server timeout problems (clock too slow) under rare conditions 2017-11-04 10:34:04 +01:00
renaiku 6a174821f1 Essential 5.0 compatibility update 2017-10-30 19:59:07 +01:00
Romain Lanz d0c822f0a6 feat(paycheck): add company paycheck 2017-10-07 11:24:48 +02:00
Jérémie N'gadi 43946dcec4 fix(item insertion): Fix mysql timeout when inserting too many items 2017-10-07 10:30:24 +02:00
Romain Lanz 9c0839e1e5 chore(paycheck): change message if interim 2017-09-16 22:12:59 +02:00
Jérémie N'gadi 97adf4f97c build(submodules): Remove submodules + move everything at root 2017-09-15 14:26:56 +02:00