Ugrás a fő tartalomhoz

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).

NameDescription
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

tanács

You can also toggle stunt bonuses via config.json

"use_stunt_bonuses": false,