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.
[UPDATE]
webhook.lua
file has been renamed to sv_utils.lua
and now lets you change the setVehicleOwned
event;cl_utils.lua
:
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.VehicleSellPercentage
);Config.EnableOkokBankingTransactions
) when you:
Config.DevMode
to 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);[ESX ONLY]
Config.onPlayerDeath
;Config.playerLoaded
;Config.getSharedObject
.Bug fixes:
Config.UseColorID
;vsadmin
menu;vsadmin
) sometimes it would edit the wrong one;Great update!
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.
[UPDATE]
setVehicleOwned
event now passes the vehicle model (id) to be used in some garages;giveKeys
event for the test drive vehicle;Config.TestDrivePlate
in the config to change the vehicle plate in the test drive;hasOwner = false
and 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
Beatifull brooo
will this work on ESX 1.1 ?
Yes, it will.
2.The script can use in more server or just one?
Not very happy as after purchasing and esuring everything was done per the instructions i cannot use the script. I get the error âFailed to verify protected resource okokVehicleShopâ Im met with other customers in the discord with the same issue and the only answers are that we arent using the right keymaster account when indeed we are and can show it. Server Artifacts are latest recommended also. So until the issue with the file protection is resolved id advise not to purchase at the moment. Ive seen replies to others stating you MUST not have brught from the right account thats the only cause but then we can show we have! Ive informed Tebex who replied the exact same response untill i actually showed them the account and now im left awaiting yet another response. Ill update with any outcome for anyone else having this issueâŚ
UPDATE
This turned out to be down to some infected files within my server that were injecting the vehicle shop files on server restart! Issue was not to do with this script at all. At the time the support i recieved was excellent and i was refunded which was quite a surprise too! Now my issues are resolved i will buy it again!!
Hi, the account you have the script on is not the cause of the error, youâre having that error because of the following reason:
Files were possibly corrupted during transfer. Ensure hidden files are copied; the .fxap
file in a protected resource must be included. Some FTP programs skip these files.
You can see all the Fivem Asset Escrow information in the following link: Introducing Asset Escrow for your resources
Yes, you can, but youâll need to specify what shop to open on the event, we are also working on a version that will check via the distance, what shop to open.
You can use the script in more than one server as long as the server license key is in the same cfx/keymaster account.
was downloaded directly to the vps and unzippedâŚ
Would love to see a (cancel) button in the orders menu.
Sometimes taking an order the car does not spawn at the location.
Thatâs a feature that will be implemented soon.
[UPDATE]
[NEW]
Config.SetVisibility
& Config.SetInvincibility
, allows you to set if the player should be invisible/invencible while on the vehicle shop;Config.CheckForOfflineOrdersEvery
, itâll check every x minutes for accepted orders and if who accepted is offline itâll cancel the order;sv_utils.lua
file:
function MySQLexecute
(ESX/QB);function MySQLfetchAll
(ESX);function MySQLinsert
(ESX/QB).openVehicleShopEventOwner
& openVehicleShopEvent
to open the shops on other scripts (itâll check what shop to open through the proximity to the location);vehicle
variable on the event onFinishTestDrive
(cl_utils.lua) so it is possible to remove the keys after the test drive;Config.ShowVehicleShopBlip
, Config.ShowOwnerBlip
, *Config.ShowBuyVehicleShopBlip
& Config.ShowHasOwnerShopBlip
to set what blips are visible on the minimap;currency = 'bank'
to the shops where you can set what currency each shop uses to buy/sell a shop and buy a vehicle, the rest uses the bank account or shop money;Config.TestDrive
to enable/disable the test drive;QBCore = exports["qb-core"]:GetCoreObject()
and TriggerEvent("esx:getSharedObject", function(obj) ESX = obj end)
to something else (cl_utils.lua & sv_utils.lua);[FIXES]
[ESX ONLY]
setVehicleOwned
event (was already present on the qb version).[CHANGED FILES]
i have this error when i try to stock vehicle in boss menu , i am already but from tebex and connect to my patreon key
Is it compatible with esx_advancedgarage?