SetPedCameraRotation: Difference between revisions
Jump to navigation
Jump to search
(New page: {{Client function}} __NOTOC__ This function sets the camera rotation of a ped. ==Syntax== <syntaxhighlight lang="lua"> bool setPedCameraRotation ( ped ped, float rx, float ry, float rz ) </syntaxhighlight> ===R...) |
(No difference)
|
Revision as of 23:53, 2 May 2009
This function sets the camera rotation of a ped.
Syntax
bool setPedCameraRotation ( ped ped, float rx, float ry, float rz )
Required Arguments
- ped: the PED element whose state is to be changed
- rx: the new rotation x
- ry: the new rotation y
- rz: the new rotation z
Returns
Returns true if the camera rotation could be changed, false otherwise.
Example
--Write an example
See Also
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