DetonatePlayerSatchels
From Multi Theft Auto: Wiki
Function has been disabled. | |
Reason/Note: This function was introduced in 41342 and merged with detonateSatchels in 3af6a. |
This function detonates the thrown satchels of a player, as if they had fired the detonator. Please use detonateSatchels instead.
Syntax
bool detonatePlayerSatchels( player thePlayer )
Required Arguments
- thePlayer: the player that should have their thrown satchels detonated.
Returns
Returns true if a valid player element was passed, false otherwise.
Example
This example will allow players to detonate their thrown satchels via the command /detonate
function cmdDetonateSatchels(plr) detonatePlayerSatchels(plr) end addCommandHandler("detonate", cmdDetonateSatchels)
Requirements
Minimum supported server | 1.1 |
---|---|
Minimum supported client | n/a |
Note: Using this function requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="1.1" />
See Also
- forcePlayerMap
- getAlivePlayers
- getDeadPlayers
- getPlayerACInfo
- getPlayerAnnounceValue
- getPlayerBlurLevel
- getPlayerCount
- getPlayerFromName
- getPlayerIdleTime
- getPlayerIP
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
FROM VERSION 1.5.7 r19626 ONWARDS
- getPlayerSerial
- getPlayerTeam
- getPlayerVersion
- getPlayerWantedLevel
- getRandomPlayer
- givePlayerMoney
- isPlayerMapForced
- isPlayerMuted
- isPlayerNametagShowing
- isVoiceEnabled
- redirectPlayer
- resendPlayerACInfo
- resendPlayerModInfo
- setPlayerAnnounceValue
- setPlayerBlurLevel
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerMuted
- setPlayerName
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
FROM VERSION 1.5.7 r19626 ONWARDS
- setPlayerTeam
- setPlayerVoiceBroadcastTo
- setPlayerVoiceIgnoreFrom
- setPlayerWantedLevel
- spawnPlayer
- takePlayerMoney
- takePlayerScreenShot