This repository was archived by the owner on Jun 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Player
西行寺幽幽子 edited this page Jun 17, 2019
·
6 revisions
-
voidPlayer.AddHealth(int amount) -
voidPlayer.Ban(int duration) -
voidPlayer.Ban(int duration, string message) -
voidPlayer.ChangeRole(Role role, bool full = true, bool spawnTeleport = true, bool spawnProtect = true, bool removeHandcuffs = false) -
voidPlayer.Damage(int amount, DamageType type = DamageType.NUKE) -
voidPlayer.Disconnect() -
voidPlayer.Disconnect(string message) -
ItemPlayer.GiveItem(ItemType type) -
voidPlayer.HandcuffPlayer(Player playerToHandcuff) -
boolPlayer.HasItem(ItemType type) -
voidPlayer.HideTag(bool enable) -
voidPlayer.Infect(float time) -
boolPlayer.IsHandcuffed() -
voidPlayer.Kill(DamageType type = DamageType.NUKE) -
voidPlayer.RemoveHandcuffs() -
stringPlayer.RunCommand(string command, string[] args) -
voidPlayer.SendConsoleMessage(string message, string color = "green") -
voidPlayer.Teleport(Vector pos, bool unstuck = false) -
voidPlayer.ThrowGrenade(ItemType grenadeType, bool isCustomDirection, Vector direction, bool isEnvironmentallyTriggered, Vector position, bool isCustomForce, float throwForce, bool slowThrow = false) -
voidPlayer.PersonalBroadcast(int showTime, string Message, bool isMonospace)
-
VectorPlayer.Get106Portal() -
intPlayer.GetAmmo(AmmoType type) -
stringPlayer.GetAuthToken() -
boolPlayer.GetBypassMode() -
ItemPlayer.GetCurrentItem() -
intPlayer.GetCurrentItemIndex() -
objectPlayer.GetGameObject() -
boolPlayer.GetGhostMode() -
boolPlayer.GetGodmode() -
intPlayer.GetHealth() -
List<Item>Player.GetInventory() -
intPlayer.GetItemIndex(ItemType type) -
VectorPlayer.GetPosition() -
stringPlayer.GetRankName() -
VectorPlayer.GetRotation() -
UserGroupPlayer.GetUserGroup()
-
voidPlayer.SetAmmo(AmmoType type, int amount) -
voidPlayer.SetCurrentItem(ItemType type) -
voidPlayer.SetCurrentItemIndex(int index) -
voidPlayer.SetGhostMode(bool ghostMode, bool visibleToSpec = true, bool visibleWhenTalking = true) -
voidPlayer.SetGodmode(bool godmode) -
voidPlayer.SetHealth(int amount, DamageType type = DamageType.NUKE) -
voidPlayer.SetRadioBattery(int battery) -
voidPlayer.SetRank(string color = "", string text = "", string group = "")
-
stringPlayer.IpAddress -
stringPlayer.Name -
boolPlayer.OverwatchMode -
intPlayer.PlayerId -
RadioStatusPlayer.RadioStatus -
boolPlayer.ShouldCallSetRoleEvent -
stringPlayer.SteamId -
TeamRolePlayer.TeamRole
- Installation
- Config
- Server Name Variables
- Commands
-
- Admin Events
- Enviroment Events
-
Player Events
- OnPlayerHurt
- OnPlayerDie
- OnPlayerPickupItem
- OnPlayerDropItem
- OnPlayerJoin
- OnNicknameSet
- OnAssignTeam
- OnSetRole
- OnCheckEscape
- OnSpawn
- OnDoorAccess
- OnIntercom
- OnIntercomCooldownCheck
- OnPocketDimensionExit
- OnPocketDimensionEnter
- OnPocketDimensionDie
- OnThrowGrenade
- OnPlayerInfected
- OnSpawnRagdoll
- OnLure
- OnContain106
- OnMedkitUse
- OnShoot
- On106CreatePortal
- On106Teleport
- OnElevatorUse
- OnHandcuff
- OnGeneratorUnlock
- OnGeneratorAccess
- OnGeneratorInsertTablet
- OnGeneratorEjectTablet
- On079Door
- On079Lock
- On079Elevator
- On079TeslaGate
- On079AddExp
- On079LevelUp
- On079UnlockDoors
- On079CameraTeleport
- On079ElevatorTeleport
- On079StartSpeaker
- On079StopSpeaker
- On079Lockdown
- Server Round Events
- Team Events