SetPedCameraRotation: Difference between revisions
Jump to navigation
Jump to search
(Undo revision 37338 by FaLsE Country (talk)) |
Zangomangu (talk | contribs) m (Needs example) |
||
Line 1: | Line 1: | ||
{{Client function}} | {{Client function}} | ||
{{Needs_Example}} | |||
__NOTOC__ | __NOTOC__ | ||
This function sets the camera rotation of a ped. | This function sets the camera rotation of a ped. |
Revision as of 16:13, 11 January 2014
Script Example Missing Function SetPedCameraRotation needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
This function sets the camera rotation of a ped.
Syntax
bool setPedCameraRotation ( ped thePed, float cameraRotation )
Required Arguments
- thePed: The ped whose camera rotation is to be changed
- cameraRotation: The new direction that the ped will walk if you set their forwards control state
Returns
Returns true if the camera rotation was changed, false otherwise.
Example
--TODO
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