GetPedAnalogControlState: Difference between revisions
Jump to navigation
Jump to search
Zangomangu (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function retrieves the analog control state of a control for a ped, as set by setPedAnalogControlState. ==Syntax== <syntaxhighlight lang="lua">float getPed...") |
Zangomangu (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
This function retrieves the analog control state of | This function retrieves the analog control state of a ped, as set by [[setPedAnalogControlState]]. | ||
==Syntax== | ==Syntax== | ||
Line 8: | Line 8: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''thePed:''' The ped you wish to retrieve the control state of. | *'''thePed:''' The ped you wish to retrieve the control state of. | ||
*''' | *'''controlName:''' The control. See [[control names]] for a list of possible controls. | ||
===Returns=== | ===Returns=== |
Revision as of 16:45, 5 January 2014
This function retrieves the analog control state of a ped, as set by setPedAnalogControlState.
Syntax
float getPedAnalogControlState ( ped thePed, string controlName )
Required Arguments
- thePed: The ped you wish to retrieve the control state of.
- controlName: The control. See control names for a list of possible controls.
Returns
Returns a float between 0 ( full release ) and 1 ( full push ) indicating the amount the control is pushed.
Example
-- todo
Requirements
This template will be deleted.
See Also
- 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