Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cuffs = {}
- function attachHandcuffs(player)
- if (not isElement(player)) then return end
- if (cuffs[player]) then destroyElement(cuffs[player]) end
- cuffs[player] = createObject(331, 0, 0, 0, 0, 0, 4)
- setObjectScale(cuffs[player], 1.9)
- exports.bone_attach:attachElementToBone(cuffs[player], player, 12, -0.1, 0.02, 0.1, -50, 90, 85)
- setPedAnimation(player, "ped", "pass_Smoke_in_car", 50, false, false, false, false)
- setTimer(setPedAnimationProgress, 50, 1, player, "pass_Smoke_in_car", 2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement