Jump to content

Customblips don't load


SoiiNoob

Recommended Posts

I tried all to make it work but nothing happens :(

I did everything that said in this post but didn't work

https://forum.multitheftauto.com/viewtopic.php?f=91&t=38430

Script

addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), 
    function() 
        exports.customblips:createCustomBlip ( 2487.6000976563, -1668.4000244141, 20, 20, "taxi.png" ) 
    end 
) 
  

Meta

    "soiinoob" name="customblips" version="1.0" type="script"/> 
     
    

Any help?

PD : Bad english :P

Link to comment
Do you get any error(s) in the debugscript?

nope

If the "taxi.png" in the same folder as the meta.xml and scripts?

yep

http://img35.imageshack.us/img35/4651/dasqk.png

http://img11.imageshack.us/img11/9679/sinttulootx.png

You refresh resources?

Restart this resource?

See in /debugscript 3?

Check folder?(files directory )

I forgot the debugscript sorry ppl

ERROR: exports: call to non-running client resource (blips) [string "?"]

Edited by Guest
Link to comment

i used this:

addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), 
    function() 
        exports.customblips:createCustomBlip ( 193.248, 1890.01, 35, 35, "logo.png" ) 
    end 
) 

works perfect

meta

**edit i thinks it's in ur costumresource file

Link to comment
i used this:
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), 
    function() 
        exports.customblips:createCustomBlip ( 193.248, 1890.01, 35, 35, "logo.png" ) 
    end 
) 

works perfect

meta

**edit i thinks it's in ur costumresource file

New Error

ERROR: call: failed to call 'customblips:createCustomBlip' [string "?"]

Link to comment
ERROR: exports: call to non-running client resource (blips) [string "?"]

You resource blips NOT RUNNING!

Type cmd /refresh in chat.( if in console then , no slash )

And start resource.

ERROR: call: failed to call 'customblips:createCustomBlip' [string "?"]

Your resource name blips or customblips?

Link to comment
ERROR: exports: call to non-running client resource (blips) [string "?"]

You resource blips NOT RUNNING!

Type cmd /refresh in chat.( if in console then , no slash )

And start resource.

http://img252.imageshack.us/img252/9955/mtascreen20120225182617.png

Server log :

[2012-02-25 18:25:03] ADMIN: Resource 'customblips' restarted by [C]ristian([GM]SoiiNoob)

[2012-02-25 18:25:03] Stopping customblips

[2012-02-25 18:25:04] Starting customblips

[2012-02-25 18:25:04] customblips restarted successfully

Link to comment
addEventHandler ( "onClientResourceStart", resourceRoot, 
    function() 
        exports.customblips:createCustomBlip ( 2487.6000976563, -1668.4000244141, 20, 20, "taxi.png" ) 
    end 
) 

Problem found.

You not convert your code to utf-8 without bom.And it show errors with syntax.

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