Jump to content

Minimap Blips


Masa

Recommended Posts

Posted

How do I remove the blips for players at the minimap? I'm planning to create a war server, and I don't like seeing other players on the map, especially when trying to do something stealth.

Posted
addEventHandler( "onResourceStart", resourceRoot, 
    function( ) 
        for k,v in ipairs( getElementsByType( "player" ) ) do 
            for K,V in ipairs( getAttachedElements( v ) ) do 
                if getElementType( V ) == "blip" then 
                    destroyElement( V ) 
                end 
            end 
        end 
    end 
) 

and just make sure no resource is making any blips on players .

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