Jump to content

[SOLVED]Customblips ERRORS


HeK

Recommended Posts

Im using the "CustomBlips" resource, but it has some errors, i placed the "icon.png" in the meta and made this lua.

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

The ERRORS:

ERROR: customblips\imagelib.lua:144: dxDrawImage can't load file 
WARNING: Loading script failed: [scripts]\customblips\icon.png:1: unexpected symbol near 'ô' 

Edited by Guest
Link to comment

Try

  
    addEventHandler ( "onClientResourceStart",resourceRoot, 
        function() 
            exports.customblips:createCustomBlip ( 2236.345703125,2458.1728515625, 20, 20, "icon.png" ) 
        end 
    ) 
  

if it not working show meta.xml

Link to comment

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