Client-side CSharp functions
Events
- Static properties:
Chat
Discord
Voice
Input
Nametags
Game
NUI
Ui
Ui.Cursor
Elements
- DoesExist
- GetAlpha
- GetHudColour
- GetCoords
- GetInfoIdEntityIndex
- GetSprite
- IsFlashing
- IsShortRange
- Pulse
- SetAsFriendly
- SetAsMissionCreatorBlip
- SetBright
- SetColour
- SetDisplay
- SetFlashes
- SetFlashInterval
- SetHighDetail
- SetNameToPlayerName
- SetRotation
- SetRouteColour
- SetSecondaryColour
- SetSprite
- ShowHeadingIndicatorOn
- SetFriendly
- GetInfoIdPickupIndex
- SetIconRgba
- SetGameplayHint
- DecorGetBool
- DecorGetInt
- DecorSetBool
- DecorSetInt
- ApplyForceTo
- ClearLastDamageEntity
- DoesBelongToThisScript
- DoesHaveDrawable
- ForceAiAndAnimationUpdate
- GetCollisionNormalOfLastHitFor
- GetAnimCurrentTime
- GetAttachedTo
- GetCollisionDisabled
- GetForwardVector
- GetForwardY
- GetPhysicsHeading
- GetHeight
- GetLodDist
- GetMaxHealth
- GetPitch
- GetQuaternion
- GetRotation
- GetScript
- GetSpeedVector
- GetType
- GetVelocity
- GetNearestPlayerTo
- GetOffsetFromGivenWorldCoords
- GetObjectIndexFromIndex
- GetVehicleIndexFromIndex
- HasAnimEventFired
- HasAnimFinished
- HasBeenDamagedByAnyPed
- HasCollidedWithAnything
- IsAttached
- IsAttachedToAnyPed
- IsAttachedToEntity
- IsAtEntity
- IsAPed
- IsDead
- IsInAngledArea
- IsInWater
- IsOccluded
- IsPlayingAnim
- IsTouchingEntity
- IsUpright
- IsVisible
- IsWaitingForWorldCollision
- PlaySynchronizedAnim
- ResetAlpha
- SetAlwaysPrerender
- SetAnimSpeed
- SetCanBeDamaged
- SetCanBeTargetedWithoutLos
- SetCoords
- SetCoords2
- SetHasGravity
- SetHealth
- SetIsTargetPriority
- SetLoadCollisionFlag
- SetMaxHealth
- SetMotionBlur
- SetOnlyDamagedByPlayer
- SetProofs
- SetRecordsCollisions
- SetRotation
- SetTrafficlightOverride
- SetVisible
- StopSynchronizedAnim
- GetHashNameForProp
- StartFire
- AddIcon
- RemoveParticleFxFrom
- SetIconVisibility
- GetBlipFrom
- ForceRoomFor
- GetKeyForInRoom
- CellCamIsCharVisibleNoFaceCheck
- NetworkDoesExistWithNetworkId
- NetworkFadeOut
- NetworkGetIsNetworked
- NetworkRegisterAsNetworked
- NetworkSetCanBlend
- NetworkUnregisterNetworked
- SetLocallyVisible
- NetworkGetNetworkIdFrom
- StartShapeTestBound
- IsFocus
- ClearLastWeaponDamage
- PlayStreamFrom
- HasBeenBroken
- MarkForDeletion
- SetActivatePhysicsAsSoonAsItIsUnfrozen
- SetTargettable
- SetTeamPickup
- SetDisableFragDamage
- GetVehicleAttachedToEntity
- TaskLookAtCoord
- DisablePainAudio
- IsAmbientSpeechDisabled
- IsInCurrentConversation
- PlayPain
- PlayAmbientSpeech1
- SetTalk
- SetIsDrunk
- StopCurrentPlayingAmbientSpeech
- StopRingtone
- IsBeingArrested
- AddVehicleSubtaskAttack
- ClearSecondaryTask
- ClearTasksImmediately
- GetIsTaskActive
- GetNavmeshRouteResult
- GetPhoneGestureAnimCurrentTime
- GetSequenceProgress
- IsMountedWeaponTaskUnderneathDrivingTask
- IsMoveBlendRatioSprinting
- IsMoveBlendRatioWalking
- IsCuffed
- IsInWrithe
- IsRunningArrestTask
- IsStill
- IsWalking
- HasUseScenarioTask
- SetDriveTaskDrivingStyle
- SetParachuteTaskTarget
- SetDesiredMoveBlendRatio
- SetPathCanDropFromHeight
- SetPathCanUseLadders
- SetPathPreferToAvoidWater
- SetTaskVehicleChaseBehaviorFlag
- StopAnimPlayback
- TaskAchieveHeading
- TaskAimGunAtEntity
- TaskArrest
- TaskClearLookAt
- TaskClimbLadder
- TaskCombatHatedTargetsInArea
- TaskCower
- TaskFollowNavMeshToCoord
- TaskFollowToOffsetOfEntity
- TaskGetOffBoat
- TaskGotoEntityOffset
- TaskGoToCoordAnyMeans
- TaskGoToCoordAnyMeansExtraParamsWithCruiseSpeed
- TaskGoToEntityWhileAimingAtEntity
- TaskJump
- TaskLeaveVehicle
- TaskMoveNetworkAdvanced
- TaskOpenVehicleDoor
- TaskParachuteToTarget
- TaskPause
- TaskSlideToCoordHdgRate
- TaskPlantBomb
- TaskPlayAnimAdvanced
- TaskPutDirectlyIntoCover
- TaskRappelFromHeli
- TaskReloadWeapon
- TaskSeekCoverFrom
- TaskSeekCoverToCoords
- TaskShockingEventReact
- TaskShuffleToNextVehicleSeat
- TaskSmartFleeCoord
- TaskStandGuard
- TaskStartScenarioAtPosition
- TaskStayInCover
- TaskSwapWeapon
- TaskSynchronizedScene
- TaskTurnToFaceCoord
- TaskUseMobilePhone
- TaskUseNearestScenarioToCoord
- TaskVehicleAimAtCoord
- TaskVehicleDriveToCoord
- TaskVehicleDriveWander
- TaskVehicleFollowWaypointRecording
- TaskVehicleMissionCoorsTarget
- TaskVehiclePark
- TaskVehicleShootAt
- TaskWanderStandard
- TaskWrithe
- UpdateTaskHandsUpDuration
- TaskFollowNavMeshToCoordAdvanced
- AddOwnedExplosion
- DoesHaveAiBlip
- SetAiBlipMaxDistance
- EnableTennisMode
- NetworkAddToSynchronisedScene
- ToNet
- DetachPortablePickupFrom
- AddArmourTo
- SetFacialDecoration
- ApplyBlood
- ApplyBloodDamageByZone
- ApplyDamageDecal
- CanKnockOffVehicle
- CanRagdoll
- ClearFacialIdleAnimOverride
- ClearAlternateWalkAnim
- ClearDamageDecalByZone
- ClearFacialDecorations
- ClearLastDamageBone
- ClearWetness
- Clone
- ExplodeHead
- ForceMotionState
- GetCombatFloat
- GetJackTarget
- IsOnMount
- GetNumberOfDrawableVariations
- GetNumberOfPropTextureVariations
- GetsJacker
- GetAlertness
- GetBoneCoords
- GetCauseOfDeath
- GetCombatRange
- GetDecorationsState
- GetDrawableVariation
- GetExtractedDisplacement
- GetHeadBlendData
- GetLastDamageBone
- GetMoney
- GetNearbyVehicles
- GetParachuteLandingType
- GetParachuteTintIndex
- GetPropTextureIndex
- GetRelationshipGroupDefaultHash
- GetResetFlag
- GetStealthMovement
- GetTimeOfDeath
- GetPlayerIsFollowing
- GetVehicleIsEntering
- GetVehicleIsTryingToEnter
- GiveHelmet
- HasHeadBlendFinished
- IsConversationDead
- IsheadshotValid
- IsAPlayer
- IsBeingStealthKilled
- IsBlushColorValid
- IsComponentVariationValid
- IsDiving
- IsDucking
- IsFacingPed
- IsFatallyInjured
- IsGettingIntoAVehicle
- IsGroupMember
- IsHangingOnToVehicle
- IsHeadtrackingPed
- IsHurt
- IsInAnyBoat
- IsInAnyPlane
- IsInAnySub
- IsInAnyTrain
- IsInCombat
- IsInCoverFacingLeft
- IsInGroup
- IsInMeleeCombat
- IsInParachuteFreeFall
- IsJacking
- IsJumpingOutOfVehicle
- IsMale
- IsOnAnyBike
- IsOnSpecificVehicle
- IsPerformingStealthKill
- IsProne
- IsReloading
- IsRunningMobilePhoneTask
- IsShooting
- IsSittingInAnyVehicle
- IsStopped
- IsSwimmingUnderWater
- IsTryingToEnterALockedVehicle
- IsUsingAnyScenario
- IsVaulting
- IsScriptedScenarioUsingConditionalAnim
- KnockOffProp
- PlayFacialAnim
- Registerheadshot
- RemoveDefensiveArea
- RemoveHelmet
- ResetInVehicleContext
- ResetMovementClipset
- ResetStrafeClipset
- ClearBloodDamage
- Resurrect
- SetBlockingOfNonTemporaryEvents
- SetCombatFloat
- SetEnableHandcuffs
- SetEnableScuba
- SetEyeColor
- SetAccuracy
- SetAllowedToDuck
- SetAlternateMovementAnim
- SetAngledDefensiveArea
- SetAsCop
- SetAsGroupLeader
- SetBlendFromParents
- SetCanArmIk
- SetCanBeKnockedOffVehicle
- SetCanBeTargetedWhenInjured
- SetCanBeTargetted
- SetCanBeTargettedByTeam
- SetCanEvasiveDive
- SetCanLegIk
- SetCanPlayAmbientAnims
- SetCanPlayGestureAnims
- SetCanRagdoll
- SetCanSmashGlass
- SetCanTeleportToGroupLeader
- SetCanUseAutoConversationLookat
- SetClothProne
- SetCombatAttributes
- SetCombatRange
- SetConfigFlag
- SetCoordsNoGang
- SetDefaultComponentVariation
- SetDefensiveAreaDirection
- SetDesiredHeading
- SetDiesInSinkingVehicle
- SetDiesInWater
- SetDriveByClipsetOverride
- SetEnableWeaponBlocking
- SetFiringPattern
- SetGeneratesDeadBodyEvents
- SetGetOutUpsideDownVehicle
- SetGroupMemberPassengerIndex
- SetHeadBlendData
- SetHeadOverlayColor
- SetHelmet
- SetHelmetPropIndex
- SetIdRange
- SetInVehicleContext
- SetLegIkMode
- SetMaxHealth
- SetMaxTimeInWater
- SetFaceFeature
- SetMinMoveBlendRatio
- SetMoney
- SetMovementClipset
- SetMoveRateOverride
- SetParachuteTintIndex
- SetPreferredCoverSet
- SetPrimaryLookat
- SetRagdollForceFall
- SetRandomComponentVariation
- SetRelationshipGroupDefaultHash
- SetReserveParachuteTintIndex
- SetSeeingRange
- SetShootRate
- SetStayInVehicleWhenJacked
- SetSteersAroundObjects
- SetSteersAroundVehicles
- SetSuffersCriticalHits
- SetTargetLossResponse
- SetToLoadCover
- SetToRagdollWithFall
- SetVisualFieldCenterAngle
- SetVisualFieldMaxElevationAngle
- SetVisualFieldMinElevationAngle
- SetWeaponMovementClipset
- SetWetnessHeight
- SetScriptedAnimSeatOffset
- UpdateHeadBlendData
- WasKilledByTakedown
- SetNameDebug
- SetPopulationBudget
- SetTargettableVehicleDestroy
- ClearLastWeaponDamage
- GetAmmoInClip
- GetBestWeapon
- GetCurrentWeapon
- GetIsGadgetEquipped
- GetMaxAmmo
- GetMaxRangeOfCurrentWeapon
- GetAmmoTypeFromWeapon
- GetAmmoTypeFromWeapon2
- GetWeaponTintIndex
- GetWeaponObjectFrom
- GiveWeaponComponentTo
- HasBeenDamagedByWeapon
- HasGotWeaponComponent
- IsFlashLightOn
- IsCurrentWeaponSilenced
- IsWeaponReadyToShoot
- SkipNextReloading
- RemoveWeaponComponentFrom
- SetAmmoInClip
- SetCurrentWeapon
- SetAmmoByType
- SetChanceOfFiringBlanks
- SetDropsInventoryWeapon
- SetDropsWeaponsWhenDead
- SetInfiniteAmmo
- SetWeaponTintIndex
- BlipSiren
- SetAudio
- GetHornHash
- OverrideVehHorn
- PlayDoorCloseSound
- SetAudioPriority
- SoundHornThisFrame
- SetBoostActive
- SetRadioLoud
- UseSirenAsHorn
- TaskPlayAnim
- DoesHaveDecal
- WashDecalsFrom
- SetNetworkNonContact
- IsNodeIdValid
- CreateRandomPedAsDriver
- AddUpsidedownCheck
- AreAnySeatsFree
- AreWingsIntact
- AttachToTrailer
- GetBoatAnchor
- ClearCustomPrimaryColour
- CloseBombBayDoors
- DetachFromAnyCargobob
- DetachFromCargobob
- DisablePlaneAileron
- DoesHaveRoof
- DoesHaveWeapons
- ExplodeInCutscene
- HasJumpingAbility
- IsDamaged
- GetSuspensionHeight
- HasRocketBoost
- GetHeliEngineHealth
- DoesHaveDoor
- GetIsRightHeadlightDamaged
- GetIsPrimaryColourCustom
- GetLandingGearState
- GetLiveryName
- GetModTextLabel
- GetNumberOfDoors
- GetNumMods
- GetPedUsingDoor
- GetBodyHealth
- CanParachuteBeActivated
- GetClass
- GetColours
- GetCustomPrimaryColour
- GetDeformationAtPos
- GetDoorsLockedForPlayer
- GetDoorLockStatus
- GetEnveffScale
- GetInteriorColour
- HasParachute
- GetLayoutHash
- GetLivery
- GetOwner
- GetMaxNumberOfPassengers
- GetMod
- GetModColor1Name
- GetModColor2Name
- GetModKit
- GetModModifierValue
- GetNeonLightsColour
- GetNumberOfPassengers
- GetNumberPlateTextIndex
- GetPlateType
- GetTyresCanBurst
- GetWheelType
- IsModLoadDone
- IsBig
- IsHeliPartBroken
- IsRocketBoostActive
- IsToggleModOn
- IsAttachedToCargobob
- IsAttachedToTrailer
- IsBumperBrokenOff
- IsDoorFullyOpen
- IsExtraTurnedOn
- IsInBurnout
- IsOnAllWheels
- IsSeatFree
- IsSirenOn
- IsStolen
- IsStoppedAtTrafficLights
- IsStuckTimerUp
- IsVisible
- LowerConvertibleRoof
- OpenBombBayDoors
- DetachWindscreen
- ReleasePreloadMods
- RemoveMod
- RemoveUpsidedownCheck
- RequestHighDetailModel
- ResetWheels
- RollDownWindows
- SetBikeLeanAngle
- SetCanRespray
- SetDisablePetrolTankDamage
- SetDoorCanBreak
- SetHeliBladesFullSpeed
- SetLastDriven
- SetPlaybackToUseAi
- SetRocketBoostActive
- SetRocketBoostRefillTime
- SetTaxiLights
- SetAlarm
- SetAutomaticallyAttaches
- SetBombs
- SetBurnout
- SetCanBeUsedByFleeingPeds
- SetCanBreak
- SetEngineTorqueMultiplier
- SetColourCombination
- SetCustomPrimaryColour
- SetDamage
- SetDirtLevel
- SetDoorsLockedForAllPlayers
- SetDoorsLockedForTeam
- SetDoorBroken
- SetDoorLatched
- SetDoorShut
- SetEngineCanDegrade
- SetEngineOn
- SetExclusiveDriver2
- SetExtra
- SetInteriorColour
- SetFixed
- SetFrictionOverride
- SetGravity
- SetHasBeenOwnedByPlayer
- SetHasStrongAxles
- SetIndicatorLights
- SetInteriorlight
- SetIsConsideredByPlayer
- SetIsWanted
- SetHudSpecialAbilityBarActive
- SetLightMultiplier
- SetLodMultiplier
- SetModColor1
- SetModKit
- SetNeonLightsColour
- SetNumberPlateText
- SetOnGroundProperly
- SetPetrolTankHealth
- SetReduceGrip
- SetSearchlight
- SetSiren
- SetStrong
- SetTyresCanBurst
- SetTyreFixed
- SetUndriveable
- SetWheelsCanBreakOffWhenBlowUp
- SetWindowTint
- SmashWindow
- StartPlaybackRecordedWithFlags
- StartHorn
- TrackVisibility
- SetCustomParachuteTexture
- SetParachuteActive
- Blip
- Checkpoint
- Player
- Object
- Blip
- Marker
- TextLabel
- Camera
- GameEntity
- Handle
- MapObject
- Pickup
- TextLabel