Class.SqPlayer - VCMP-SqMod/SqMod GitHub Wiki
Used to represent a player instance in the game.
-
class
SqPlayer
-
table
On -
integer
ID -
string
Tag -
object
Data -
bool
Active -
bool
Connected -
bool
Admin -
string
IP -
string
UID -
string
UID2 -
integer
Key -
string
Name -
integer
State -
integer
World -
integer
SecWorld -
integer
SecondaryWorld -
integer
UniqueWorld -
integer
Class -
integer
Team -
integer
Skin -
Color3
Color -
Color3
Colour -
bool
Spawned -
bool
Typing -
integer
Money -
integer
Score -
integer
WantedLevel -
integer
Ping -
float
FPS -
float
Health -
float
Armor -
float
Armour -
integer
Immunity -
Vector3
Pos -
Vector3
Position -
Vector3
Speed -
float
Angle -
float
Heading -
integer
Alpha -
Vector3
AimPosition -
Vector3
AimDirection -
bool
Burning -
bool
Crouched -
integer
Action -
integer
GameKeys -
integer
VehicleStatus -
integer
VehicleSlot -
SqVehicle
Vehicle -
integer
VehicleID -
integer
Weapon -
integer
Ammo -
integer
WeaponSlot -
bool
CameraLocked -
SqVehicle
TouchedVehicle -
SqObject
TouchedObject -
bool
Away -
SqPlayer
Spec -
integer
SpecID -
integer
DrunkHandling -
integer
DrunkVisuals -
bool
CollideAreas -
integer
Authority -
bool
TrackPosition -
bool
TrackHeading -
integer
LastWeapon -
float
LastHealth -
float
LastArmor -
float
LastArmour -
float
LastHeading -
Vector3
LastPosition -
integer
BufferCursor -
integer
BufferCapacity -
float
PosX -
float
PosY -
float
PosZ -
integer
Red -
integer
Green -
integer
Blue -
integer
BufferInitSize -
integer
MessageColor -
integer
AnnounceStyle -
integer
DefaultAmmo -
string
MessagePrefix -
string
MessagePostfix -
string
AnnouncePrefix -
string
AnnouncePostfix -
bool
LimitPrefixPostfixMessage
-
function
SetTag -
function
CustomEvent -
function
StreamedFor -
function
Kill -
function
Kick -
function
Ban -
function
KickBecause -
function
BanBecause -
function
SetName -
function
GetOption -
function
SetOption -
function
SetOptionEx -
function
GetNetworkStatisticsF -
function
GetNetworkStatisticsI -
function
WorldCompatible -
function
SetColor -
function
SetColour -
function
Spawn -
function
Select -
function
GiveMoney -
function
SetPos -
function
SetPosition -
function
SetSpeed -
function
SetAlpha -
function
Disembark -
function
SetWeapon -
function
GiveWeapon -
function
WeaponAtSlot -
function
AmmoAtSlot -
function
RemoveWeapon -
function
StripWeapons -
function
RestoreCamera -
function
Spectating -
function
Unspectate -
function
Spectate -
function
SetPlayer3DArrow -
function
GetPlayer3DArrow -
function
SetPlayer3DArrowID -
function
GetPlayer3DArrowID -
function
InterpolateCameraLookAt -
function
InterpolateCameraLookAtEx -
function
Redirect -
function
GetModuleList -
function
PlaySound -
function
AreasCollide -
function
GetMsgPrefix -
function
SetMsgPrefix -
function
SetTrackPosition -
function
StreamByte -
function
StreamShort -
function
StreamInt -
function
StreamFloat -
function
StreamString -
function
StreamRawString -
function
FlushStream -
function
SendBuffer -
function
AddSpeed -
function
Embark -
function
CameraPosition -
function
StartStream -
function
SetAnimation -
function
CreateCheckpointEx -
function
CreateCheckpoint -
function
Msg -
function
MsgP -
function
MsgEx -
function
Message -
function
Announce -
function
AnnounceEx -
function
Text -
function
TextEx -
function
NullInst -
function
MakeTask -
function
DropTask -
function
DoesTask -
function
FindTask
-
integer
MaxID