a_bertrand Posted April 3, 2013 Share Posted April 3, 2013 Clans now have clans stats for example to store some money, or honor or number of kills or whatever YOU decide. To demonstrate the usage, I created a simple clans_bank (if I remember right Kyle created one too, right? Sorry if it's a double). Basically you create a stat inside the install.sql: replace into clans_stats_types(name) values('Bank'); After that you can call: <?php SetClanStat($memberOf, "Bank",100); $value=GetClanStat($memberOf, "Bank"); Quote Link to comment Share on other sites More sharing options...
gmoore Posted April 3, 2013 Share Posted April 3, 2013 AWESOME! I think the other was more of a bank right Kyle? And your could be clan_stats. Now we need a vault ... then the BIG bucks start coming in. Okay its snowing, my brain is melting :) Greg Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted April 3, 2013 Share Posted April 3, 2013 Clans now have clans stats for example to store some money, or honor or number of kills or whatever YOU decide. To demonstrate the usage, I created a simple clans_bank (if I remember right Kyle created one too, right? Sorry if it's a double). Basically you create a stat inside the install.sql: replace into clans_stats_types(name) values('Bank'); After that you can call: <?php SetClanStat($memberOf, "Bank",100); $value=GetClanStat($memberOf, "Bank"); Thats alright. I need to update my clan bank anyways so when I do I will edit it to fit in with the new updates so just incase anyone still wants to use mine. Because my version allows the depositing of currency to the vault but only clan masters can make a withdraw Quote Link to comment Share on other sites More sharing options...
gmoore Posted April 4, 2013 Share Posted April 4, 2013 Kyle if you make it clan_bank ... someone else could make a clan_vault for items. Greg Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted April 4, 2013 Share Posted April 4, 2013 Well it is just In the clans menu I put vault for whatever reason so that can always be changed. Here in the next day or two when I do my upgrade ill change the link if I remember Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.