SetPedCameraRotation

From Multi Theft Auto: Wiki

Jump to: navigation, search

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
  • createPed
  • doesPedHaveJetPack
  • getPedAmmoInClip
  • getPedAnimation
  • getPedAnimationData
  • getPedArmor
  • getPedBonePosition
  • getPedClothes
  • getPedContactElement
  • getPedControlState
  • getPedMoveState
  • getPedOccupiedVehicle
  • getPedRotation
  • getPedSimplestTask
  • getPedSkin
  • getPedStat
  • getPedTarget
  • getPedTargetCollision
  • getPedTargetEnd
  • getPedTargetStart
  • getPedTask
  • getPedTotalAmmo
  • getPedVoice
  • getPedWeapon
  • getPedWeaponMuzzlePosition
  • getPedWeaponSlot
  • isPedChoking
  • isPedDoingGangDriveby
  • isPedDoingTask
  • isPedDucked
  • isPedFrozen
  • isPedHeadless
  • isPedInVehicle
  • isPedInWater
  • isPedOnFire
  • isPedOnGround
  • setPedAimTarget
  • setPedAnimation
  • setPedCameraRotation
  • setPedCanBeKnockedOffBike
  • setPedControlState
  • setPedDoingGangDriveby
  • setPedFrozen
  • setPedHeadless
  • setPedLookAt
  • setPedOnFire
  • setPedRotation
  • setPedSkin
  • setPedVoice
  • setPedWeaponSlot
  • setPedFootBloodEnabled
Retrieved from "http://wiki.multitheftauto.com/wiki/SetPedCameraRotation"
Category: Client functions
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account with OpenID
home | irc chat | community | forum | wiki | bugs | heroes | hosting
Navigation
  • Home
  • How you can help
  • Recent changes
  • Random page
reference
  • Client Functions
  • Client Events
  • Server Functions
  • Server Events
  • MTA Classes
  • MTA Elements
  • Element Tree
 
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
Powered by MediaWiki
GNU Free Documentation License 1.2
  • This page was last modified on 3 May 2009, at 09:42.
  • This page has been accessed 2,535 times.
  • Content is available under GNU Free Documentation License 1.2.
  • Privacy policy
  • About Multi Theft Auto: Wiki
  • Disclaimers