Guest User

0x74C8000FDD1BB111 - _GET_IGNITED_PROJECTILE_IN_VOLUME

a guest
Dec 29th, 2025
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.81 KB | None | 0 0
  1. RegisterCommand("qadr_research",function(src,args,raw)
  2.     local coords = GetEntityCoords(PlayerPedId())
  3.     local x = coords.x
  4.     local y = coords.y
  5.     local z = coords.z
  6.     local rotX = 0.0
  7.     local rotY = 0.0    
  8.     local rotZ = 0.0
  9.     local scaleX = 50.0
  10.     local scaleY = 50.0
  11.     local scaleZ = 50.0
  12.     local volume = CreateVolumeBox(x, y, z, rotX, rotY, rotZ, scaleX, scaleY, scaleZ)
  13.     print("volume"..volume)
  14.     local say = 0
  15.     while true do
  16.         Citizen.Wait(100)
  17.         local ignited_projectile_entity = Citizen.InvokeNative(0x74C8000FDD1BB111, volume, Citizen.PointerValueInt())
  18.         print("ignited_projectile_entity"..ignited_projectile_entity)
  19.         say = say + 1
  20.         if say > 100 then
  21.             break
  22.         end
  23.     end
  24.     Wait(1000)
  25.     DeleteVolume(volume)
  26. end)
Advertisement
Add Comment
Please, Sign In to add comment