SetPedFootBloodEnabled: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Client function}} This function makes a players foot prints bloody. ==Syntax== <syntaxhighlight lang="lua">bool setPedFootBloodEnabled (element thePlayer, bool enabled)</syntaxhighlight> ...") |
mNo edit summary Tag: Manual revert |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
This function makes a | This function makes a [[ped|ped's]] footprints bloody. | ||
==Syntax== | ==Syntax== | ||
Line 7: | Line 7: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''thePlayer:''' | *'''thePlayer:''' the ped to give bloody footprints to. | ||
*'''enabled:''' | *'''enabled:''' boolean specifying whether or not to have bloody feet. | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if changing the | Returns ''true'' if changing the ped's bloody feet status worked. | ||
==Example== | ==Example== | ||
Line 17: | Line 17: | ||
<section name="Client" class="client" show="true"> | <section name="Client" class="client" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
setPedFootBloodEnabled(localPlayer, true) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</section> | </section> |
Latest revision as of 13:33, 18 August 2024
This function makes a ped's footprints bloody.
Syntax
bool setPedFootBloodEnabled (element thePlayer, bool enabled)
Required Arguments
- thePlayer: the ped to give bloody footprints to.
- enabled: boolean specifying whether or not to have bloody feet.
Returns
Returns true if changing the ped's bloody feet status worked.
Example
This example gives the player bloody feet forever.
Click to collapse [-]
ClientsetPedFootBloodEnabled(localPlayer, true)
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