Jump to content

custom blips fails to create blip Help


Recommended Posts

Posted
addEventHandler("onResourceStart", resourceRoot, 
    function() 
        for i = 1, #jobs do 
            local players = getElementsByType("player")  
            local marker = createMarker(0,0,0,"cylinder",1.5,153,0,153,255) 
            local marker1 = createMarker(0,0,0,"arrow",1.5,96,96,96,255) 
            local star = createObject(1247,0,0,0) 
            ped = createPed(jobs[i][2], jobs[i][3], jobs[i][4], jobs[i][5]) 
            setElementRotation(ped, 0, 0, jobs[i][6]) 
            setElementFrozen(ped, true) 
            setElementData(ped, "job.ped", true) 
            setElementData(ped, "job.title", jobs[i][1]) 
            setElementData(ped, "job.team", jobs[i][7]) 
            setElementData(ped, "job.info", jobs[i][9])   
            setElementData(ped, "job.r", jobs[i][10]) 
            setElementData(ped, "job.g", jobs[i][11]) 
            addPedClothes ( source, "moto", "moto", 16 ) 
            setElementData(ped, "job.b", jobs[i][12]) 
            setElementData(ped, "job.skin", jobs[i][2]) 
            setElementData(ped, "job.skinRequired", jobs[i][8]) 
            setElementData(ped, "job.enabled", jobs[i][13]) 
            blip = createBlip(jobs[i][3], jobs[i][4], jobs[i][5], 56, 2, 255, 255, 255, 255, 0, 350.0, root) 
            blip5 = exports.customblips:createCustomBlip(jobs[i][2], jobs[i][3], jobs[i][4], jobs[i][5], 20, 20, "job.png", 20,) 
             
             
            attachElements(marker,ped,0,0,-1) 
            attachElements(marker1,ped,0,0,3) 
            attachElements(star,ped,0,0,1.6) 
        end 
    end) 

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] ERROR: 33\s:77: call: failed to call 'customblips:createCustomBlip'

[01:18:24] 33 restarted successfully

Any Help i want the Custom blip attach to all The jobs

Posted

Its simple, either customblips resource does not exists, does not have the function exported, the function does not exists, are you sure you know what you are doing?

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