Comment on page
esx_policejob Compatibility
To make the esx_policejob script compatible with the Advanced Police Grab Ped, open the configuration file of the r_grab resource and modify these two lines:


Then open the file
esx_policejob/client/main.lua
- Go to line 675 or search
elseif action == 'drag' then
and modify the line belowTriggerServerEvent('esx_policejob:drag', GetPlayerServerId(closestPlayer))
byExecuteCommand('+grab')
- Search
elseif action == 'put_in_vehicle' then
and modify the line belowTriggerServerEvent('esx_policejob:putInVehicle', GetPlayerServerId(closestPlayer))
byExecuteCommand('+putcar')
- To finish, delete the Thread at the line about 1565 or search for
DetachEntity
and delete the Thread like the gif below

Last modified 1yr ago