GetPedAnimationLength: Difference between revisions
Jump to navigation
Jump to search
(Added new function (TODO: Example required!)) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''thePed:''' the [[player]] or [[ped]] you want to get the [[animations|animation]] | *'''thePed:''' the [[player]] or [[ped]] you want to get the [[animations|animation]] length of. | ||
===Returns=== | ===Returns=== | ||
Returns animation length on success, -1 otherwise. | Returns animation length on success, -1 otherwise. | ||
===Examples=== | |||
{{Needs Example}} | |||
==See Also== | ==See Also== | ||
{{Client_ped_functions}} | {{Client_ped_functions}} |
Latest revision as of 13:15, 15 October 2024
Syntax
float getPedAnimationLength ( ped thePed )
Required Arguments
Returns
Returns animation length on success, -1 otherwise.
Examples
Script Example Missing Function GetPedAnimationLength needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
See Also
- canPedBeKnockedOffBike
- getPedAnalogControlState
- getPedAnimation
- getPedBonePosition
- getPedCameraRotation
- getPedControlState
- getPedMoveState
- getPedOxygenLevel
- getPedSimplestTask
- getPedTargetCollision
- getPedTargetEnd
- getPedTargetStart
- getPedTask
- getPedVoice
- getPedWeaponMuzzlePosition
- givePedWeapon
- isPedBleeding
- isPedDoingTask
- isPedReloadingWeapon
- isPedTargetingMarkerEnabled
- setAnalogControlState
- setPedAimTarget
- setPedAnalogControlState
- setPedBleeding
- setPedCameraRotation
- setPedCanBeKnockedOffBike
- setPedControlState
- setPedEnterVehicle
- setPedExitVehicle
- IsPedFootBloodEnabled
- setPedFootBloodEnabled
- setPedLookAt
- setPedOxygenLevel
- setPedTargetingMarkerEnabled
- setPedVoice
- Shared
- addPedClothes
- getPedClothes
- removePedClothes
- createPed
- getPedAmmoInClip
- getPedArmor
- getPedFightingStyle
- getPedOccupiedVehicle
- getPedOccupiedVehicleSeat
- getPedStat
- getPedTarget
- getPedTotalAmmo
- getPedWalkingStyle
- getPedWeapon
- getPedWeaponSlot
- getPedContactElement
- getValidPedModels
- isPedChoking
- isPedDead
- isPedDoingGangDriveby
- isPedDucked
- isPedHeadless
- isPedInVehicle
- isPedOnFire
- isPedOnGround
- isPedWearingJetpack
- killPed
- removePedFromVehicle
- setPedAnimation
- setPedAnimationProgress
- setPedAnimationSpeed
- setPedArmor
- setPedDoingGangDriveby
- setPedFightingStyle
- setPedHeadless
- setPedOnFire
- setPedStat
- setPedWalkingStyle
- setPedWeaponSlot
- warpPedIntoVehicle