CapY Posted August 14, 2011 Share Posted August 14, 2011 Two errors here ... addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), function() local blip = guiCreateButton ( 0, 0, 25, 20, "Spawn", false ) guiSetFont(blip,"default-small") exports.customblips:guiConvertToCustomBlip ( blip, -700, 960, 10 ) end ) Link to comment
CapY Posted August 14, 2011 Author Share Posted August 14, 2011 ERROR:exports:Call to non existing resource ( customblips ) [string"?"] ERROR:spawnblip\client.lua:5: attempt to index field 'customblips' ( a nil value ) Link to comment
JR10 Posted August 14, 2011 Share Posted August 14, 2011 Lol, the resource is not running. Start customblips then do it again. Link to comment
Kenix Posted August 14, 2011 Share Posted August 14, 2011 (edited) you need run customblips resource if resource for exports not run you cant exports any functions . Edited August 14, 2011 by Guest Link to comment
CapY Posted August 14, 2011 Author Share Posted August 14, 2011 Lol, the resource is not running.Start customblips then do it again. Resource is running . Link to comment
JR10 Posted August 14, 2011 Share Posted August 14, 2011 Either the resource's name is wrong, or the resource is not running. The resource must be running first when the function is executed. Link to comment
Kenix Posted August 14, 2011 Share Posted August 14, 2011 Show this function guiConvertToCustomBlip Link to comment
CapY Posted August 14, 2011 Author Share Posted August 14, 2011 how to show it ? You just showed it . Link to comment
Kenix Posted August 16, 2011 Share Posted August 16, 2011 Show source code this function .p.s i use a mobile phone and i cant look resource and this function. 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