How to disable stunting bonuses?
#1

Hello.

How to disable that if i stunt i will get money?
Reply
#2

Under OnGameModeInit:

pawn Код:
EnableStuntBonusForAll(0);
Reply
#3

Hi Sesitive,

You can disable stunt bonus for all players by adding the following to your OnGameModeInit function:
pawn Код:
EnableStuntBonusForAll(false);
Or you can disable for an individual by adding the following to your OnPlayerConnect function:
pawn Код:
EnableStuntBonusForPlayer(playerid,false);
More info on these functions can be found here:
https://sampwiki.blast.hk/wiki/EnableStuntBonusForPlayer
https://sampwiki.blast.hk/wiki/EnableStuntBonusForAll

Cheers,

TJ
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)