{"hash":"0xFB1E7998B8595825","ns":"PED","name":"IS_LOCATION_SPAWN_SAFE","slug":"IS_LOCATION_SPAWN_SAFE","official":true,"named":true,"luaName":"IsLocationSpawnSafe","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"p1","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PED/IS_LOCATION_SPAWN_SAFE","markdownUrl":"https://natives.borderlinerp.com/natives/PED/IS_LOCATION_SPAWN_SAFE.md","snippets":{"lua":"local retval = IsLocationSpawnSafe(ped, p1)","luaInvoke":"local retval = Citizen.InvokeNative(0xFB1E7998B8595825, ped, p1, Citizen.ReturnResultAnyway())","js":"const retval = IsLocationSpawnSafe(ped, p1);","jsInvoke":"const retval = Citizen.invokeNative('0xFB1E7998B8595825', ped, p1 + 0.0000001, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xFB1E7998B8595825, ped, p1);","notes":["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."]}}