{"hash":"0x30822554","ns":"CFX","name":"ADD_BLIP_FOR_ENTITY","slug":"ADD_BLIP_FOR_ENTITY","official":true,"named":true,"luaName":"AddBlipForEntity","game":"cfx","apiset":"server","returnType":"Blip","params":[{"name":"entity","type":"Entity","description":"The entity handle to create the blip."}],"returnsDescription":"A blip handle.","summary":"Create a blip that by default is red (enemy), you can use SET_BLIP_AS_FRIENDLY to make it blue (friend).\\ Can be used for objects, vehicles and peds.","descriptions":[{"source":"cfx","format":"md","body":"Create a blip that by default is red (enemy), you can use [SET_BLIP_AS_FRIENDLY](#\\_0xC6F43D0E) to make it blue (friend).\\\nCan be used for objects, vehicles and peds.\nExample of enemy:\n![enemy](https://i.imgur.com/LIizV6S.png)\nExample of friend:\n![friend](https://i.imgur.com/XrCuvZP.png)\n\n**This is the server-side RPC native equivalent of the client native [ADD_BLIP_FOR_ENTITY](?\\_0x5CDE92C702A8FCE7).**"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/ADD_BLIP_FOR_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/ADD_BLIP_FOR_ENTITY.md","snippets":{"lua":"local retval = AddBlipForEntity(entity)","luaInvoke":"local retval = Citizen.InvokeNative(0x30822554, entity, Citizen.ResultAsInteger())","js":"const retval = AddBlipForEntity(entity);","jsInvoke":"const retval = Citizen.invokeNative('0x30822554', entity, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x30822554, entity);","notes":[]}}