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.
Example of enemy:
Example of friend:
This is the server-side RPC native equivalent of the client native ADD_BLIP_FOR_ENTITY.