daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Mar 19th, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2. -- Animacao de Andar e Tossir
  3. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  4.  
  5. Citizen.CreateThread(function()
  6.     local dict = "timetable@gardener@smoking_joint"
  7.    
  8.     RequestAnimDict(dict)
  9.     while not HasAnimDictLoaded(dict) do
  10.         Citizen.Wait(100)
  11.     end
  12.     local handsup = false
  13.     while true do
  14.         Citizen.Wait(0)
  15.         if IsControlJustPressed(1, 244) then --Start holding M
  16.             if not handsup then
  17.                 TaskPlayAnim(GetPlayerPed(-1), dict, "idle_cough", 8.0, 8.0, -1, 50, 0, false, false, false)
  18.                 handsup = true
  19.             else
  20.                 handsup = false
  21.                 ClearPedTasks(GetPlayerPed(-1))
  22.             end
  23.         end
  24.     end
  25. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top