Fuction set marker

Hello all i want a fuction for setmarker in the map

Use blips and if you want to show the path to go to the blip : https://runtime.fivem.net/doc/reference.html#_0x4F7D8A9BFB0B43E9