Advertisement
RidwanRF

attachHandcuffs

Mar 28th, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. function attachHandcuffs(player)
  2.     if (not isElement(player)) then return end
  3.     cuffs[player] = createObject(331, 0, 0, 0, 0, 0, 4)
  4.     setObjectScale(cuffs[player], 1.9)
  5.     exports.bone_attach:attachElementToBone(cuffs[player], player, 12, -0.1, 0.02, 0.1, -50, 90, 85)
  6.     setPedAnimation(player, "ped", "pass_Smoke_in_car", 50, false, false, false, true)
  7.     setTimer(setPedAnimationProgress, 50, 1, player, "pass_Smoke_in_car", 2)
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement