BasePlayer Class |
Namespace: SampSharp.GameMode.World
public class BasePlayer : IdentifiedPool<BasePlayer>, IWorldObject
The BasePlayer type exposes the following members.
Name | Description | |
---|---|---|
BasePlayer |
Initializes a new instance of the BasePlayer class.
|
Name | Description | |
---|---|---|
Angle |
Gets or sets the facing angle of this Player.
| |
AnimationIndex |
Gets the index of the animation this Player is playing.
| |
Armour |
Gets or sets the armor of this Player.
| |
BytesReceived |
Get the amount of information (in bytes) that the server has sent to the player.
| |
BytesSent |
Get the amount of information (in bytes) that the server has received from the player.
| |
CameraFrontVector |
Gets the front Vector3 of this Player's camera.
| |
CameraMode |
Gets the mode of this Player's camera.
| |
CameraPosition |
Gets or sets the position of the camera of this Players.
| |
CameraTargetActor |
Gets the GtaPlayer the camera of this player is pointing at.
| |
CameraTargetGlobalObject |
Gets the GlobalObject the camera of this player is pointing at.
| |
CameraTargetPlayer |
Gets the GtaPlayer the camera of this player is pointing at.
| |
CameraTargetPlayerObject |
Gets the PlayerObject the camera of this player is pointing at.
| |
CameraTargetVehicle |
Gets the GtaVehicle the camera of this player is pointing at.
| |
Color |
Gets or sets the Color of this Player.
| |
ConnectedTime |
Gets the amount of time (in milliseconds) that a player has been connected to the server for.
| |
ConnectionStatus |
Get a player's connection status.
| |
DefaultClientMessageColor |
Gets or sets the default color of a client message.
| |
DrunkLevel |
Gets or sets the drunkenness level of this Player.
| |
FightStyle |
Gets or sets the FightStyle of this Player.
| |
GPCI |
Gets this Player's GPCI string.
| |
Health |
Gets or sets the health of this Player.
| |
Id |
Gets the identifier of this instance.
(Inherited from IdentifiedPoolTInstance.) | |
InAnyVehicle |
Gets whether this Player is currently in any vehicle.
| |
InCheckpoint |
Gets whether this Player is in his checkpoint.
| |
InRaceCheckpoint |
Gets whether this Player is in his race-checkpoint.
| |
Interior |
Gets or sets the interior of this Player.
| |
IP |
Gets the IP of this Player.
| |
IsAdmin |
Gets whether this Player is logged into RCON.
| |
IsAlive |
Gets a value indicating whether this Player is alive.
| |
IsConnected |
Gets whether this Player is connected to the server.
| |
IsDisposed |
Gets whether this resource has been disposed.
(Inherited from Disposable.) | |
IsNPC |
Gets whether this Player is an actual player or an NPC.
| |
IsSelectingTextDraw |
Gets a value indicating whether this player is selecting a textdraw.
| |
Key |
Gets a set of KeyHandlers for different key states.
| |
MessagesReceived |
Gets the number of messages the server has received from the player.
| |
MessagesReceivedPerSecond |
Gets the number of messages the player has received in the last second.
| |
MessagesSent |
Gets the number of messages the server has sent to the player.
| |
Money |
Gets or sets the money of this Player.
| |
Name |
Gets or sets the name of this Player.
| |
NetworkStats | Obsolete.
Gets this Player's network stats and saves them into a string.
| |
PacketLossPercent | Obsolete.
Gets the packet loss percentage of a player. Packet loss means data the player is sending to the server is being
lost (or vice-versa).
| |
Ping |
Gets the ping of this Player.
| |
PoolSize |
Gets the size of the players pool.
| |
Position |
Gets or sets the position of this Player.
| |
PVars |
Gets a collections of Player Variables of this Player.
| |
Rotation |
Gets or sets the rotation of this Player.
| |
Score |
Gets or sets the score of this Player.
| |
Skin |
Gets or sets the skin of this Player.
| |
SpecialAction |
Gets or sets the SpecialAction of this Player.
| |
State |
Gets the state of this Player.
| |
SurfingGlobalObject |
Gets the GlobalObject that this Player is surfing.
| |
SurfingPlayerObject |
Gets the PlayerObject that this Player is surfing.
| |
SurfingVehicle |
Gets the Vehicle that this Player is surfing.
| |
TargetActor |
Gets the Actor this Player is aiming at.
| |
TargetPlayer |
Gets the Player this Player is aiming at.
| |
Team |
Gets or sets the team this Player is in.
| |
Vehicle |
Gets the Vehicle this Player is currently in.
| |
VehicleSeat |
Gets the vehicle seat this Player sits on.
| |
Velocity |
Gets or sets the velocity of this Player.
| |
Version |
Gets this Player's game version.
| |
VirtualWorld |
Gets or sets the virtual world of this Player.
| |
WantedLevel |
Gets or sets the wanted level of this Player.
| |
Weapon |
Gets the Weapon this Player is currently holding.
| |
WeaponAmmo |
Gets the ammo of the Weapon this Player is currently holding.
| |
WeaponState |
Gets the WeaponState of the Weapon this Player is currently holding.
|
Name | Description | |
---|---|---|
ApplyAnimation(String, String, Single, Boolean, Boolean, Boolean, Boolean, Int32) |
Apply an animation to this BasePlayer.
| |
ApplyAnimation(String, String, Single, Boolean, Boolean, Boolean, Boolean, Int32, Boolean) |
Apply an animation to this BasePlayer.
| |
AssertNotDisposed |
Checks whether this instance has been disposed. If it has, it throws an exception.
(Inherited from Disposable.) | |
Ban |
Ban this BasePlayer. The ban will be IP-based, and be saved in the samp.ban file in the
server's root directory. Ban(String) allows you to ban with a reason, while you can ban and unban
IPs
using the RCON banip and unbanip commands.
| |
Ban(String) |
Ban this BasePlayer with a reason.
| |
CancelEdit |
Cancels object editing mode for this player.
| |
CancelSelectTextDraw |
Cancel text draw selection with the mouse for this BasePlayer.
| |
ClearAnimations |
Clears all animations for this BasePlayer.
| |
ClearAnimations(Boolean) |
Clears all animations for this BasePlayer.
| |
CreateExplosion |
Creates an explosion for a BasePlayer.
Only the specific player will see explosion and feel its effects.
This is useful when you want to isolate explosions from other players or to make them only appear in specific
virtual worlds.
| |
CreateExplosionForAll(Vector3, ExplosionType, Single) |
Create an explosion at the specified coordinates.
| |
CreateExplosionForAll(Vector3, ExplosionType, Single, Int32) |
Create an explosion at the specified coordinates.
| |
CreateExplosionForAll(Vector3, ExplosionType, Single, Int32, Int32) |
Create an explosion at the specified coordinates.
| |
DisableCheckpoint |
Disable any initialized checkpoints for this BasePlayer.
| |
DisableRaceCheckpoint |
Disable any initialized race checkpoints for this BasePlayer.
| |
DisableRemoteVehicleCollisions |
Allows you to disable collisions between vehicles for a player.
| |
Dispose |
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.) | |
Dispose(Boolean) |
Removes this instance from the pool.
(Inherited from IdentifiedPoolTInstance.) | |
DoEditAttachedObject |
Enter edition mode for an attached object.
| |
EnablePlayerCameraTarget |
Toggles camera targeting functions for a player.
| |
EnableStuntBonus |
Toggle stunt bonuses for this BasePlayer.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Finalizes an instance of the Disposable class.
(Inherited from Disposable.) | |
ForceClassSelection |
Forces this BasePlayer to go back to class selection.
| |
GameText |
Shows 'game text' (on-screen text) for a certain length of time for this BasePlayer.
| |
GameTextForAll |
Shows 'game text' (on-screen text) for a certain length of time for all players.
| |
GetAnimationName |
Get the animation library/name this BasePlayer is playing.
| |
GetDistanceFromPoint |
Calculate the distance between this BasePlayer and a map coordinate.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetKeys |
Check which keys this BasePlayer is pressing.
| |
GetLastShot |
Retrieves the start and end (hit) position of the last bullet a player fired.
| |
GetTime |
Get this BasePlayer's current game time. Set by SetWorldTime(Int32),
SetWorldTime(Int32),
or by ToggleClock(Boolean).
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWeaponData |
Get the Weapon and ammo in this BasePlayer's weapon slot.
| |
GiveMoney |
Give money to this BasePlayer.
| |
GiveWeapon |
Give this BasePlayer a Weapon with a specified amount of ammo.
| |
Initialize |
An overloadable point for initialization logic which requires the Id to be set.
(Inherited from IdentifiedPoolTInstance.) | |
InterpolateCameraLookAt |
Interpolate this BasePlayer's camera's 'look at' point between two coordinates with a set speed.
| |
InterpolateCameraPosition |
Move this BasePlayer's camera from one position to another, within the set time.
| |
IsAttachedObjectSlotUsed |
Check if this BasePlayer has an object attached in the specified index (slot).
| |
IsInRangeOfPoint |
Check if this BasePlayer is in range of a point.
| |
IsInVehicle |
Checks if this BasePlayer is in a specific BaseVehicle.
| |
IsPlayerStreamedIn |
Checks if a BasePlayer is streamed in this BasePlayer's client.
| |
Kick |
Kicks this BasePlayer from the server. They will have to quit the game and re-connect if they wish
to
continue playing.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnCancelClickTextDraw |
Raises the CancelClickTextDraw event.
| |
OnCleanup |
Raises the Cleanup event.
| |
OnClickMap |
Raises the ClickMap event.
| |
OnClickPlayer |
Raises the ClickPlayer event.
| |
OnClickPlayerTextDraw |
Raises the ClickPlayerTextDraw event.
| |
OnClickTextDraw |
Raises the ClickTextDraw event.
| |
OnCommandText |
Raises the CommandText event.
| |
OnConnected |
Raises the Connected event.
| |
OnDeath |
Raises the Died event.
| |
OnDialogResponse |
Raises the DialogResponse event.
| |
OnDisconnected |
Raises the Disconnected event.
| |
OnEditAttachedObject |
Raises the EditAttachedObject event.
| |
OnEditGlobalObject |
Raises the EditGlobalObject event.
| |
OnEditPlayerObject |
Raises the EditPlayerObject event.
| |
OnEnterCheckpoint |
Raises the EnterCheckpoint event.
| |
OnEnterExitModShop |
Raises the EnterExitModShop event.
| |
OnEnterRaceCheckpoint |
Raises the EnterRaceCheckpoint event.
| |
OnEnterVehicle |
Raises the EnterVehicle event.
| |
OnExitedMenu |
Raises the ExitedMenu event.
| |
OnExitVehicle |
Raises the ExitVehicle event.
| |
OnGiveDamage |
Raises the GiveDamage event.
| |
OnInteriorChanged |
Raises the InteriorChanged event.
| |
OnKeyStateChanged |
Raises the KeyStateChanged event.
| |
OnLeaveCheckpoint |
Raises the LeaveCheckpoint event.
| |
OnLeaveRaceCheckpoint |
Raises the LeaveRaceCheckpoint event.
| |
OnPickUpPickup |
Raises the PickUpPickup event.
| |
OnRequestClass |
Raises the RequestClass event.
| |
OnRequestSpawn |
Raises the RequestSpawn event.
| |
OnSelectedMenuRow |
Raises the SelectedMenuRow event.
| |
OnSelectGlobalObject |
Raises the SelectGlobalObject event.
| |
OnSelectPlayerObject |
Raises the SelectPlayerObject event.
| |
OnSpawned |
Raises the Spawned event.
| |
OnStateChanged |
Raises the StateChanged event.
| |
OnStreamIn |
Raises the StreamIn event.
| |
OnStreamOut |
Raises the StreamOut event.
| |
OnTakeDamage |
Raises the TakeDamage event.
| |
OnText |
Raises the Text event.
| |
OnUpdate |
Raises the Update event.
| |
OnWeaponShot |
Raises the WeaponShot event.
| |
PlayAudioStream(String) |
Play an 'audio stream' for this BasePlayer. Normal audio files also work (e.g. MP3).
| |
PlayAudioStream(String, Vector3, Single) |
Play an 'audio stream' for this BasePlayer. Normal audio files also work (e.g. MP3).
| |
PlayCrimeReport |
This function plays a crime report for this BasePlayer - just like in single-player when CJ commits
a
crime.
| |
PlaySound(Int32) |
Plays the specified sound for this BasePlayer.
| |
PlaySound(Int32, Vector3) |
Plays the specified sound for this BasePlayer at a specific point.
| |
PutCameraBehindPlayer |
Restore the camera to a place behind the player, after using a function like CameraPosition.
| |
PutInVehicle(BaseVehicle) |
Puts this BasePlayer in a vehicle as driver.
| |
PutInVehicle(BaseVehicle, Int32) |
Puts this BasePlayer in a BaseVehicle.
| |
RemoveAttachedObject |
Remove an attached object from this BasePlayer.
| |
RemoveFromVehicle |
Removes/ejects this BasePlayer from his vehicle.
| |
RemoveMapIcon |
Removes a map icon that was set earlier for this player using SetMapIcon(Int32, Vector3, MapIcon, Color, MapIconType).
| |
ResetMoney |
Reset this BasePlayer's money to $0.
| |
ResetWeapons |
Removes all weapons from this BasePlayer.
| |
SelectTextDraw |
Display the cursor and allow this BasePlayer to select a text draw.
| |
SendClientMessage(String) |
This function sends a message to this BasePlayer in white in the chat. The whole line in the chat
box
will be
in the set color unless color embedding is used.
| |
SendClientMessage(String, Object) |
This function sends a message to this BasePlayer in white in the chat. The whole line in the chat
box
will be
in the set color unless color embedding is used.
| |
SendClientMessage(Color, String) |
This function sends a message to this BasePlayer with a chosen color in the chat. The whole line in
the chat box will be
in the set color unless colour embedding is used.
| |
SendClientMessage(Color, String, Object) |
This function sends a message to this BasePlayer with a chosen color in the chat. The whole line in
the chatbox will be
in the set color unless color embedding is used.
| |
SendClientMessageToAll(String) |
Displays a message in white in chat to all players.
| |
SendClientMessageToAll(String, Object) |
Displays a message in white in chat to all players.
| |
SendClientMessageToAll(Color, String) |
Displays a message in chat to all players.
| |
SendClientMessageToAll(Color, String, Object) |
Displays a message in chat to all players.
| |
SendDeathMessage |
Adds a death to the kill feed on the right-hand side of the screen of this BasePlayer.
| |
SendDeathMessageToAll |
Adds a death to the kill feed on the right-hand side of the screen.
| |
SendPlayerMessageToAll |
Sends a message in the name of this BasePlayer to all other players on the server. The line will
start with the this
BasePlayer's name in their color, followed by the message in white.
| |
SendPlayerMessageToPlayer |
Sends a message in the name this BasePlayer to another player on the server. The message will appear
in the chat box
but can only be seen by receiver. The line will start with the this Player's name in his color,
followed by the message in white.
| |
SetAmmo |
Set the ammo of this BasePlayer's weapon.
| |
SetArmedWeapon |
Sets the armed weapon of this BasePlayer.
| |
SetAttachedObject |
Attach an object to a specific bone on this BasePlayer.
| |
SetCameraLookAt(Vector3) |
Set the direction this BasePlayer's camera looks at. To be used in combination with
CameraPosition.
| |
SetCameraLookAt(Vector3, CameraCut) |
Set the direction this BasePlayer's camera looks at. To be used in combination with
CameraPosition.
| |
SetChatBubble |
Creates a chat bubble above this BasePlayer's name tag.
| |
SetCheckpoint |
Sets a checkpoint (red circle) for this BasePlayer. Also shows a red blip on the radar.
| |
SetMapIcon | Place an icon/marker on this player's map. Can be used to mark locations such as banks and hospitals to players. | |
SetPlayerMarker |
Change the color of this BasePlayer's name tag and radar blip for another Player.
| |
SetPositionFindZ |
This sets this BasePlayer's position then adjusts the Player's z-coordinate to the nearest solid
ground under the
position.
| |
SetRaceCheckpoint |
Creates a race checkpoint. When this BasePlayer enters it, the EnterRaceCheckpoint
callback is called.
| |
SetShopName |
Loads or unloads an interior script for this BasePlayer. (for example the ammunation menu)
| |
SetSkillLevel |
Set the skill level of a certain weapon type for this BasePlayer.
| |
SetSpawnInfo |
This function can be used to change the spawn information of a specific player. It allows you to automatically set
someone's spawn weapons, their team, skin and spawn position, normally used in case of mini games or
automatic-spawn systems.
| |
SetTime |
Sets the clock of this BasePlayer to a specific value. This also changes the daytime. (night/day
etc.)
| |
SetWeather |
Set this BasePlayer's weather. If ToggleClock(Boolean) has been used to enable the clock,
weather changes will
interpolate (gradually change), otherwise will change instantly.
| |
SetWorldBounds |
Set the world boundaries for this BasePlayer - players can not go out of the boundaries.
| |
ShowNameTagForPlayer |
This functions allows you to toggle the drawing of player name tags, health bars and armor bars which display above
their head. For use of a similar function like this on a global level, ShowNameTags(Boolean)
function.
| |
Spawn |
(Re)Spawns a player.
| |
SpectatePlayer(BasePlayer) |
Makes this BasePlayer spectate (watch) another player.
| |
SpectatePlayer(BasePlayer, SpectateMode) |
Makes this BasePlayer spectate (watch) another player.
| |
SpectateVehicle(BaseVehicle) |
Sets this BasePlayer to spectate another vehicle, i.e. see what its driver sees.
| |
SpectateVehicle(BaseVehicle, SpectateMode) |
Sets this BasePlayer to spectate another vehicle, i.e. see what its driver sees.
| |
StartRecordingPlayerData |
Starts recording this BasePlayer's movements to a file, which can then be reproduced by an NPC.
| |
StopAudioStream |
Stops the current audio stream for this BasePlayer.
| |
StopRecordingPlayerData |
Stops all the recordings that had been started with StartRecordingPlayerData(PlayerRecordingType, String) for this
BasePlayer.
| |
ToggleClock |
Show/Hide the in-game clock (top right corner) for this BasePlayer.
| |
ToggleControllable |
Toggles whether this BasePlayer can control themselves, basically freezes them.
| |
ToggleSpectating |
Toggle this BasePlayer's spectate mode.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
CancelClickTextDraw |
Occurs when the OnCancelClickTextDraw(PlayerEventArgs) is being called.
This callback is called when a player cancels the textdraw select mode(ESC).
| |
Cleanup |
Occurs when the OnCleanup(DisconnectEventArgs) is being called.
This callback is called after a player disconnects from the server.
| |
ClickMap |
Occurs when the OnClickMap(PositionEventArgs) is being called.
This callback is called when a player places a target/waypoint on the pause menu map (by right-clicking).
| |
ClickPlayer |
Occurs when the OnClickPlayer(ClickPlayerEventArgs) is being called.
Called when a player double-clicks on a player on the scoreboard.
| |
ClickPlayerTextDraw |
Occurs when the OnClickPlayerTextDraw(ClickPlayerTextDrawEventArgs) is being called.
This callback is called when a player clicks on a player-textdraw. It is not called when player cancels the select
mode (ESC).
| |
ClickTextDraw |
Occurs when the OnClickTextDraw(ClickTextDrawEventArgs) is being called.
This callback is called when a player clicks on a textdraw. It is not called when player cancels the select
mode (ESC)
| |
CommandText |
Occurs when the OnCommandText(CommandTextEventArgs) is being called.
This callback is called when a player enters a command into the client chat window, e.g. /help.
| |
Connected |
Occurs when the OnConnected(EventArgs) is being called.
This callback is called when a player connects to the server.
| |
DialogResponse |
Occurs when the OnDialogResponse(DialogResponseEventArgs) is being called.
This callback is called when a player responds to a dialog shown using Dialog by
either clicking a button, pressing ENTER/ESC or double-clicking a list item (if using a list style dialog).
| |
Died |
Occurs when the OnDeath(DeathEventArgs) is being called.
This callback is triggered when the gamemode starts.
| |
Disconnected |
Occurs when the OnDisconnected(DisconnectEventArgs) is being called.
This callback is called when a player disconnects from the server.
| |
Disposed |
Occurs when this isntance has been disposed.
(Inherited from Disposable.) | |
EditAttachedObject |
Occurs when the OnEditAttachedObject(EditAttachedObjectEventArgs) is being called.
This callback is called when a player ends attached object edition mode.
| |
EditGlobalObject |
Occurs when the OnEditGlobalObject(EditGlobalObjectEventArgs) is being called.
This callback is called when a player ends object edition mode.
| |
EditPlayerObject |
Occurs when the OnEditPlayerObject(EditPlayerObjectEventArgs) is being called.
This callback is called when a player ends object edition mode.
| |
EnterCheckpoint |
Occurs when the OnEnterCheckpoint(EventArgs) is being called.
This callback is called when a player enters the checkpoint set for that player.
| |
EnterExitModShop |
Occurs when the OnEnterExitModShop(EnterModShopEventArgs) is being called.
This callback is called when a player enters or exits a mod shop.
| |
EnterRaceCheckpoint |
Occurs when the OnEnterRaceCheckpoint(EventArgs) is being called.
This callback is called when a player enters a race checkpoint.
| |
EnterVehicle |
Occurs when the OnEnterVehicle(EnterVehicleEventArgs) is being called.
This callback is called when a player starts to enter a vehicle, meaning the player is not in vehicle yet at the
time this callback is called.
| |
ExitedMenu |
Occurs when the OnExitedMenu(EventArgs) is being called.
Called when a player exits a menu.
| |
ExitVehicle |
Occurs when the OnExitVehicle(PlayerVehicleEventArgs) is being called.
This callback is called when a player exits a vehicle.
| |
GiveDamage |
Occurs when the OnGiveDamage(DamageEventArgs) is being called.
This callback is called when a player gives damage to another player.
| |
InteriorChanged |
Occurs when the OnInteriorChanged(InteriorChangedEventArgs) is being called.
Called when a player changes interior.
| |
KeyStateChanged |
Occurs when the OnKeyStateChanged(KeyStateChangedEventArgs) is being called.
This callback is called when the state of any supported key is changed (pressed/released). Directional keys do not
trigger this callback.
| |
LeaveCheckpoint |
Occurs when the OnLeaveCheckpoint(EventArgs) is being called.
This callback is called when a player leaves the checkpoint set for that player.
| |
LeaveRaceCheckpoint |
Occurs when the OnLeaveRaceCheckpoint(EventArgs) is being called.
This callback is called when a player leaves the race checkpoint.
| |
PickUpPickup |
Occurs when the OnPickUpPickup(PickUpPickupEventArgs) is being called.
This callback is called when a player picks up a pickup.
| |
RequestClass |
Occurs when the OnRequestClass(RequestClassEventArgs) is being called.
Called when a player changes class at class selection (and when class selection first appears).
| |
RequestSpawn |
Occurs when the OnRequestSpawn(RequestSpawnEventArgs) is being called.
Called when a player attempts to spawn via class selection.
| |
SelectedMenuRow |
Occurs when the OnSelectedMenuRow(MenuRowEventArgs) is being called.
This callback is called when a player selects an item from a menu.
| |
SelectGlobalObject |
Occurs when the OnSelectGlobalObject(SelectGlobalObjectEventArgs) is being called.
This callback is called when a player selects an object after Select(BasePlayer) has been used.
| |
SelectPlayerObject |
Occurs when the OnSelectPlayerObject(SelectPlayerObjectEventArgs) is being called.
This callback is called when a player selects an object after Select(BasePlayer) has been used.
| |
Spawned |
Occurs when the OnSpawned(SpawnEventArgs) is being called.
This callback is called when a player spawns.
| |
StateChanged |
Occurs when the OnStateChanged(StateEventArgs) is being called.
This callback is called when a player exits a vehicle.
| |
StreamIn |
Occurs when the OnStreamIn(PlayerEventArgs) is being called.
This callback is called when a player is streamed by some other player's client.
| |
StreamOut |
Occurs when the OnStreamOut(PlayerEventArgs) is being called.
This callback is called when a player is streamed out from some other player's client.
| |
TakeDamage |
Occurs when the OnTakeDamage(DamageEventArgs) is being called.
This callback is called when a player takes damage.
| |
Text |
Occurs when the OnText(TextEventArgs) is being called.
Called when a player sends a chat message.
| |
Update |
Occurs when the OnUpdate(PlayerUpdateEventArgs) is being called.
This callback is called everytime a client/player updates the server with their status.
| |
WeaponShot |
Occurs when the OnWeaponShot(WeaponShotEventArgs) is being called.
This callback is called when a player fires a shot from a weapon.
|
Name | Description | |
---|---|---|
InvalidId |
Identifier indicating the handle is invalid.
| |
Max |
Maximum number of players which can exist.
| |
MaxAttachedObjects |
Maximum number of attached objects attached to a player.
| |
MaxChatBubbleLength |
Maximum length of the text in a chat bubble.
| |
MaxNameLength |
Maximum length of a player's name.
| |
NoTeam |
Identifier indicating a player is not a member of any team.
|