change name function

This commit is contained in:
darknight2590
2021-12-28 09:11:50 +02:00
committed by GitHub
parent f62b2f31b4
commit 920d44e718
+1 -1
View File
@@ -362,7 +362,7 @@ function QBCore.Functions.GetBoneDistance(entity, Type, Bone)
return #(boneCoords - playerCoords)
end
function QBCore.Functions.attachProp(ped, model, boneId, x, y, z, xR, yR, zR, Vertex)
function QBCore.Functions.AttachProp(ped, model, boneId, x, y, z, xR, yR, zR, Vertex)
local modelHash = GetHashKey(model)
local bone = GetPedBoneIndex(ped, boneId)
RequestModel(modelHash)