EnableStuntBonusForPlayer

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:05, 1 February 2014
Smithy (Talk | contribs)
(NL)
← Previous diff
Revision as of 19:35, 1 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 21: Line 21:
[[Category:Scripting Functions]] [[Category:Scripting Functions]]
 +[[fr:EnableStuntBonusForPlayer]]
[[nl:EnableStuntBonusForPlayer]] [[nl:EnableStuntBonusForPlayer]]
[[ru:EnableStuntBonusForPlayer]] [[ru:EnableStuntBonusForPlayer]]

Revision as of 19:35, 1 February 2014



Description:

Toggle stunt bonuses for a player.


Parameters:
(playerid, enable)
playeridThe ID of the player to toggle stunt bonuses for.
enable1 to enable stunt bonuses and 0 to disable them.


Return Values:

This function does not return any specific values.


public OnPlayerConnect(playerid)
{ 
   EnableStuntBonusForPlayer(playerid, 0); // Disable stunt bonuses when the player connects to the server.
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

In other languages