SoiiNoob Posted February 25, 2012 Share Posted February 25, 2012 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 Link to comment
Castillo Posted February 25, 2012 Share Posted February 25, 2012 Is the resource "customblips" running? Link to comment
SoiiNoob Posted February 25, 2012 Author Share Posted February 25, 2012 Yep http://img403.imageshack.us/img403/5210/94658339.png Link to comment
Castillo Posted February 25, 2012 Share Posted February 25, 2012 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 ) Link to comment
SoiiNoob Posted February 25, 2012 Author Share Posted February 25, 2012 I renamed it to "customblips" ,stopped and started but it still don't working Link to comment
Castillo Posted February 25, 2012 Share Posted February 25, 2012 Do you get any error(s) in the debugscript? Link to comment
Jaysds1 Posted February 25, 2012 Share Posted February 25, 2012 If the "taxi.png" in the same folder as the meta.xml and scripts? Link to comment
Kenix Posted February 25, 2012 Share Posted February 25, 2012 You refresh resources? Restart this resource? See in /debugscript 3? Check folder?(files directory ) Link to comment
SoiiNoob Posted February 25, 2012 Author Share Posted February 25, 2012 (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 February 25, 2012 by Guest Link to comment
denny199 Posted February 25, 2012 Share Posted February 25, 2012 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
SoiiNoob Posted February 25, 2012 Author Share Posted February 25, 2012 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
Kenix Posted February 25, 2012 Share Posted February 25, 2012 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
SoiiNoob Posted February 25, 2012 Author Share Posted February 25, 2012 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
Kenix Posted February 25, 2012 Share Posted February 25, 2012 Upload your resource http://www.mediafire.com/ Link to comment
SoiiNoob Posted February 25, 2012 Author Share Posted February 25, 2012 http://www.mediafire.com/?3ahiogf50awcjgp Link to comment
Kenix Posted February 25, 2012 Share Posted February 25, 2012 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
SoiiNoob Posted February 25, 2012 Author Share Posted February 25, 2012 I'm still getting "ERROR: call: failed to call 'customblips:createCustomBlip' [string "?"] can you bring me the fixed resource? =( Link to comment
Kenix Posted February 25, 2012 Share Posted February 25, 2012 Your resource http://www.mediafire.com/?1688nd7y392ab4r blips http://www.mediafire.com/?4balgdl4atx7lgp Just copy to server and run. First.blips Second.Your resource ( customblips ). Link to comment
SoiiNoob Posted February 25, 2012 Author Share Posted February 25, 2012 thank u guys ! solved Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now