Jump to content

spawn blip


CapY

Recommended Posts

Posted

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 
) 

Posted

ERROR:exports:Call to non existing resource ( customblips ) [string"?"]

ERROR:spawnblip\client.lua:5: attempt to index field 'customblips' ( a nil value )

Posted (edited)

you need run customblips resource if resource for exports not run you cant exports any functions .

Edited by Guest

http://vk.com/the_kenix

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

Please don't pm me.

Posted

Show source code this function .p.s i use a mobile phone and i cant look resource and this function.

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