DE/setPedOnFire: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Server client function}} Diese Funktion überprüft das der ped schiesst. ==Syntax== <syntaxhighlight lang="lua">bool isPedOnFire ( ped derPed )</syntaxhighlight> ===Required Arguments==...") |
mNo edit summary |
||
Line 23: | Line 23: | ||
</section> | </section> | ||
== | ==Andere sachen in Englisch== | ||
{{Ped functions}} | {{Ped functions}} |
Revision as of 05:59, 28 February 2011
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
Andere sachen in Englisch
- 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