{"hash":"0x990E294FC387FB88","ns":"ENTITY","name":"GET_NEAREST_PLAYER_TO_ENTITY","slug":"GET_NEAREST_PLAYER_TO_ENTITY","official":true,"named":true,"luaName":"GetNearestPlayerToEntity","game":"rdr3","apiset":"client","returnType":"Player","params":[{"name":"entity","type":"Entity"},{"name":"playerPedToIgnore","type":"Ped"},{"name":"flags","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x7196842CB375CDB3","gtaJhash":"0xCE17FDEC","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/ENTITY/GET_NEAREST_PLAYER_TO_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/GET_NEAREST_PLAYER_TO_ENTITY.md","snippets":{"lua":"local retval = GetNearestPlayerToEntity(entity, playerPedToIgnore, flags)","luaInvoke":"local retval = Citizen.InvokeNative(0x990E294FC387FB88, entity, playerPedToIgnore, flags, Citizen.ResultAsInteger())","js":"const retval = GetNearestPlayerToEntity(entity, playerPedToIgnore, flags);","jsInvoke":"const retval = Citizen.invokeNative('0x990E294FC387FB88', entity, playerPedToIgnore, flags, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x990E294FC387FB88, entity, playerPedToIgnore, flags);","notes":[]}}