ElexTron Software Posted July 23, 2010 Share Posted July 23, 2010 Is there a way/function to hide a player's radar blip? So that you can't see where he is on the map? If so, can someone please help me. Link to comment
TheRealCow Posted July 23, 2010 Share Posted July 23, 2010 edit resource where u have this, i think its freeroam? Link to comment
AeroXbird Posted July 23, 2010 Share Posted July 23, 2010 You have to remove the blip functions in the freeroam resource(if you are using freeroam) try finding the functions by seeking for the events: onPlayerJoin and onPlayerQuit Link to comment
ElexTron Software Posted July 23, 2010 Author Share Posted July 23, 2010 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
MaddDogg Posted July 24, 2010 Share Posted July 24, 2010 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
ElexTron Software Posted July 24, 2010 Author Share Posted July 24, 2010 Yeah thanks, I got it now. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now