Help in Creating a Script

Hey Everyone So im trying to make a little script where If the player want to share there Location to other players by pressing a button

My idea Example below

My plan to create the script would be simple … for example … Player press Z for backup . the player would be blip on the server where everyone would see the location untill he press Z again to cancel the blip… My Question is how can i get the Blip to be seen by others ?

Thank you for the help in advanced and hope someone to push me to the right direction…

Hi,

you must create the blip (client side) and allow some Entity or PlayerID get it on them client side

create : https://runtime.fivem.net/doc/natives/#_0x5CDE92C702A8FCE7

get : https://runtime.fivem.net/doc/natives/#_0xBC8DBDCA2436F7E8

Thank you so much :slight_smile: