Skip to content
Adam Szerszenowicz edited this page Dec 12, 2024 · 16 revisions

Events

Here's a complete list of all in-game events that can be handled with scripts. Name of the event is always provided in argument 0 which can be used in script. Most of events also provide additional arguments (they are listed below corresponding event names).

PlayerJoined

  1. New player's id number
  2. New player's displayed nickname

PlayerLeft

  1. Leaving player's id number
  2. Leaving player's displayed nickname

PlayerBanned

  1. Banned player's displayed nickname
  2. Provided ban reason

PlayerKicked

  1. Kicked player's id number
  2. Kicked player's displayed nickname
  3. Provided kick reason

PlayerCheaterReport

  1. Reporter's id number
  2. Reporter's displayed nickname
  3. Cheater's id number
  4. Cheater's displayed nickname
  5. Provided reason

PlayerChangeRole

  1. Player's id number
  2. Player's displayed nickname
  3. Old role name
  4. New role name
  5. Change reason

PlayerPreauth

  1. New player's region.

PlayerGetGroup

  1. Player's user id.
  2. Player's badge text.

PlayerReport

  1. Reporter's id number
  2. Reporter's displayed nickname
  3. Target player's id number
  4. Target player's displayed nickname
  5. Provided reason

RagdollSpawn

  1. Player's id number
  2. Player's displayed nickname

PlayerMuted

  1. Issuer's id number
  2. Issuer's displayed nickname
  3. Muted player's id number
  4. Muted player's displayed nickname

PlayerUnmuted

  1. Issuer's id number
  2. Issuer's displayed nickname
  3. Unmuted player's id number
  4. Unmuted player's displayed nickname

PlayerCheckReservedSlot

  1. Player's user id.
  2. Has reserved slot boolean.

PlayerDeath

  1. Killed player's id number
  2. Killed player's displayed nickname
  3. Attacker's id number (only when player was killed by other player)
  4. Attacker's displayed nickname (only when player was killed by other player)

PlayerChangeSpectator

  1. Spectator's id number
  2. Spectator's displayed nickname
  3. New target's id number
  4. New target's displayed nickname
  5. Previous target's id number (only when spectator was spectating someone already)
  6. Previous target's displayed nickname (only when spectator was spectating someone already)

PlayerEscape

  1. Player's id number
  2. Player's displayed nickname
  3. New role name

PlayerHandcuff

  1. Player's id number
  2. Player's displayed nickname
  3. Handcuffed player's id number
  4. Handcuffed player's displayed nickname

PlayerRemoveHandcuffs

  1. Player's id number
  2. Player's displayed nickname
  3. Handcuffed player's id number
  4. Handcuffed player's displayed nickname

PlayerDamage

  1. Player's id number
  2. Player's displayed nickname
  3. Attacker's id number (only when player is damaged by other player)
  4. Attacker's displayed nickname (only when player is damaged by other player)

PlayerReceiveEffect

  1. Player's id number
  2. Player's displayed nickname
  3. Effect class (positive, negative etc.)
  4. Effect intensity
  5. Effect duration

PlayerSpawn

  1. Player's id number
  2. Player's displayed nickname
  3. Role name

PlayerEnterPocketDimension

  1. Player's id number
  2. Player's displayed nickname

PlayerExitPocketDimension

  1. Player's id number
  2. Player's displayed nickname
  3. Is successful boolean

PlayerActivateGenerator

  1. Player's id number
  2. Player's displayed nickname

PlayerUsingIntercom

  1. Player's id number
  2. Player's displayed nickname
  3. Intercom state

PlayerCloseGenerator

  1. Player's id number
  2. Player's displayed nickname

PlayerDamagedShootingTarget

  1. Player's id number
  2. Player's displayed nickname
  3. Damage amount

PlayerDamagedWindow

  1. Player's id number
  2. Player's displayed nickname
  3. Damage amount

PlayerDeactivatedGenerator

  1. Player's id number
  2. Player's displayed nickname

PlayerOpenGenerator

  1. Player's id number
  2. Player's displayed nickname

PlayerInteractShootingTarget

  1. Player's id number
  2. Player's displayed nickname

PlayerInteractLocker

  1. Player's id number
  2. Player's displayed nickname

PlayerInteractElevator

  1. Player's id number
  2. Player's displayed nickname

PlayerUnlockGenerator

  1. Player's id number
  2. Player's displayed nickname

PlayerInteractDoor

  1. Player's id number
  2. Player's displayed nickname

PlayerInteractGenerator

  1. Player's id number
  2. Player's displayed nickname

PlayerAimWeapon

  1. Is aiming boolean
  2. Item type name
  3. Player's id number
  4. Player's displayed nickname

PlayerDryfireWeapon

  1. Item type name
  2. Player's id number
  3. Player's displayed nickname

PlayerReloadWeapon

  1. Item type name
  2. Player's id number
  3. Player's displayed nickname

PlayerShotWeapon

  1. Item type name
  2. Player's id number
  3. Player's displayed nickname

PlayerUnloadWeapon

  1. Item type name
  2. Player's id number
  3. Player's displayed nickname

PlayerCancelUsingItem

  1. Item type name
  2. Player's id number
  3. Player's displayed nickname

PlayerChangeItem

  1. Player's id number
  2. Player's displayed nickname

PlayerDropAmmo

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name
  4. Amount of dropped ammo

PlayerDropItem

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerDroppedAmmo

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name
  4. Amount of dropped ammo

PlayerDropedpItem

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerPickupAmmo

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerPickupArmor

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerPickupScp330

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerSearchPickup

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerSearchedPickup

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerThrowItem

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerToggleFlashlight

  1. Player's id number
  2. Player's displayed nickname
  3. Is toggled boolean

PlayerUsedItem

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerUseHotkey

  1. Player's id number
  2. Player's displayed nickname
  3. Action name

PlayerUseItem

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerInteractScp330

  1. Player's id number
  2. Player's displayed nickname

PlayerThrowProjectile

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name

PlayerPreCoinFlip

  1. Player's id number
  2. Player's displayed nickname

PlayerCoinFlip

  1. Player's id number
  2. Player's displayed nickname
  3. Is tails boolean

PlayerChangeRadioRange

  1. Player's id number
  2. Player's displayed nickname
  3. Selected radio range level

PlayerRadioToggle

  1. New state boolean
  2. Player's id number
  3. Player's displayed nickname

PlayerUsingRadio

  1. Player's id number
  2. Player's displayed nickname

LczDecontaminationStart

LczDecontaminationAnnouncement

  1. Announcement id number

MapGenerated

GrenadeExploded

  1. Item type name

ItemSpawned

  1. Item type name

GeneratorActivated

PlaceBlood

  1. Player's id number
  2. Player's displayed nickname

PlaceBulletHole

RoundEnd

  1. Leading team name

RoundRestart

RoundStart

WaitingForPlayers

TeamRespawnSelected

  1. Spawned team name

TeamRespawn

  1. Spawned team name
  2. Next wave max size

RoundEndConditionsCheck

WarheadStart

  1. Player's id number
  2. Player's displayed nickname

WarheadStop

  1. Player's id number
  2. Player's displayed nickname

WarheadDetonation

PlayerGameConsoleCommand

  1. Player's id number
  2. Player's displayed nickname
  3. Executed command

RemoteAdminCommand

  1. Executed commmand

ConsoleCommand

  1. Executed command

RemoteAdminCommandExecuted

  1. Executed command

PlayerGameConsoleCommandExecuted

  1. Player's id number
  2. Player's displayed nickname
  3. Executed command

ConsoleCommandExecuted

  1. Executed command

CassieAnnouncesScpTermination

  1. Player role name
  2. CASSIE announcement

Scp914Activate

  1. Player's id number
  2. Player's displayed nickname
  3. Selected knob setting

Scp914KnobChange

  1. Player's id number
  2. Player's displayed nickname
  3. Selected knob setting

Scp914UpgradeInventory

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name
  4. Selected knob setting

Scp914UpgradePickup

  1. Item type name
  2. Selected knob setting

Scp914PickupUpgraded

  1. Item type name
  2. Selected knob setting

Scp914InventoryItemUpgraded

  1. Player's id number
  2. Player's displayed nickname
  3. Item type name
  4. Selected knob setting

Scp914ProcessPlayer

  1. Player's id number
  2. Player's displayed nickname
  3. Selected knob setting

Scp106Stalking

  1. Player's id number
  2. Player's displayed nickname

Scp106TeleportPlayer

  1. Attacker's id number
  2. Attacker's displayed nickname
  3. Targeted player's id number
  4. Targeted player's displayed nickname

Scp173PlaySound

  1. Player's id number
  2. Player's displayed nickname

Scp173BreakneckSpeeds

  1. Player's id number
  2. Player's displayed nickname

Scp173NewObserver

  1. Attacker's id number
  2. Attacker's displayed nickname
  3. Targeted player's id number
  4. Targeted player's displayed nickname

Scp173SnapPlayer

  1. Attacker's id number
  2. Attacker's displayed nickname
  3. Targeted player's id number
  4. Targeted player's displayed nickname

Scp173CreateTantrum

  1. Player's id number
  2. Player's displayed nickname

Scp939CreateAmnesticCloud

  1. Player's id number
  2. Player's displayed nickname

Scp939Lunge

  1. Player's id number
  2. Player's displayed nickname

Scp939Attack

  1. Player's id number
  2. Player's displayed nickname

Scp079GainExperience

  1. Player's id number
  2. Player's displayed nickname
  3. Exp amount
  4. Exp reason

Scp079LevelUpTier

  1. Player's id number
  2. Player's displayed nickname
  3. New tier

Scp079UseTesla

  1. Player's id number
  2. Player's displayed nickname

Scp079LockdownRoom

  1. Player's id number
  2. Player's displayed nickname
  3. Room name

Scp079CancelRoomLockdown

  1. Player's id number
  2. Player's displayed nickname
  3. Room name

Scp079LockDoor

  1. Player's id number
  2. Player's displayed nickname

Scp079UnlockDoor

  1. Player's id number
  2. Player's displayed nickname

Scp079BlackoutZone

  1. Player's id number
  2. Player's displayed nickname
  3. Zone name

Scp079BlackoutRoom

  1. Player's id number
  2. Player's displayed nickname
  3. Zone name

Scp049ResurrectBody

  1. Player's id number
  2. Player's displayed nickname
  3. Resurrected player's id number
  4. Resurrected player's displayed nickname

Scp049StartResurrectingBody

  1. Player's id number
  2. Player's displayed nickname
  3. Resurrected player's id number
  4. Resurrected player's displayed nickname

Scp096AddingTarget

  1. Player's id number
  2. Player's displayed nickname
  3. Targeted player's id number
  4. Targeted player's displayed nickname

Scp096Enraging

  1. Player's id number
  2. Player's displayed nickname

Scp096ChangeState

  1. Player's id number
  2. Player's displayed nickname
  3. New rage state

Scp096Charging

  1. Player's id number
  2. Player's displayed nickname

Scp096PryingGate

  1. Player's id number
  2. Player's displayed nickname

Scp096TryNotCry

  1. Player's id number
  2. Player's displayed nickname

Scp096StartCrying

  1. Player's id number
  2. Player's displayed nickname

BanIssued

  1. Ban id
  2. Ban type

BanRevoked

  1. Ban id
  2. Ban type

BanUpdated

  1. Ban id
  2. Ban type
Clone this wiki locally