Example of one script I use, that sit on chair and start counting money with machine.
Info:
The position to interact with this action.
offset = vector3(-0.8, 0.896, 0.6), â The offset for the scene/animations.
rotation = vector3(0.0, 0.0, 180.0), â Target rotation for the scene.
time = 20000, â Action bar timer.
act = âMoneyâ, â Which set of scenes should we be performing?
scene = 1, â Which scene should we perform from above set?
Model of prop.
Offset from scene start location.
Object rotation.
[1] = {
model = âbkr_prop_money_counterâ, â Model of prop.
pos = vector3(-0.25,0.22,0.4), â Offset from scene start location.
rot = vector3(0.0,0.0,180.0), â Object rotation.
},
Hello, I had already spoken with you through a ticket and since the file used for the f6 menu was decrypted, I modified it by adding a function to place items on the ground (already preset) I have another script that allows them to be deleted but now you see how it is Better here I leave the fragment that I modified
in the bolean canHandcuff add this table.insert
table.insert(elements, {label = 'Objetos Policiales (No usar ilegales)', value = 'object_spawner'})
and this is the one that opens the menu and place the objects
elseif(action == "object_spawner") then
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'citizen_interaction', {
title = 'Interacciones de trancito',
align = 'bottom-right',
elements = {
{label = 'Cono', model = 'prop_roadcone02a'},
{label = 'Barrera', model = 'prop_barrier_work05'},
{label = 'Poncha llantas', model = 'p_ld_stinger_s'},
{label = 'Caja', model = 'prop_boxpile_07d'},
{label = 'Dinero', model = 'hei_prop_cash_crate_half_full'}
}}, function(data2, menu2)
local playerPed = PlayerPedId()
local coords, forward = GetEntityCoords(playerPed), GetEntityForwardVector(playerPed)
local objectCoords = (coords + forward * 1.0)
ESX.Game.SpawnObject(data2.current.model, objectCoords, function(obj)
SetEntityHeading(obj, GetEntityHeading(playerPed))
PlaceObjectOnGroundProperly(obj)
end)
end, function(data2, menu2)
menu2.close()
end)
end
suggestion, should be an easy one!!
Option for weapon upgrader to be paid with dirty money, got some of that stuff set up for gangs and would like to create more use with dirty money.
Yea we use Core Multi-job as well = but the issue is, if a player accidently removes their âwhitelistedâ job, they are unable to go to a job center and get the job again - or at the proper rank.
I believe when the âwhitelistâ gets toggled with this jobs creator script - It âshouldâ update the âuser tableâ with a ânewjob_rankâ column, where ânewjobâ is the sql name of the job being whitelisted. That way, if a player accidently deletes their job from the core multijob script OR if a server doesnât use that script - they can switch back and forth from their allowed whitelisted jobs via a job center (the whitelist job only appears if a player has a rank of 0 or higher).
Currently we are just telling people to be careful and not accidently remove their job from the core-multijob script⌠but would be nice to not have to, and have a actual functional whitelist instead of just blind restricting it.
Heres an example of our users table with the âjob_rankâ that saves to a player.
I feel like if enough other people have this issue without a solution (other then buying another script like core multijob like we did - which is only a bandaid because again, if a player accidently deletes their whitelisted job they cant get it back without speaking to a boss or someone to ârehireâ them), the script maker might allow for an update - as the script is obstructed I cant even make the simple callout to add the job rank code into the script, nor is there currently enough requests for him to do this type of update yet⌠maybe people donât realize its an issue⌠or maybe Iâve just been using esx whitelist wrong all along lol.
Yeah I get you, we currently donât have anything implemented to avoid that. People usually submit a support ticket if they do remove it. The only real problem Iâve had is when people get promoted and it doesnât stick their new roles.
You could potentially try and find or develop a script (also a suggestion for this script) that is a job centre based on whitelisted only jobs to access the whitelist jobs. In saying that if you have gang roles that are whitelisted those may potentially show up in the list (unless you could set them like you do in core_jobutils).
But yeah I totally see your point there, especially if you are running a high pop community and the constant tickets and requests are annoying!
Please add the ability to spawn the cars with selected tuning parts. As some custom cars have bodyparts that need to be tuning to make the car visible.
Hi jaksam1074,
My Friend has a GTA V/Fivem Server he created a Job named Shaks. Everyone else can see the NPCâs and Stuff like that. I canât even use them (Tresor, On/Off Duty âŚ) . I also tried removing the Job an giving it back.
Please Help
i would suggest an Animation with ProgressBar when you search a Player maybe to configure how long that Animation takes. And a feature so you can search players only whe you cuffed them to activate and deactivate aswell