RU/setPedOnFire
Jump to navigation
Jump to search
Эта функция позволяет поджечь или потушить педа.
Syntax
bool setPedOnFire ( ped thePed, bool isOnFire )
Required Arguments
- thePed: The ped that we want to set/unset
- isOnFire: true to set the ped on fire, false to extinguish any fire on him
Returns
Returns true if successful, false otherwise
Example
This script will make all current connected players and peds to burn
setPedOnFire ( getRootElement(), true )
Смотрите также
- addPedClothes
- createPed
- doesPedHaveJetPack
- getPedAmmoInClip
- getPedArmor
- getPedClothes
- getPedContactElement
- getPedFightingStyle
- getPedGravity
- getPedOccupiedVehicle
- getPedOccupiedVehicleSeat
- getPedStat
- getPedTarget
- getPedTotalAmmo
- getPedWalkingStyle
- getPedWeapon
- getPedWeaponSlot
- getValidPedModels
- givePedJetPack
- isPedChoking
- isPedDead
- isPedDoingGangDriveby
- isPedDucked
- isPedFrozen
- isPedHeadless
- isPedInVehicle
- isPedInWater
- isPedOnFire
- isPedOnGround
- killPed
- reloadPedWeapon
- removePedClothes
- removePedFromVehicle
- removePedJetPack
- setPedAnimation
- setPedAnimationProgress
- setPedAnalogControlState
- setPedArmor
- setPedChoking
- setPedDoingGangDriveby
- setPedFightingStyle
- setPedFrozen
- setPedGravity
- setPedHeadless
- setPedOnFire
- setPedStat
- setPedWeaponSlot