Posts: 115
Threads: 37
Joined: Dec 2011
Reputation:
0
I've been using a filterscript on my server (AVS) and suddenly i figured out that you don't even lose money when you buy, I believe it's caused by the anticheat. How would I be able to use giveplayermoney, as in my gamemode, in this filterscript, without the money going back?
Posts: 541
Threads: 60
Joined: Jul 2009
Reputation:
0
You need to find the variable in the script that stores player's money. It's usually something like gPlayerMoney or something. If you can't find it, show me your /stats or something where it shows to player his money via Message
Posts: 115
Threads: 37
Joined: Dec 2011
Reputation:
0
Not sure whether that's the line that's needed or not.
Posts: 115
Threads: 37
Joined: Dec 2011
Reputation:
0
And there are no other ways of doing this?
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
Post it on AVS Thread Topic.
Actually AVS has anticheat system (Money anticheat).
Posts: 285
Threads: 39
Joined: Oct 2009
Reputation:
0
You will have to find the enum variable which contains the money in the filterscript. Change the gamemode's GivePlayerMoney into that variable as well, or simply put GivePlayerMoney in the filterscript as well and remove the variable.