Jump to content

Hide Radar Blip from View?


Recommended Posts

I guess I should've been more specific. I want to hide my blip (and my blip only) from the radar of everyone else's map if say, I use the command /hide. And then make it re-appear if I use /hide-stop. How would I do this?

EDIT: Okay I found the functions, but I don't know how to make it appear to only certain players yet...

Link to comment

By default, there are no blips displayed on the radar.

Hence, if you have player blips on your server, they must be coming from a resource such as freeroam.

To hide those, you have to edit the resource script.

A hide command would then just delete your blip, a show command (or hide-stop) would create one again.

I just had a quick look into the freeroam resource and there the blips are created like this:

g_PlayerData[player].blip = createBlipAttachedTo(player, 0, 2, r, g, b)

There you see, where the blip elements are stored in. Just write a command, which destroys the respective blip and a command, which would just hold the line above.

But again, this is for the freeroam resource. So it depends on what you're playing with.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...