Thread: Funding Quest
View Single Post
  #2  
Old 06-29-2015, 10:43 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Donations in total? Or actually keeping track of of individual contributions? There is already a system in place for this. There is a table called qs_player_handin_record and all you have to do is turn on this rule. I am pretty sure the server rule to turn on is QueryServ:PlayerLogHandins

So if you just want people handing this NPC money, that will do it. The NPC will not have any idea how much money has been handed to it. With that rule turned on, you will actually know every transaction on the server as far as money handed to NPC's. If you want something a little more custom you will have to write some Perl/Lua code and do you own table inserts.
Reply With Quote