This is a great script, thanks for releasing it as it is very useful.
interaction type menu
- Handcuff
- Uncuff
- Billing
- Rob maybe?
- Impound car?
- revive
- heal
and for each job can be selected type of job menu get ?
yes and can be configure by grade level.
not sure when i can implement this,
i can add all of new feature here
after im done with my current project,
maybe few more daysâŠ
I tried opening boss action and nothing happened, how should I fix it?
vidio Desktop 2021.09.05 - 03.06.53.01
Hello! I set âpublicâ to false in the example police job shop, and now the shop does not appear anymore. Can you help me?
Please open directly a issue to git to handle properly.
The issue is must be event name
Did you rename events?
@Hai_tux
Are you using firstname column from db
EDIT: forget to remove this on JS part, seems to support name columns only, now both name and firstname,lastname from DB.
Changes: script.js
Update
Added Duty On / Off
Changes: Server.lua,Client.lua, config.lua, script.js
I canât deposit and withdraw money but only with type = âmoneyâ but normal black money , and the server notified me
** attempt to index a nil value (local âaccountâ) **
what ESX version?
seems to work fine with final and legacy
Please can you do the crafting and duty standalone ?
what do you mean standalone? no Framework?
Bossmenu, after pressing e, it doesnât respond and disappears. Everything else can be used
@ZunYao
the bossmenu relies to jobs_grade Table from SQL.
With salary and label data.
and last thing the names used are firstname from users table SQL.
if you miss one of those , the boss action will not open.
also i recently fix a problem when using ghmattisql (if thats the case for you)
Bossmenu, after pressing e, it doesnât respond and disappears. Everything else can be used How should I fix it?
How to solve it
I already answer this.
If you cant make the boss menu open your missing something from sql.
Reinstall your esx, and use a clean esx legacy pack.
Open an issue at github and provide more info and screenshots Of server and client.
[ script:renzu_jobs] SCRIPT ERROR: @renzu_jobs/server.lua:527: attempt to index a nil value (local âaccountâ)
[ script:renzu_jobs] > TriggerServerCallback (@es_extended/server/functions.lua:33)
[ script:renzu_jobs] > handler (@es_extended/server/common.lua:88)
I canât use the boss menu, lower salary, pay bonus and canât deposit and withdraw.
Upgrade your ESX.
as stated in Dependency.
only tested in v1 final and ESX Legacy
Other ESX does not have money accounts.
However this is not guaranteed and untested.
You could message me or Open a topic here so i wont forget
Hey Renzu, Iâm trying to deposit money into the mechanic jobs âmoneyâ account from another vehicle upgrade script after someone makes a purchase. Do you have a server callback for this? Iâve tried using the ârenzu_jobs:withdraw_depositâ callback but havenât been able to make it work (probably me).
there are 3 exports in most recent update
Sample:
addmoney = exports.renzu_jobs:addMoney(10000,'mechanic','money',true)
amount,job,money_type,export