SetElementOnFire
Jump to navigation
Jump to search
Syntax
bool setElementOnFire ( element theElement, bool isOnFire )
OOP Syntax Help! I don't understand this!
- Method: element:setOnFire(...)
- Variable: .onFire
- Counterpart: isElementOnFire
Required Arguments
- theElement: The element that we want to set/unset.
- isOnFire: true to set the element on fire, false to extinguish any fire on it.
Returns
Returns true if successful, false otherwise
Example
Script Example Missing Function SetElementOnFire needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
See Also
- 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