{"hash":"0x04965FB9E14235C7","ns":"MISC","name":"IS_PROJECTILE_TYPE_IN_AREA","slug":"IS_PROJECTILE_TYPE_IN_AREA","official":true,"named":true,"luaName":"IsProjectileTypeInArea","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"xMin","type":"float"},{"name":"yMin","type":"float"},{"name":"zMin","type":"float"},{"name":"xMax","type":"float"},{"name":"yMax","type":"float"},{"name":"zMax","type":"float"},{"name":"weaponType","type":"Hash"},{"name":"isPlayer","type":"BOOL"}],"summary":"Determines whether there is a projectile of a specific type within the specified coordinates.","descriptions":[{"source":"alloc8or","format":"text","body":"Determines whether there is a projectile of a specific type within the specified coordinates. The coordinates form a rectangle."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x2E0DC353342C4A6D","gtaJhash":"0x2B73BCF6","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/IS_PROJECTILE_TYPE_IN_AREA","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/IS_PROJECTILE_TYPE_IN_AREA.md","snippets":{"lua":"local retval = IsProjectileTypeInArea(xMin, yMin, zMin, xMax, yMax, zMax, weaponType, isPlayer)","luaInvoke":"local retval = Citizen.InvokeNative(0x04965FB9E14235C7, xMin, yMin, zMin, xMax, yMax, zMax, weaponType, isPlayer, Citizen.ReturnResultAnyway())","js":"const retval = IsProjectileTypeInArea(xMin, yMin, zMin, xMax, yMax, zMax, weaponType, isPlayer);","jsInvoke":"const retval = Citizen.invokeNative('0x04965FB9E14235C7', xMin + 0.0000001, yMin + 0.0000001, zMin + 0.0000001, xMax + 0.0000001, yMax + 0.0000001, zMax + 0.0000001, weaponType, isPlayer, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x04965FB9E14235C7, xMin, yMin, zMin, xMax, yMax, zMax, weaponType, isPlayer);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}