Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
xSilvermanx authored Mar 21, 2020
1 parent bf5f3b9 commit cbe6ed2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Interaction/interaction_cl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3460,10 +3460,16 @@ if ActivateArrestMarkers then
while true do
if IsControlJustPressed(0, 51) and atarrest and flag_grabbed then
local target = grabbedTarget
DetachEntity(grabbedTarget, 0, true)
local TargetNetID = PedToNet(target)
TriggerServerEvent('pd5m:syncsv:ungrabped', TargetNetID)

flag_grabbed = false
grabbedTarget = nil

while IsEntityAttachedToAnyPed(target) do
Wait(500)
end

TargetFlagListIndex, _ = SyncPedAndVeh(target, 0)

local FirstName = ClientPedConfigList[TargetFlagListIndex].FirstName
Expand Down

0 comments on commit cbe6ed2

Please sign in to comment.