brentN5 / bt-target

GNU General Public License v3.0
34 stars 52 forks source link

error to bouns #17

Open evanillaa opened 3 years ago

evanillaa commented 3 years ago

Citizen.CreateThread(function() AddTargetBone(bones, { options = { { event = "door", icon = "fas fa-door-open", label = "Toggle Door", }, { event = "unlock", icon = "fas fa-door-open", label = "Unlock Door", }, }, job = {"police", "ambulance", "mechanic"}, distance = 1.5 }) end)

bad argument #1 to 'pairs' table expected, got nill

function AddTargetBone(bones, parameteres) for _, bone in pairs(bones) do Bones[bone] = parameteres end end

LiamDormon commented 3 years ago

This branch doesn't have any bones? If there's a problem with it leave an issue on whichever repository you got that from

evanillaa commented 3 years ago

From your file on github

evanillaa commented 3 years ago

https://github.com/Mojito-Fivem/bt-target

evanillaa commented 3 years ago

Create a repository for you Basic Project Builder Updates may be ignored

LiamDormon commented 3 years ago

So open an issue there not here?

evanillaa commented 3 years ago

It is not possible to open a case within your project I cant

LiamDormon commented 3 years ago

You can now