This repository was archived by the owner on Sep 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
EventList
Robin Möller edited this page Jun 23, 2020
·
15 revisions
Invokes when a Player presses use on a door.
Parameters: (ref DoorInteractEvent ev)
ev.Player = The Player who used the door
ev.Allow = Allow the player to open the door?
ev.Door = The Door which the player tried to open
Invokes when a Tesla is activated.
Parameter: (ref TeslaTriggerEvent ev)
ev.Player = The Player who activated the Tesla
ev.IsHurtRange = Is the Player in damage range
ev.Triggerable = Can the Tesla activate?
Invokes when the warhead is detonated.
No parameters required.
Invoked when a player joined the Server
Parameter: (ref PlayerJoinEvent ev)
ev.Player = The Player who joined
ev.Nick = The nickname of the Player
Invoked when a Player left the Server
Parameter: (PlayerLeaveEvent ev)
ev.Player = Player who left the Server
Invoked when a player begins 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 SCP-939 Chat? (Only works if the Player is a Scp)
ev.IntercomTalk = Is the User allowed to talk in the Intercom Chat (Only works if the Player is a Human)
ev.RadioTalk = Is the User allowed to talk in the Radio Chat (Only works if the Player is a Human)
ev.ScpChat = Is the User allowed to talk in the Scp Chat (Only works if the Player is a Scp)
ev.SpectatorChat = Is the User allowed to talk in the Spectator Chat (Only works if the Player is a Spectator)
Invoked when a player gets banned by an admin.
Parameter: (ref PlayerBanEvent ev)
ev.Allowed = Can the Player be banned?
ev.BannedPlayer = The Player who got banned
ev.Issuer = The Admin who banned a player
ev.Duration = The duration of the Ban
ev.Reason = The reason of the Ban
Invoked when a player dies
Parameter: (PlayerDeathEvent ev)
ev.Info = Hitinfos about the death
ev.Killer = The Player who killed someone
ev.Player = The Player who got killed
Invoked when a Player gets hurt
Parameter: (ref PlayerHurtEvent ev)
ev.Info = Hitinfos about the Hit
ev.Attacker = The Player who attacked someone
ev.Player = The Player who gets attacked