Jump to content

Customblips don't load


SoiiNoob

Recommended Posts

Posted

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

Posted

Is the resource "customblips" running?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

You renamed the resource, is not called "customblips" anymore.

addEventHandler ( "onClientResourceStart", resourceRoot, 
    function() 
        exports.blips:createCustomBlip ( 2487.6000976563, -1668.4000244141, 20, 20, "taxi.png" ) 
    end 
) 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted (edited)
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
Posted

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

Sometimes I dream about cheese

Posted
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 "?"]

Posted
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?

http://vk.com/the_kenix

Вопросы задавайте на форуме, не пишите мне в личку.

Please don't pm me.

Posted
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

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

http://vk.com/the_kenix

Вопросы задавайте на форуме, не пишите мне в личку.

Please don't pm me.

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