File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 425425
426426Recycling .PickUpPackage .collectReward = function (data )
427427 local Ped = PlayerPedId ()
428+
428429 if CollectingReward or not TrollyProp or (# (GetEntityCoords (TrollyProp ) - GetEntityCoords (Ped )) > 10.0 ) then
429430 triggerNotify (nil , " No" , " error" )
430431 return
@@ -459,6 +460,8 @@ Recycling.PickUpPackage.collectReward = function(data)
459460 end
460461
461462 stopAnim (" mp_car_bomb" , " car_bomb_mechanic" , Ped )
463+ stopAnim (" anim@heists@box_carry@" , " idle" , Ped )
464+
462465 currentToken = triggerCallback (AuthEvent )
463466 addItem (" recyclablematerial" , math.random (Config .Other .RecycleAmounts [" Recycle" ].Min , Config .Other .RecycleAmounts [" Recycle" ].Max ))
464467 Recycling .PickUpPackage .PickRandomEntity (data .Trolly )
You can’t perform that action at this time.
0 commit comments