remove money from stunting
#1

how do you remove gaining money from stunting.
I followed this guide: https://sampforum.blast.hk/showthread.php?tid=186988 to make a anti money hacking system and stunting bans you.
Reply
#2

EnableStuntBonusForAll(playerid, 0); that should work
Reply
#3

Quote:
Originally Posted by Hornet600
Посмотреть сообщение
EnableStuntBonusForAll(playerid, 0); that should work
Where do I put that..

'Enable' would add it.. not remove it
Reply
#4

It actually disables it, since the second parameter is 0.

Put in OnGameModeInit:
pawn Код:
public OnGameModeInit()
{
    // ...
    EnableStuntBonusForAll(playerid, 0);
    // ...
    return 1;
}
Reply
#5

Quote:
Originally Posted by Miguel
Посмотреть сообщение
It actually disables it, since the second parameter is 0.

Put in OnGameModeInit:
pawn Код:
public OnGameModeInit()
{
    // ...
    EnableStuntBonusForAll(playerid, 0);
    // ...
    return 1;
}
Gives you a error as you have 'playerid'

Should be:

pawn Код:
public OnGameModeInit()
{
    EnableStuntBonusForAll(0);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)