{"hash":"0xAAACB74442C1BED3","ns":"ENTITY","name":"_PIN_MAP_ENTITY","slug":"_PIN_MAP_ENTITY","official":false,"named":true,"luaName":"PinMapEntity","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"entity","type":"Entity"}],"summary":"Pins the given entity on the map and returns the created map pin ID.","descriptions":[{"source":"alloc8or","format":"text","body":"Pins the given entity on the map and returns the created map pin ID.\nRelated natives include PIN_CLOSEST_MAP_ENTITY, GET_PINNED_MAP_ENTITY, IS_MAP_ENTITY_PINNED, and _UNPIN_MAP_ENTITY."}],"examples":[],"aliases":[],"enums":[],"related":["0xD2B9C78537ED5759"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_PIN_MAP_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_PIN_MAP_ENTITY.md","snippets":{"lua":"local retval = PinMapEntity(entity)","luaInvoke":"local retval = Citizen.InvokeNative(0xAAACB74442C1BED3, entity, Citizen.ResultAsInteger())","js":"const retval = PinMapEntity(entity);","jsInvoke":"const retval = Citizen.invokeNative('0xAAACB74442C1BED3', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xAAACB74442C1BED3, entity);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}