นี่คือ Script ที่จะเปลี่ยนรูปแบบการเขียนโค้ดของงานคุณไปอย่างสิ้นเชิง และทำให้มันง่ายขึ้นด้วย ns_core ของพวกเรา (Replacer of 999s-bridge)
self:startProgress({
name = 'progress-name',
label = 'Progress Is Working',
duration = 10000,
canCancel = true,
canTakeDamage = false,
animation = { --[[ Optional ]]
clip = 'animation-clip-name',
name = 'animation-name-of-clip',
flag = 1
},
prop = { --[[ Optional ]]
model = 'model-name',
bone = 36029,
coords = vec3(0.0, 0.0, 0.0),
rotation = vec3(0.0, 0.0, 0.0)
},
onCompleted = function() --[[ Optional ]]
print('Completed')
end,
onCancelled = function() --[[ Optional ]]
print('Cancelled')
end,
addons = { --[[ Optional ]]
useWhileDead = false, --[[ Optional ]]
controlDisables = { --[[ Optional ]]
disableMovement = true,
disableCarMovement = true,
disableMouse = false,
disableCombat = true
}
}
}, false)
self:startProgress(object, async?)
Show properties
Show properties
Boolean?