SA-MP Forums Archive
How do i disable the stunting bonuses ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How do i disable the stunting bonuses ? (/showthread.php?tid=90813)



How do i disable the stunting bonuses ? - Dj_maryo1993 - 10.08.2009

Question : How do i disable the stunting bonuses ?


Re: How do i disable the stunting bonuses ? - JaTochNietDan - 10.08.2009

You can use

pawn Код:
EnableStuntBonusForPlayer(playerid,false);
or

pawn Код:
EnableStuntBonusForAll(false);



Re: How do i disable the stunting bonuses ? - Burridge - 10.08.2009

Under "OnGameModeinit" add this line:

pawn Код:
EnableStuntBonusForAll(0);
0 meaning that it's disabled, and if you change it to 1 it means it's enabled.

EDIT: Lol, me and Ja posted at the same time ^^ Either way works lol.


Re: How do i disable the stunting bonuses ? - Dj_maryo1993 - 10.08.2009

Thnx alot and sorry for not searching before posting , won't happen again