Sign in to follow this  
awb

custom blip help

Recommended Posts

ok so ive been attempting to understand the custom blip resource but ive gotten no where. im under the assumption its the resource and not me becuase ive tryed to load the examples that the mta wiki provided. idk why but the gui custom blip works but when i attempt to use the blips using .pngs i cant seem to get the blip to show up. i tryed everything and even named my icon, icon.png

addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), 
    function() 
        exports.customblips:createCustomBlip ( 0,0, 20, 20, "icon.png" ) 
    end 
) 

i have a meta to and included the file src="icon.png" and nothing. my file is 24x24 large so its not the icon. ive played around with the coordinates and still nothing. can anyone shed some light?

Share this post


Link to post

Are you sure that png file is in the same folder as script and everything is correct? Check it again, as I see no error so far. :shock:

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.