SampSharp
SampSharp
SampSharp.GameMode
BaseMode Class
BaseMode Methods
AddPlayerClass Method
AllowInteriorWeapons Method
AutoloadControllersForAssembly Method
DisableInteriorEnterExits Method
DisableNameTagLOS Method
Dispose Method
EnableStuntBonusForAll Method
EnableTirePopping Method
EnableVehicleFriendlyFire Method
Exit Method
LimitGlobalChatRadius Method
LimitPlayerMarkerRadius Method
LoadControllers Method
ManualVehicleEngineAndLights Method
OnActorStreamIn Method
OnActorStreamOut Method
OnDialogResponse Method
OnExited Method
OnIncomingConnection Method
OnInitialized Method
OnObjectMoved Method
OnPlayerCancelClickTextDraw Method
OnPlayerCleanup Method
OnPlayerClickMap Method
OnPlayerClickPlayer Method
OnPlayerClickPlayerTextDraw Method
OnPlayerClickTextDraw Method
OnPlayerCommandText Method
OnPlayerConnected Method
OnPlayerDied Method
OnPlayerDisconnected Method
OnPlayerEditAttachedObject Method
OnPlayerEditGlobalObject Method
OnPlayerEditPlayerObject Method
OnPlayerEnterCheckpoint Method
OnPlayerEnterExitModShop Method
OnPlayerEnterRaceCheckpoint Method
OnPlayerEnterVehicle Method
OnPlayerExitedMenu Method
OnPlayerExitVehicle Method
OnPlayerGiveDamage Method
OnPlayerGiveDamageActor Method
OnPlayerInteriorChanged Method
OnPlayerKeyStateChanged Method
OnPlayerLeaveCheckpoint Method
OnPlayerLeaveRaceCheckpoint Method
OnPlayerObjectMoved Method
OnPlayerPickUpPickup Method
OnPlayerRequestClass Method
OnPlayerRequestSpawn Method
OnPlayerSelectedMenuRow Method
OnPlayerSelectGlobalObject Method
OnPlayerSelectPlayerObject Method
OnPlayerSpawned Method
OnPlayerStateChanged Method
OnPlayerStreamIn Method
OnPlayerStreamOut Method
OnPlayerTakeDamage Method
OnPlayerText Method
OnPlayerUpdate Method
OnPlayerWeaponShot Method
OnRconCommand Method
OnRconLoginAttempt Method
OnTick Method
OnTrailerUpdate Method
OnUnoccupiedVehicleUpdated Method
OnVehicleDamageStatusUpdated Method
OnVehicleDied Method
OnVehicleMod Method
OnVehiclePaintjobApplied Method
OnVehicleResprayed Method
OnVehicleSirenStateChange Method
OnVehicleSpawned Method
OnVehicleStreamIn Method
OnVehicleStreamOut Method
RegisterExtension(T) Method
SendRconCommand Method
SetGameModeText Method
SetNameTagDrawDistance Method
SetTeamCount Method
ShowNameTags Method
ShowPlayerMarkers Method
UsePlayerPedAnimations Method
BaseMode
OnPlayerDied Method
Raises the
PlayerDied
event.
Namespace:
SampSharp.GameMode
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
protected
virtual
void
OnPlayerDied
(
BasePlayer
player
,
DeathEventArgs
e
)
Parameters
player
Type:
SampSharp.GameMode.World
BasePlayer
The player triggering the event.
e
Type:
SampSharp.GameMode.Events
DeathEventArgs
An
DeathEventArgs
that contains the event data.
See Also
Reference
BaseMode Class
SampSharp.GameMode Namespace