warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
EnableStuntBonusForAll
Description
Enables or disables stunt bonuses for all players. If enabled, players will receive monetary rewards when performing a stunt in a vehicle (e.g. a wheelie).
Name | Description |
---|---|
bool:enable | 'true' to enable stunt bonuses or 'false' to disable them. |
Returns
This function does not return any specific values.
Examples
public OnGameModeInit()
{
EnableStuntBonusForAll(false);
return 1;
}
Notes
tip
You can also toggle stunt bonuses via config.json
"use_stunt_bonuses": false,
Related Functions
- EnableStuntBonusForPlayer: Toggle stunt bonuses for a player.