Hello i have a little problem when i want Hire a employed
Do you know why?
Hi, I do not offer support on threads, please send me a private message.
webhook.luafile has been renamed to
sv_utils.luaand now lets you change the
onMenuOpen- allows you to execute code when the player opens the vehicle shop;
onMenuClose- allows you to execute code when the player leaves the vehicle shop;
onStartTestDrive- allows you to execute code when the player starts the test drive;
onFinishTestDrive- allows you to execute code when the player finishes the test drive.
TriggerEvent(Config.EventPrefix..':open', type, id);
TriggerEvent(Config.EventPrefix..':openMenu', type, id);
Config.VehicleShopBuyVehicle) for a percentage of the vehicle’s min price (
Config.EnableOkokBankingTransactions) when you:
Config.DevModeto allow you to restart the script without losing access to the owner/employees blip (IMPORTANT - only set this to true if you are configuring the script);
vsadmin) sometimes it would edit the wrong one;
One last thing, just want to make sure that the client event of purchasing/selling or testing a vehicle is not obfuscated. Only that we need to implement a client side export for giving and taking vehicle keys.
Look forward to hearing from you!
You can already give keys in the sv_utils.lua file.
setVehicleOwnedevent now passes the vehicle model (id) to be used in some garages;
giveKeysevent for the test drive vehicle;
Config.TestDrivePlatein the config to change the vehicle plate in the test drive;
hasOwner = falseand is in the database it’ll now be automatically deleted on the resource start.
Adding a currency config option should be a must. Kinda sick of having to re-correct it every time there is an update XD