Conversation
- Refactored client/main.lua (FreezePlayer, PlayerPedId, threads cleanup) - Refactored server/main.lua (secure buyWeapon/buyVehicle, account choice, MySQL checks) - Added Config.ArmoryAccount (money/bank) for purchases - Improved shared/permissions.lua and constants.lua handling - Fixed weapon purchase error and cleaned redundant code
| } | ||
|
|
||
| Config.Cuffs = { | ||
| FreezePlayer = false |
There was a problem hiding this comment.
Maybe add a soft and hard cuff option instead of freezeplayer with controls that are disabled or not for each?
There was a problem hiding this comment.
Oh yeah, that's a good idea, I didn't have it at the time. I'll take care of it in the afternoon.
|
I see different things that you can continue refactorizing and separate in different files to have a better readable At the same time i see this news implementations Did you test it that it works good? |
|
|





Changes
Description
Motivation