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