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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.