DetonatePlayerSatchels: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Server function}} This function detonates the thrown satchels of a player, as if they had fired the detonator. ==Syntax== <syntaxhighlight lang="lua"> bool detonatePlayerSatchels(...")
 
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Disabled|This function doesn't exists. Please use [[detonateSatchels]] for this very purpose.}}
{{Delete|It seems this page was created in confusion.}}
{{Server function}}
{{Server function}}
This function detonates the thrown satchels of a player, as if they had fired the detonator.
This function detonates the thrown satchels of a player, as if they had fired the detonator.

Revision as of 17:06, 12 January 2014


Dialog-warning.png Function has been disabled.

Reason/Note: This function doesn't exists. Please use detonateSatchels for this very purpose.


Edit-delete.png This page is marked for deletion.

Reason: It seems this page was created in confusion.
Actions: Delete (Administrators) - Discuss - What links here - Category

This function detonates the thrown satchels of a player, as if they had fired the detonator.

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

This template will be deleted.

See Also