SampSharp
SampSharp
SampSharp.Entities.SAMP
Player Class
Player Methods
ApplyAnimation Method
AttachCameraToObject Method
Ban Method
CancelEdit Method
CancelSelectTextDraw Method
ClearAnimations Method
CreateExplosion Method
DisableCheckpoint Method
DisableRaceCheckpoint Method
DisableRemoteVehicleCollisions Method
DoEditAttachedObject Method
Edit Method
EnablePlayerCameraTarget Method
EnableStuntBonus Method
ForceClassSelection Method
GameText Method
GetAnimationName Method
GetDistanceFromPoint Method
GetKeys Method
GetLastShot Method
GetTime Method
GetWeaponData Method
GiveMoney Method
GiveWeapon Method
InterpolateCameraLookAt Method
InterpolateCameraPosition Method
IsAttachedObjectSlotUsed Method
IsInRangeOfPoint Method
IsInVehicle Method
IsPlayerStreamedIn Method
Kick Method
PlayAudioStream Method
PlayCrimeReport Method
PlaySound Method
PutCameraBehindPlayer Method
PutInVehicle Method
RemoveAttachedObject Method
RemoveBuilding Method
RemoveFromVehicle Method
RemoveMapIcon Method
ResetMoney Method
ResetWeapons Method
Select Method
SelectTextDraw Method
SendClientMessage Method
SendDeathMessage Method
SendPlayerMessageToPlayer Method
SetAmmo Method
SetArmedWeapon Method
SetAttachedObject Method
SetCameraLookAt Method
SetChatBubble Method
SetCheckpoint Method
SetMapIcon Method
SetPlayerMarker Method
SetPositionFindZ Method
SetRaceCheckpoint Method
SetShopName Method
SetSkillLevel Method
SetSpawnInfo Method
SetTime Method
SetWeather Method
SetWorldBounds Method
ShowNameTagForPlayer Method
Spawn Method
SpectatePlayer Method
SpectateVehicle Method
StartRecordingPlayerData Method
StopAudioStream Method
StopRecordingPlayerData Method
ToggleClock Method
ToggleControllable Method
ToggleSpectating Method
Player
GetLastShot Method
Retrieves the start and end (hit) position of the last bullet a player fired.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
void
GetLastShot
(
out
Vector3
origin
,
out
Vector3
hitPosition
)
Parameters
origin
Type:
SampSharp.Entities.SAMP
Vector3
The origin.
hitPosition
Type:
SampSharp.Entities.SAMP
Vector3
The hit position.
See Also
Reference
Player Class
SampSharp.Entities.SAMP Namespace