SA-MP Forums Archive
Need help pls - 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: Need help pls (/showthread.php?tid=215936)



Need help pls - mikebg - 24.01.2011

can sombody tell me how can i DISABLE when stunt give money
and when i kill sombody


Re: Need help pls - blackwave - 24.01.2011

About the give money on death, you need to modificy your OnPlayerDeath callback. About stunt money, isn't possible, since it's a part from the game.


Re: Need help pls - Jay. - 24.01.2011

Quote:
Originally Posted by blackwave
Посмотреть сообщение
About the give money on death, you need to modificy your OnPlayerDeath callback. About stunt money, isn't possible, since it's a part from the game.
Maybe he meant to disable the stunt bonus

pawn Код:
EnableStuntBonusForPlayer(playerid, 0);//1 to enable 0 to disable ?

//Or

EnableStuntBonusForAll(0)//again 1 to enable 0 to disable



Re: Need help pls - [WF]Demon - 24.01.2011

or

pawn Код:
public OnGameModeInit()
{
    EnableStuntBonusForAll(0);
    return 1;
}
also about the death money as said you would have to give it back to them.


- mikebg - 24.01.2011

Ty rly ty i fix it

Now i have other probel when i try to pwn the mod D:\DCC+\server\WFM\pawno\include\a_samp.inc(17) : fatal error 100: cannot read from file: "core"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
i use [GM]WorldsFreeMode v2.0 Mod and i want to disable Anti Money cheat Becuse it get 100001 money and it kick or ban you


Re: Need help pls - Mean - 24.01.2011

Download the "core" include, DUH!


Re: Need help pls - blackwave - 24.01.2011

Quote:
Originally Posted by [BADBOY]
Посмотреть сообщение
Maybe he meant to disable the stunt bonus

pawn Код:
EnableStuntBonusForPlayer(playerid, 0);//1 to enable 0 to disable ?

//Or

EnableStuntBonusForAll(0)//again 1 to enable 0 to disable
lol, didnt know about that. But I saw before, and just forgot lol