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> ...") |
No edit summary |
||
(One intermediate revision by one other user 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 11:41, 31 August 2021
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
- addPedClothes
- canPedBeKnockedOffBike
- createPed
- getPedAmmoInClip
- getPedAnalogControlState
- getPedAnimation
- getPedArmor
- getPedBonePosition
- getPedCameraRotation
- getPedClothes
- getPedContactElement
- getPedControlState
- getPedFightingStyle
- getPedMoveState
- getPedOccupiedVehicle
- getPedOccupiedVehicleSeat
- getPedOxygenLevel
- getPedSimplestTask
- getPedStat
- getPedTarget
- getPedTargetCollision
- getPedTargetEnd
- getPedTargetStart
- getPedTask
- getPedTotalAmmo
- getPedVoice
- getPedWalkingStyle
- getPedWeapon
- getPedWeaponMuzzlePosition
- getPedWeaponSlot
- getValidPedModels
- givePedWeapon
- isPedBleeding
- isPedChoking
- isPedDead
- isPedDoingGangDriveby
- isPedDoingTask
- isPedDucked
- isPedFootBloodEnabled
- isPedHeadless
- isPedInVehicle
- isPedOnFire
- isPedOnGround
- isPedReloadingWeapon
- isPedTargetingMarkerEnabled
- isPedWearingJetpack
- killPed
- removePedClothes
- removePedFromVehicle
- setAnalogControlState
- setPedAimTarget
- setPedAnalogControlState
- setPedAnimation
- setPedAnimationProgress
- setPedAnimationSpeed
- setPedArmor
- setPedBleeding
- setPedCameraRotation
- setPedCanBeKnockedOffBike
- setPedControlState
- setPedDoingGangDriveby
- setPedEnterVehicle
- setPedExitVehicle
- setPedFightingStyle
- setPedFootBloodEnabled
- setPedHeadless
- setPedLookAt
- setPedOnFire
- setPedOxygenLevel
- setPedStat
- setPedTargetingMarkerEnabled
- setPedVoice
- setPedWalkingStyle
- setPedWeaponSlot
- warpPedIntoVehicle