Add 'drag' when handcuffed in citizen interaction

This commit is contained in:
renaiku
2017-09-04 19:50:17 +02:00
parent 73bd5539b0
commit 6270ad297a
3 changed files with 36 additions and 0 deletions
+6
View File
@@ -59,6 +59,12 @@ AddEventHandler('esx_policejob:handcuff', function(target)
TriggerClientEvent('esx_policejob:handcuff', target)
end)
RegisterServerEvent('esx_policejob:drag')
AddEventHandler('esx_policejob:drag', function(target)
local _source = source
TriggerClientEvent('esx_policejob:drag', target, _source)
end)
RegisterServerEvent('esx_policejob:putInVehicle')
AddEventHandler('esx_policejob:putInVehicle', function(target)
TriggerClientEvent('esx_policejob:putInVehicle', target)