DE/setPedOnFire
Jump to navigation
Jump to search
Diese Funktion überprüft das der ped schiesst.
Syntax
bool isPedOnFire ( ped derPed )
Required Arguments
- derPed: Der ped zu überprüfen.
Returns
Returns true wenn der schiesst, false wenn nicht.
Example
Click to collapse [-]
ServerDisese Funktion nimmt ein zufälligen Spieler und wenn er schiessen sollte bekommt er ne M4
local player = getRandomPlayer() if isPedOnFire ( player ) then giveWeapon ( player, 31, 150, true ) end
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