SetPedTargetingMarkerEnabled: Difference between revisions
Jump to navigation
Jump to search
ThePiotrek (talk | contribs) mNo edit summary |
ThePiotrek (talk | contribs) mNo edit summary |
||
Line 12: | Line 12: | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if the markers were enabled, ''false'' if weren't or if invalid arguments are passed. | Returns ''true'' if the markers were enabled, ''false'' if weren't or if invalid arguments are passed. | ||
==Example== | ==Example== |
Revision as of 13:52, 26 August 2016
This function is used to toggle the health target marker on top of all pedestrians.
Syntax
bool setPedTargetingMarkerEnabled ( bool enabled )
Required Arguments
- enabled: A boolean denoting whether we want to enable (true) or disable (false) the markers.
Returns
Returns true if the markers were enabled, false if weren't or if invalid arguments are passed.
Example
Click to collapse [-]
Clientfunction disableTargetMarkers() setPedTargetingMarkerEnabled(false) -- Disables target markers from being rendered after the resource is started end addEventHandler("onClientResourceStart", resourceRoot, disableTargetMarkers)
See Also
- canPedBeKnockedOffBike
- getPedAnalogControlState
- getPedAnimation
- getPedBonePosition
- getPedCameraRotation
- getPedControlState
- getPedMoveState
- getPedOxygenLevel
- getPedSimplestTask
- getPedTargetCollision
- getPedTargetEnd
- getPedTargetStart
- getPedTask
- getPedVoice
- getPedWeaponMuzzlePosition
- givePedWeapon
- isPedBleeding
- isPedDoingTask
- isPedReloadingWeapon
- isPedTargetingMarkerEnabled
- setAnalogControlState
- setPedAimTarget
- setPedAnalogControlState
- setPedBleeding
- setPedCameraRotation
- setPedCanBeKnockedOffBike
- setPedControlState
- setPedEnterVehicle
- setPedExitVehicle
- IsPedFootBloodEnabled
- setPedFootBloodEnabled
- setPedLookAt
- setPedOxygenLevel
- setPedTargetingMarkerEnabled
- setPedVoice
- Shared
- 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