SA-MP Forums Archive
[Problem] Filterscript Problem - 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: [Problem] Filterscript Problem (/showthread.php?tid=341554)



[Problem] Filterscript Problem - Johnny_Ionut - 11.05.2012

Hi ... I've created a filterscript a job and ... I have in my gamemode Junkbuster cheat system.
When I give money (GivePlayerMoney) ... not because Anticheat set.
Please tell me how to make it work


Re: [Problem] Filterscript Problem - NewerthRoleplay - 11.05.2012

I'm guessing the anti cheat has a different function to give money?


AW: [Problem] Filterscript Problem - Johnny_Ionut - 11.05.2012

pawn Код:
GivePlayerMoney(playerid, money);
code to give player money on the job of the Filterscript

and in gamemode is AntiCheat JunkBuster

pawn Код:
#include <JunkBuster>


#define GetPlayerMoney JB_GetPlayerMoney
#define ResetPlayerMoney JB_ResetPlayerMoney
#define GivePlayerMoney JB_GivePlayerMoney
#define PutPlayerInVehicle JB_PutPlayerInVehicle
#define GivePlayerWeapon JB_GivePlayerWeapon
#define SetPlayerPos JB_SetPlayerPos
#define SetVehiclePos JB_SetVehiclePos



AW: [Problem] Filterscript Problem - Johnny_Ionut - 11.05.2012

please Help me !


Re: [Problem] Filterscript Problem - Verbal - 11.05.2012

Maybe you didn't include the Anticheat?
Try to use JB_GivePlayerMoney and show us if it gives errors.


Re: [Problem] Filterscript Problem - NewerthRoleplay - 11.05.2012

Paste that include and those defines into the filter script with the problems