OnPlayerStealthKill: Difference between revisions
Jump to navigation
Jump to search
Cazomino05 (talk | contribs) (Created page with '__NOTOC__ {{Server event}} This event is triggered when a player stealth kills another player. ==Parameters== <syntaxhighlight lang="lua"> element targetPlayer </syntaxhighlight> *'''targetPlayer''': T…') |
Cazomino05 (talk | contribs) mNo edit summary |
||
Line 8: | Line 8: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
*'''targetPlayer''': The player that is being stealth killed. | *'''targetPlayer''': The [[player]] or [[ped] that is being stealth killed. | ||
<!-- Add the event's source in the section below --> | <!-- Add the event's source in the section below --> |
Revision as of 22:36, 25 April 2010
This event is triggered when a player stealth kills another player.
Parameters
element targetPlayer
- targetPlayer: The player or [[ped] that is being stealth killed.
Source
The source of this event is the player that initiated the stealth kill.
Cancel effect
If this event is canceled, then the stealth kill is aborted.
Example
Click to collapse [-]
Server--TODO
See Also
Player events
- onPlayerACInfo
- onPlayerBan
- onPlayerChangeNick
- onPlayerChat
- onPlayerClick
- onPlayerCommand
- onPlayerConnect
- onPlayerContact
- onPlayerDamage
- onPlayerJoin
- onPlayerLogin
- onPlayerLogout
- onPlayerMarkerHit
- onPlayerMarkerLeave
- onPlayerModInfo
- onPlayerMute
- onPlayerNetworkStatus
- onPlayerPickupHit
- onPlayerPickupLeave
- onPlayerPickupUse
- onPlayerPrivateMessage
- onPlayerQuit
- onPlayerScreenShot
- onPlayerSpawn
- onPlayerStealthKill
- onPlayerTarget
- onPlayerUnmute
- onPlayerVehicleEnter
- onPlayerVehicleExit
- onPlayerVoiceStart
- onPlayerVoiceStop
- onPlayerWasted
- onPlayerWeaponFire
- onPlayerWeaponSwitch
Event functions
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled