Jump to content

Hide radar


donaldb

Recommended Posts

Posted

Hi all,

I run an MTA server at home. I would likr to be able to hide the player "blips" (I think that's the correct term) that usually appear on the radar during game play.

I would also like to be able to hide the blips from the F11 map, and the map you can get via F1, but this is seconadry to hiding from the game radar.

Is this possible??? How do I achieve this? Bearing in mind I have not done any scripting so far........

Thanks,

Donald

Posted

To hide player blips just stop resource "playerblips" and that should work

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
To hide player blips just stop resource "playerblips" and that should work

"playerblips" isn't started anyway..... any other ideas?

Posted

Hmm, maybe freeroam has a own blips code, i dont know how to disable then.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

this will remove blips attached to players (i didnt test it, but should work, the only problem is that after somebody join it will create blip for him/her anyway.. so maybe a little timer, removing blips every 1-5 seconds?)

function removeAttachedBlipsFromPlayers()
local players = getElementsByType('player')
for key,val in ipairs(players) do
local elements=getAttachedElements(val)
for key2,val2 in ipairs(elements) do
local theType = getElementType(val2)
if (theType=="blip") then destroyElement(val2) end
end
end
end
 
setTimer (removeAttachedBlipsFromPlayers, 2000) -- it will run every 2 sec

PS. Better idea is to edit freeroam resource, but..

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

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...