SA-MP Forums Archive
GiveMoneyPlayer - 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)
+--- Thread: GiveMoneyPlayer (/showthread.php?tid=495283)



GiveMoneyPlayer - Madalyinn - 16.02.2014

I added Event TRIVIA and added GivePlayerMoney(playerid, 5000);
The problem is that I give money and take me back. How can I fix?
I understand that is the Junkbuster


Re: GiveMoneyPlayer - Lordzy - 16.02.2014

Quote:
Originally Posted by Madalyinn
Посмотреть сообщение
I added Event TRIVIA and added GivePlayerMoney(playerid, 5000);
The problem is that I give money and take me back. How can I fix?
I understand that is the Junkbuster
"JunkBuster" might have it's own include which has to be included on every script you use to ensure that the functions and callbacks are being hooked. So, include it in case if you're using the event as a filterscript.


Re: GiveMoneyPlayer - Madalyinn - 16.02.2014

You just need to include TriviaEvent in JunkBuster ?


Re: GiveMoneyPlayer - Lordzy - 16.02.2014

Quote:
Originally Posted by Madalyinn
Посмотреть сообщение
You just need to include TriviaEvent in JunkBuster ?
JunkBuster would probably have an include which has to be included on scripts for hooking. So, include JunkBuster (include file) on your Trivia event.