Native Server Functions#
- Collision & Tracing
- ConVars
- Code Callbacks
CodeCallback_PlayerDecoyDie()
CodeCallback_PlayerDecoyDissolve()
CodeCallback_PlayerDecoyRemove()
CodeCallback_PlayerDecoyStateChange()
CodeCallback_ScriptedDialogue()
CodeCallback_LeechStart()
CodeCallback_ClientCommand()
CodeCallback_DamagePlayerOrNPC()
CodeCallback_DamageEntity()
CodeCallback_OnEntityDestroyed()
CodeCallback_PreSpawn()
CodeCallback_OnSpawned()
CodeCallback_OnPlayerKilled()
CodeCallback_OnNPCKilled()
CodeCallback_OnEntityKilled()
CodeCallback_OnEntityChangedTeam()
CodeCallback_NPCMeleeChargedPlayerOrNPC()
CodeCallback_GetWeaponDamageSourceId()
CodeCallback_WeaponFireInCloak()
CodeCallback_OnServerAnimEvent()
CodeCallback_OnNPCLookAtHint()
CodeCallback_OnTouchHealthKit()
CodeCallback_OnInventoryChanged()
CodeCallback_OnMeleeKilled()
CodeCallback_StartRodeo()
CodeCallback_ForceEndRodeo()
CodeCallback_EmbarkTitan()
CodeCallback_EmbarkTitanFromGrapple()
CodeCallback_OnWeaponAttack()
CodeCallback_OnPrecache()
CodeCallback_OnVehiclePass()
CodeCallback_ForceAIMissPlayer()
CodeCallback_GamerulesThink()
CodeCallback_OnPlayerRespawned()
CodeCallback_OnClientConnectionStarted()
CodeCallback_OnClientConnectionCompleted()
CodeCallback_OnClientDisconnected()
CodeCallback_PlayerHasBeenConnectedForDuration()
CodeCallback_OnClientSendingPersistenceToNewServer()
CodeCallback_MatchIsOver()
CodeCallback_OnPlayerMatchmakingChanged()
CodeCallback_OnPlayerJump()
CodeCallback_OnPlayerDoubleJump()
CodeCallback_OnPlayerDodge()
CodeCallback_OnPlayerLeaveGround()
CodeCallback_OnPlayerTouchGround()
CodeCallback_OnPlayerMantle()
CodeCallback_OnPlayerBeginWallrun()
CodeCallback_OnPlayerEndWallrun()
CodeCallback_OnPlayerBeginWallhang()
CodeCallback_OnPlayerEndWallhang()
CodeCallback_OnPlayerInputCommandChanged()
CodeCallback_OnPlayerInputAxisChanged()
CodeCallback_OnPlayerGrappled()
CodeCallback_OnProjectileGrappled()
CodeCallback_OnLoadSaveGame()
CodeCallback_OnClientReloadConnectionCompleted()
CodeCallback_OnSavedSaveGame()
CodeCallback_IsSaveGameSafeToCommit()
CodeCallback_OnTetherRemove()
CodeCallback_OnTetherDamageMilestone()
CodeCallback_ClaimClientSidePickup_MatchCandy()
CodeCallback_WeaponDropped()
CodeCallback_OnWeaponReload()
CodeCallback_GivePersistentItem()
CodeCallback_OnWeaponTouch()
CodeCallback_CanUseEntity()
CodeCallback_OnUseEntity()
CodeCallback_OnUsePressed()
CodeCallback_OnUseReleased()
CodeCallback_IsLeechable()
CodeCallback_Ping()
CodeCallback_OnMeleePressed()
CodeCallback_OnMeleeReleased()
CodeCallback_OnMeleeAttackAnimEvent()
CodeCallback_AnimationDone()
CodeCallback_AnimationInterrupted()
CodeCallback_PlayerClassChanged()
CodeCallback_CanUseZipline()
CodeCallback_ZiplineMount()
CodeCallback_ZiplineStart()
CodeCallback_ZiplineMove()
CodeCallback_ZiplineStop()
CodeCallback_IsValidRodeoTarget()
CodeCallback_OnRodeoAttach()
CodeCallback_TitanRiderEntVarChanged()
CodeCallback_OnVortexHitBullet()
CodeCallback_OnVortexHitProjectile()
CodeCallback_OnTurretCancelPressed()
CodeCallback_ForceScriptError()
CodeCallback_EnterPhaseShift()
CodeCallback_ExitPhaseShift()
CodeCallback_CheckPassThroughAddsMods()
CodeCallback_IsValidMeleeExecutionTarget()
CodeCallback_IsValidMeleeAttackTarget()
CodeCallback_OnGrapple()
- Create Entites
- DamageDef
- DamageInfo
- DataTables
GetDataTable()
GetDataTableColumnByName()
GetDataTableRowCount()
GetDatatableBool()
GetDataTableInt()
GetDataTableFloat()
GetDataTableVector()
GetDataTableString()
GetDataTableAsset()
GetDataTableRowMatchingBoolValue()
GetDataTableRowMatchingIntValue()
GetDataTableRowLessThanOrEqualToIntValue()
GetDataTableRowGreaterThanOrEqualToIntValue()
GetDataTableRowMatchingFloatValue()
GetDataTableRowLessThanOrEqualToFloatValue()
GetDataTableRowGreaterThanOrEqualToFloatValue()
GetDataTableRowMatchingVectorValue()
GetDataTableRowMatchingStringValue()
GetDataTableRowMatchingAssetValue()
- Debug Drawing
DebugDrawLine()
DebugDrawCylinder()
DebugDrawCircle()
DebugDrawMark()
DebugDrawSphere()
DrawArrow()
DrawStar()
DebugDrawBoxSimple()
DrawBox()
DebugDrawCube()
DebugDrawBox()
DrawAngledBox()
DrawBoxFromEye()
DebugDrawRotatedBox()
DebugDrawCircleTillSignal()
DebugDrawOriginMovement()
DebugDrawSpawnpoint()
DrawTag()
DrawOrg()
DrawAttachmentForever()
DebugDrawCircleOnEnt()
DebugDrawSphereOnEnt()
_DebugThreadDrawCircleOnEnt()
DebugDrawCircleOnTag()
DebugDrawSphereOnTag()
_DebugThreadDrawCircleOnTag()
DrawTracerOverTime()
DebugDrawWeapon()
DebugDrawAngles()
DrawAnglesForMovingEnt()
DrawLineFromEntToEntForTime()
DrawLineFromVecToEntForTime()
DrawLineForPoints()
DebugScreenText()
- Developer Functions
- Entity Actions
- Gamerules
GameRules_GetGameMode()
GameRules_GetTeamScore()
GameRules_GetTeamScore2()
GameRules_GetTeamKills()
GameRules_GetTeamDeaths()
GameRules_GetTeamName()
GameRules_TimeLimitEnabled()
GameRules_AllowMatchEnd()
GameRules_GetClassMax()
GameRules_SetGameMode()
GameRules_SetTeamScore()
GameRules_SetTeamScore2()
GameRules_EndMatch()
GameRules_MarkGameStatePrematchEnding()
GameRules_MarkGameStateWinnerDetermined()
GameRules_ChangeMap()
GameRules_GetRecentMap()
GameRules_GetRecentGameMode()
GameRules_GetRecentTeamScore()
GameRules_EnableGlobalChat()
GameRules_GetUniqueMatchID()
GameRules_SetDeadPlayersCanOnlySpeakToDeadPlayersInHudChat()
- Getting Entities
- HUD Messages
- Script Managed Entity Arrays
- Math
- Networked Data
- NPCs
- Operators
Operator_FindFloorHeight()
Operator_DiveEnable()
Operator_DiveDisable()
Operator_IsDiving()
Operator_ForceDefaultFloorHeight()
Operator_SetDefaultFloorHeight()
Operator_IgnoreWorldForMovement()
Operator_IgnoreWorldForFloorTrace()
Operator_MoveGridSizeScale()
Operator_MoveFloorHeightOffset()
Operator_JumpIsDodge()
Operator_SetMaxJumpSpeed()
Operator_SetJumpAcceleration()
- Particles
PrecacheParticleSystem()
GetParticleSytemIndex()
GetParticleSystemName()
StartParticleEffectInWorld()
StartParticleEffectInWorldWithControlPoint()
StartParticleEffectInWorld_ReturnEntity()
StartParticleEffectOnEntity()
StartParticleEffectOnEntityWithControlPoint()
StartParticleEffectOnEntityWithPos()
StartParticleEffectOnEntityWithPosWithControlPoint()
StartParticleEffectOnEntity_ReturnEntity()
StartParticleEffectOnEntityWithPos_ReturnEntity()
EffectStop()
EffectSleep()
EffectWake()
EffectSetControlPointVector()
EffectSetControlPointAngles()
EffectSetControlPointEntity()
EffectAddTrackingForControlPoint()
- Persistence
- PlayerMelee
- Playlists
GetCurrentPlaylistGamemodesCount()
GetPlaylistGamemodesCount()
GetCurrentPlaylistGamemodeByIndex()
GetPlaylistGamemodeByIndex()
GetPlaylistGamemodeByIndexVar()
GetCurrentPlaylistGamemodeByIndexVar()
GetCurrentPlaylistGamemodeByIndexMapsCount()
GetPlaylistGamemodeByIndexMapsCount()
GetCurrentPlaylistGamemodeByIndexMapByIndex()
GetPlaylistGamemodeByIndexMapByIndex()
GetCurrentPlaylistMapsCount()
IsPrivateMatch()
IsCoopMatch()
GetLobbyTeamsShowAsBalanced()
GetGamemodeVarOrUseValue()
GetPlaylistCount()
GetPlaylistName()
GetPlaylistVarOrUseValue()
GetPlaylistVarOrUseValueOriginal()
GetCurrentPlaylistName()
Code_GetCurrentPlaylistVar()
Code_GetCurrentPlaylistVarOrUseValue()
GetCurrentPlaylistVarOrUseValueOriginal()
GetMaxPlayersForPlaylistName()
GetMaxTeamsForPlaylistName()
SetPlaylistVarOverride()
ClearPlaylistVarOverrides()
SetCurrentPlaylist()
- Precaching
- Recorded Animations
- Rodeo & Leeching
- Settings
- Smart Ammo
SetCustomSmartAmmoTarget()
SetPreventSmartAmmoLock()
SetSmartAmmoLockFromTitansOnly()
SmartAmmo_SetCustomFractionSource()
SmartAmmo_ClearCustomFractionSource()
SmartAmmo_GetCustomFractionSource()
SmartAmmo_GetMaxTargetedBurst()
SmartAmmo_GetTargetingTime()
SmartAmmo_GetTargetMaxLocks()
SmartAmmo_IsTrackingEntity()
SmartAmmo_IsValidTarget()
- Sounds
- Singleplayer
- Spawnpoints
- Status Effects
- Stryder
- Time
- Weapon Utilities
- Miscellaneous
IsServer()
IsClient()
IsToolsMode()
IsFNF()
IsGameFromReload()
GetCPULevel()
IsEnemyTeam()
SetMaxActivityMode()
CalculateHashForString()
CreateRope()
GetTeamSkill()
SendToConsole()
RecordAchievementEvent()
ServiceEventQueue()
SetDucking()
GrantClientSidePickup_MatchCandy()
NoteMatchState()
NoteLobbyState()
IsHighPerfDevServer()
ShouldAwardHappyHourBonus()
InPrediction()
IsFirstTimePredicted()
GetMapName()
IsFastIterationEnabled()
BuildingCubeMaps()
IsTestMap()
- Parents & Children
- Visual Options
- VPK
- Player Utils
- Levels
- Entity Utils
- Weapon Utils
- Preinstall
- Script Reloads