Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

error to bouns #17

Open
haitham1337 opened this issue Apr 26, 2021 · 7 comments
Open

error to bouns #17

haitham1337 opened this issue Apr 26, 2021 · 7 comments

Comments

@haitham1337
Copy link

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
Copy link
Contributor

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

@haitham1337
Copy link
Author

From your file on github

@haitham1337
Copy link
Author

@haitham1337
Copy link
Author

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

@LiamDormon
Copy link
Contributor

So open an issue there not here?

@haitham1337
Copy link
Author

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

@LiamDormon
Copy link
Contributor

You can now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants