SampSharp
SampSharp
SampSharp.Entities.SAMP
NativePlayer Class
NativePlayer Methods
ApplyAnimation Method
AttachCameraToObject Method
AttachCameraToPlayerObject Method
Ban Method
BanEx Method
CancelEdit Method
CancelSelectTextDraw Method
ClearAnimations Method
CreateExplosionForPlayer Method
DisablePlayerCheckpoint Method
DisablePlayerRaceCheckpoint Method
DisableRemoteVehicleCollisions Method
EditAttachedObject Method
EditObject Method
EditPlayerObject Method
EnablePlayerCameraTarget Method
EnableStuntBonusForPlayer Method
ForceClassSelection Method
GameTextForPlayer Method
GetAnimationName Method
GetBytesReceived Method
GetBytesSent Method
GetConnectedTime Method
GetConnectionStatus Method
GetIpPort Method
GetMessagesReceived Method
GetMessagesReceivedPerSecond Method
GetMessagesSent Method
GetPacketLossPercent Method
GetPlayerAmmo Method
GetPlayerAnimationIndex Method
GetPlayerArmour Method
GetPlayerCameraAspectRatio Method
GetPlayerCameraFrontVector Method
GetPlayerCameraMode Method
GetPlayerCameraPos Method
GetPlayerCameraTargetActor Method
GetPlayerCameraTargetObject Method
GetPlayerCameraTargetPlayer Method
GetPlayerCameraTargetVehicle Method
GetPlayerCameraZoom Method
GetPlayerColor Method
GetPlayerDistanceFromPoint Method
GetPlayerDrunkLevel Method
GetPlayerFacingAngle Method
GetPlayerFightingStyle Method
GetPlayerHealth Method
GetPlayerInterior Method
GetPlayerIp Method
GetPlayerKeys Method
GetPlayerLastShotVectors Method
GetPlayerMenu Method
GetPlayerMoney Method
GetPlayerName Method
GetPlayerNetworkStats Method
GetPlayerPing Method
GetPlayerPos Method
GetPlayerScore Method
GetPlayerSkin Method
GetPlayerSpecialAction Method
GetPlayerState Method
GetPlayerSurfingObjectID Method
GetPlayerSurfingVehicleID Method
GetPlayerTargetActor Method
GetPlayerTargetPlayer Method
GetPlayerTeam Method
GetPlayerTime Method
GetPlayerVehicleID Method
GetPlayerVehicleSeat Method
GetPlayerVelocity Method
GetPlayerVersion Method
GetPlayerVirtualWorld Method
GetPlayerWantedLevel Method
GetPlayerWeapon Method
GetPlayerWeaponData Method
GetPlayerWeaponState Method
GivePlayerMoney Method
GivePlayerWeapon Method
GPCI Method
InterpolateCameraLookAt Method
InterpolateCameraPos Method
IsPlayerAdmin Method
IsPlayerAttachedObjectSlotUsed Method
IsPlayerConnected Method
IsPlayerInAnyVehicle Method
IsPlayerInCheckpoint Method
IsPlayerInRaceCheckpoint Method
IsPlayerInRangeOfPoint Method
IsPlayerInVehicle Method
IsPlayerNPC Method
IsPlayerStreamedIn Method
Kick Method
PlayAudioStreamForPlayer Method
PlayCrimeReportForPlayer Method
PlayerPlaySound Method
PlayerSpectatePlayer Method
PlayerSpectateVehicle Method
PutPlayerInVehicle Method
RemoveBuildingForPlayer Method
RemovePlayerAttachedObject Method
RemovePlayerFromVehicle Method
RemovePlayerMapIcon Method
ResetPlayerMoney Method
ResetPlayerWeapons Method
SelectObject Method
SelectTextDraw Method
SendClientMessage Method
SendDeathMessageToPlayer Method
SendPlayerMessageToPlayer Method
SetCameraBehindPlayer Method
SetPlayerAmmo Method
SetPlayerArmedWeapon Method
SetPlayerArmour Method
SetPlayerAttachedObject Method
SetPlayerCameraLookAt Method
SetPlayerCameraPos Method
SetPlayerChatBubble Method
SetPlayerCheckpoint Method
SetPlayerColor Method
SetPlayerDrunkLevel Method
SetPlayerFacingAngle Method
SetPlayerFightingStyle Method
SetPlayerHealth Method
SetPlayerInterior Method
SetPlayerMapIcon Method
SetPlayerMarkerForPlayer Method
SetPlayerName Method
SetPlayerPos Method
SetPlayerPosFindZ Method
SetPlayerRaceCheckpoint Method
SetPlayerScore Method
SetPlayerShopName Method
SetPlayerSkillLevel Method
SetPlayerSkin Method
SetPlayerSpecialAction Method
SetPlayerTeam Method
SetPlayerTime Method
SetPlayerVelocity Method
SetPlayerVirtualWorld Method
SetPlayerWantedLevel Method
SetPlayerWeather Method
SetPlayerWorldBounds Method
SetSpawnInfo Method
ShowPlayerDialog Method
ShowPlayerNameTagForPlayer Method
SpawnPlayer Method
StartRecordingPlayerData Method
StopAudioStreamForPlayer Method
StopRecordingPlayerData Method
TogglePlayerClock Method
TogglePlayerControllable Method
TogglePlayerSpectating Method
NativePlayer Methods
The
NativePlayer
type exposes the following members.
Methods
Name
Description
AddComponent
T
Adds a component of the specified type
T
to the entity.
(Inherited from
Component
.)
AddComponent
T
(
Object
)
Adds a component of the specified type
T
to the entity with the specified constructor
args
.
(Inherited from
Component
.)
ApplyAnimation
AttachCameraToObject
AttachCameraToPlayerObject
Ban
BanEx
CancelEdit
CancelSelectTextDraw
ClearAnimations
CreateExplosionForPlayer
Destroy
Destroys this component.
(Inherited from
Component
.)
DestroyComponents
T
Destroys the components of the specified type
T
attached to the entity.
(Inherited from
Component
.)
DestroyEntity
Destroys the entity.
(Inherited from
Component
.)
DisablePlayerCheckpoint
DisablePlayerRaceCheckpoint
DisableRemoteVehicleCollisions
EditAttachedObject
EditObject
EditPlayerObject
EnablePlayerCameraTarget
EnableStuntBonusForPlayer
Equals
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
ForceClassSelection
GameTextForPlayer
GetAnimationName
GetBytesReceived
GetBytesSent
GetComponent
T
Gets a component of the specified type
T
attached to the entity.
(Inherited from
Component
.)
GetComponentInChildren
T
Gets a component of the specified type
T
attached to a child entity of the entity using a depth first search.
(Inherited from
Component
.)
GetComponentInParent
T
Gets a component of the specified type
T
attached to a parent entity of the entity.
(Inherited from
Component
.)
GetComponents
T
Gets all components of the specified type
T
attached to the entity.
(Inherited from
Component
.)
GetComponentsInChildren
T
Gets all components of the specified type
T
attached to a child entity of the entity.
(Inherited from
Component
.)
GetComponentsInParent
T
Gets all components of the specified type
T
attached to a parent entity of the entity.
(Inherited from
Component
.)
GetConnectedTime
GetConnectionStatus
GetHashCode
Serves as the default hash function.
(Inherited from
Object
.)
GetIpPort
GetMessagesReceived
GetMessagesReceivedPerSecond
GetMessagesSent
GetPacketLossPercent
GetPlayerAmmo
GetPlayerAnimationIndex
GetPlayerArmour
GetPlayerCameraAspectRatio
GetPlayerCameraFrontVector
GetPlayerCameraMode
GetPlayerCameraPos
GetPlayerCameraTargetActor
GetPlayerCameraTargetObject
GetPlayerCameraTargetPlayer
GetPlayerCameraTargetVehicle
GetPlayerCameraZoom
GetPlayerColor
GetPlayerDistanceFromPoint
GetPlayerDrunkLevel
GetPlayerFacingAngle
GetPlayerFightingStyle
GetPlayerHealth
GetPlayerInterior
GetPlayerIp
GetPlayerKeys
GetPlayerLastShotVectors
GetPlayerMenu
GetPlayerMoney
GetPlayerName
GetPlayerNetworkStats
GetPlayerPing
GetPlayerPos
GetPlayerScore
GetPlayerSkin
GetPlayerSpecialAction
GetPlayerState
GetPlayerSurfingObjectID
GetPlayerSurfingVehicleID
GetPlayerTargetActor
GetPlayerTargetPlayer
GetPlayerTeam
GetPlayerTime
GetPlayerVehicleID
GetPlayerVehicleSeat
GetPlayerVelocity
GetPlayerVersion
GetPlayerVirtualWorld
GetPlayerWantedLevel
GetPlayerWeapon
GetPlayerWeaponData
GetPlayerWeaponState
GetType
Gets the
Type
of the current instance.
(Inherited from
Object
.)
GivePlayerMoney
GivePlayerWeapon
GPCI
InterpolateCameraLookAt
InterpolateCameraPos
IsPlayerAdmin
IsPlayerAttachedObjectSlotUsed
IsPlayerConnected
IsPlayerInAnyVehicle
IsPlayerInCheckpoint
IsPlayerInRaceCheckpoint
IsPlayerInRangeOfPoint
IsPlayerInVehicle
IsPlayerNPC
IsPlayerStreamedIn
Kick
MemberwiseClone
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
OnDestroyComponent
This method is invoked before this component is destroyed and removed from its entity.
(Inherited from
Component
.)
OnInitializeComponent
(Inherited from
BaseNativeComponent
.)
PlayAudioStreamForPlayer
PlayCrimeReportForPlayer
PlayerPlaySound
PlayerSpectatePlayer
PlayerSpectateVehicle
PutPlayerInVehicle
RemoveBuildingForPlayer
RemovePlayerAttachedObject
RemovePlayerFromVehicle
RemovePlayerMapIcon
ResetPlayerMoney
ResetPlayerWeapons
SelectObject
SelectTextDraw
SendClientMessage
SendDeathMessageToPlayer
SendPlayerMessageToPlayer
SetCameraBehindPlayer
SetPlayerAmmo
SetPlayerArmedWeapon
SetPlayerArmour
SetPlayerAttachedObject
SetPlayerCameraLookAt
SetPlayerCameraPos
SetPlayerChatBubble
SetPlayerCheckpoint
SetPlayerColor
SetPlayerDrunkLevel
SetPlayerFacingAngle
SetPlayerFightingStyle
SetPlayerHealth
SetPlayerInterior
SetPlayerMapIcon
SetPlayerMarkerForPlayer
SetPlayerName
SetPlayerPos
SetPlayerPosFindZ
SetPlayerRaceCheckpoint
SetPlayerScore
SetPlayerShopName
SetPlayerSkillLevel
SetPlayerSkin
SetPlayerSpecialAction
SetPlayerTeam
SetPlayerTime
SetPlayerVelocity
SetPlayerVirtualWorld
SetPlayerWantedLevel
SetPlayerWeather
SetPlayerWorldBounds
SetSpawnInfo
ShowPlayerDialog
ShowPlayerNameTagForPlayer
SpawnPlayer
StartRecordingPlayerData
StopAudioStreamForPlayer
StopRecordingPlayerData
TogglePlayerClock
TogglePlayerControllable
TogglePlayerSpectating
ToString
Returns a string that represents the current object.
(Inherited from
Object
.)
Top
See Also
Reference
NativePlayer Class
SampSharp.Entities.SAMP Namespace