Jump to content

Radar


BlackIN

Recommended Posts

its probably quicker to edit the gamemode you use and on spawn set it to set admin blips as red.

failing that:

function setAdminBlipColour(player) 
    if (hasObjectPermissionTo(player, "function.kickPlayer", false)) then 
        local attachedElements = getAttachedElements(player) 
        if attachedElements then 
            for k,v in ipairs(attachedElements) do 
                if getElementType(v) == "blip" then 
                    setBlipColor(v,255,0,0,255) 
                end 
            end 
        end 
    end 
end 
  
function onSpawn() 
    setTimer(setAdminBlipColour,500,1,source) 
end 
addEventHandler ( "onPlayerSpawn", getRootElement(),  onSpawn) 

Link to comment

Look As Scooby says i Copy His Script And Copy To Notepad And Save as Name Radar.lua

And Made Meta Of it Like This

<meta> 
    <info author="Snake" description="Radar Red Blips" version="4.0.0"/> 
  
  
    <script src="radar.lua" type="client" /> 
  
</meta> 

And Make a Folder Name Call RADAR Then I Run No Changes in it now what to do ?

Link to comment
  • 2 weeks later...

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