Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RegisterCommand("rs",function(src,args,raw)
- local coords = GetEntityCoords(PlayerPedId())
- local x = coords.x
- local y = coords.y
- local z = coords.z
- local rotX = 0.0
- local rotY = 0.0
- local rotZ = 0.0
- local scaleX = 50.0
- local scaleY = 50.0
- local scaleZ = 50.0
- local volume = CreateVolumeBox(x, y, z, rotX, rotY, rotZ, scaleX, scaleY, scaleZ)
- local projectile_entity = Citizen.InvokeNative(0x74C8000FDD1BB222, volume, Citizen.PointerValueInt())
- print(projectile_entity)
- Wait(1000)
- DeleteVolume(volume)
- end)
Advertisement
Add Comment
Please, Sign In to add comment