Jump to content

[REL] Customblips - Create your own blip icons for the radar


Recommended Posts

  • 9 months later...
Posted

hm works fine but I've got a little problem to =/

I worked on a RPG Script and the playerradar is allways hidden if a player is on foot but the icon would allways render at the position which the radar is normaly showing.

Is there anyway to fix it?

Posted

what you mean karlis?

if created a export function by my Resource where is a Variable Located which represent if the Radar ist Showing or not but i Dont know where I paste it in the customblip resource.

My goal would be if the radar is hidden (showPlayerHudComponent = false) the customblips would hidden on the Radar to but i dont know where I could paste my exported function.

GreeZe

  • 2 weeks later...
Posted

you have to edit the resource, afaik there's no exported function for that.

alternatively you can use my ivhud resource, that natively supports customblips, and direction too.

it has limited compatibility with some gamemodes however.

  • 4 weeks later...
  • 9 months later...
Posted
addEventHandler ( "onClientResourceStart", resourceRoot, 
    function ( ) 
        theBlip = exports.customblips:createCustomBlip ( 0,0, 20, 20, "icon.png" ) 
        exports.customblips:destroyCustomBlip ( theBlip ) 
    end 
) 

Should work.

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