Skip to content
This repository was archived by the owner on Sep 12, 2020. It is now read-only.

EventList

GrafDimenzio edited this page Jun 23, 2020 · 15 revisions

MapEvents

DoorInteractEvent:

Actiavtes when a Player open a door.

Parameter: (ref DoorInteractEvent ev)

ev.Player = The Player who opens the Door

ev.Allow = Can the Player open the door?

ev.Door = The Door which the player try to open

TeslaTriggerEvent

Activates when a Tesla is activated

Parameter: (ref TeslaTriggerEvent ev)

ev.Player = The Player who activates the Tesla

ev.IsHurtRange = Is the Player so near that he get Damage?

ev.Triggerable = Are the Tesla allowed to activated

WarheadDetonationEvent

Activates when the Detonation starts.

Parameter: ()

PlayerEvents

PlayerJoinEvent

Activates when a Player joins the Server

Parameter: (ref PlayerJoinEvent ev)

ev.Player = The Player who joins

ev.Nick = The NickName the Player will get

PlayerLeaveEvent

Activates when a Player Leaves the Server

Parameter: (PlayerLeaveEvent ev)

ev.Player = Player who leaves the Server

PlayerSpeakEvent

Activates when a Player Starts to Speak

Parameter: (ref PlayerSpeakEvent ev)

ev.Player = The Player who Speaks

ev.DissonanceUserSetup = The Voice setup class for the Player

ev.Scp939Talk = Is the User allowed to talk in the Scp939 Chat (Does only Work if the Player is a Scp)

ev.IntercomTalk = Is the User allowed to talk in the Intercom Chat (Does only Work if the Player is a Human)

ev.RadioTalk = Is the User allowed to talk in the Radio Chat (Does only Work if the Player is a Human)

ev.ScpChat = Is the User allowed to talk in the Scp Chat (Does only Work if the Player is a Scp)

ev.SpectatorChat = Is the User allowed to talk in the Spectator Chat (Does only work if the Player is a Spectator)

PlayerBanEvent

Activates when a Player gets banned

Parameter: (ref PlayerBanEvent ev)

ev.Allowed = Can the Player be Banned?

ev.BannedPlayer = The Player who gets banned

ev.Issuer = The Admin who bans a Player

ev.Duration = The Duration of the ban

ev.Reason = The Reason of the ban

PlayerDeathEvent

Activates when A Player die

Parameter: (PlayerDeathEvent ev)

ev.Info = HitInfos about the Death

ev.Killer = The Player who killed someone

ev.Player = The Player who gets killed

PlayerHurtEvent

Activates when a Player Gets Hurt

Parameter: (ref PlayerHurtEvent ev)

ev.Info = HitInfos about the Hit

ev.Attacker = The Player who attacks someone

ev.Player = The Player who gets attacked

ScpEvents

ServerEvent

Clone this wiki locally