Guest User

0x74C8000FDD1BB222 - _GET_PROJECTILE_IN_VOLUME

a guest
Dec 29th, 2025
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. RegisterCommand("rs",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.    
  14.     local projectile_entity = Citizen.InvokeNative(0x74C8000FDD1BB222, volume, Citizen.PointerValueInt())
  15.    
  16.     print(projectile_entity)
  17.     Wait(1000)
  18.     DeleteVolume(volume)
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment