Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.08 KB | None | 0 0
  1. RegisterNetEvent("Fire:wave1")
  2. AddEventHandler("Fire:wave1", function()
  3.   exports['mythic_progbar']:Progress({
  4.       name = "glycerin_burn",
  5.       duration = 5000,
  6.       label = "Aizdedzina glicerinu (X)",
  7.       useWhileDead = false,
  8.       canCancel = true,
  9.       controlDisables = {
  10.           disableMovement = false,
  11.           disableCarMovement = false,
  12.           disableMouse = false,
  13.           disableCombat = true,
  14.       },
  15.       animation = {
  16.           animDict = "missheistdockssetup1clipboard@idle_a",
  17.           anim = "idle_a",
  18.           flags = 49,
  19.       },
  20.       prop = {
  21.           model = "prop_cs_script_bottle",
  22.       }
  23.   }, function(status)
  24.       if not status then
  25.           TriggerServerEvent("Fire:swave1",  GetPlayerServerId(PlayerId()));
  26.           local playerPed = PlayerPedId()
  27.           PedPosition       = GetEntityCoords(playerPed)
  28.  
  29.           local PlayerCoords = { x = PedPosition.x, y = PedPosition.y, z = PedPosition.z }
  30.  
  31.           TriggerServerEvent('esx_addons_gcphone:startCall', 'fire', 'Sacies Ugunsgreks ' .. math.random(1, 19999), PlayerCoords, {
  32.  
  33.               PlayerCoords = { x = PedPosition.x, y = PedPosition.y, z = PedPosition.z },
  34.           })
  35.       end
  36.   end)
  37. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement