Skip to content

Latest commit

 

History

History
207 lines (201 loc) · 9.46 KB

Player.wikitext

File metadata and controls

207 lines (201 loc) · 9.46 KB

Table of Contents

Static functions

Returns Prototype
Player GetById(number)
table Match(string)

Functions

Returns Prototype
Ban()
Ban(string)
ClearInventory()
DisableAutoAim(Player)
DisableCollision(CollisionGroup)
EnableAutoAim(Player)
EnableCollision(CollisionGroup)
EnterVehicle(Vehicle, VehicleSeat)
table GetAimTarget()
Angle GetAngle()
Vector3 GetCameraPosition()
Color GetColor()
WeaponSlot GetEquippedSlot()
Weapon GetEquippedWeapon()
number GetHealth()
number GetId()
string GetIP()
table GetInventory()
Vector3 GetLinearVelocity()
number GetModelId()
number GetMoney()
string GetName()
boolean GetParachuting()
number GetPing()
Vector3 GetPosition()
PlayerState GetState()
SteamId GetSteamId()
object GetValue(string)
Vehicle GetVehicle()
number GetWeatherSeverity()
GiveWeapon(number, Weapon)
boolean HasVehicleDLC(VehicleId)
boolean HasWeaponDLC(WeaponId)
boolean InVehicle()
boolean IsFullyAuthenticated()
Kick(string)
Kick()
SendChatMessage(string, Color)
SetAngle(Angle)
SetColor(Color)
SetHealth(number)
SetModelId(number)
SetMoney(number)
SetNetworkValue(string, object)
SetPosition(Vector3)
SetWeatherSeverity(number)
SetValue(string, object)
Teleport(Vector3, Angle)

Functions inherited from StreamableObject

Returns Prototype
CellID GetCellId()
boolean GetEnabled()
number GetStreamDistance()
World GetWorld()
SetEnabled(boolean)
SetStreamDistance(number)
SetWorld(World)

Operators

Returns Prototype
boolean Player == Player
string tostring(Player)