docs: Attach-Parameter gegen die Native-Doku korrigiert
Lint / Lint Resource (push) Has been cancelled

Der 15. Parameter heisst syncRot, nicht fixedRot. useSoftPinning=false ist
laut Doku korrekt fuer eine Attachment, die sich nicht loesen soll.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-10 23:27:59 +02:00
co-authored by Claude Opus 5
parent 921d9c89c8
commit e0f758161d
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -50,11 +50,11 @@ local function attachProp(model, bone, offset, rotation)
offset.x, offset.y, offset.z,
rotation.x, rotation.y, rotation.z,
false, -- p9
false, -- useSoftPinning
false, -- useSoftPinning ("if set to false attached entity will not detach when fixed")
false, -- collision
false, -- isPed
2, -- rotationOrder
true) -- fixedRot
true) -- syncRot
SetModelAsNoLongerNeeded(model)