View Single Post
PinHeaDi
Senior Member
Join Date: Jul 2013
Location: Bulgaria
Old 04-13-2018 , 11:01   Re: [CS:GO] Remove X key from KeyValue after X time(2 weeks, 1 month)
Reply With Quote #15

I thing it should be that way, because if you buy for example credits for 2 tokens it will add 2 credits to UsedTokens[client], so that I can remove them for the total credits ((MostActive_GetPlayTimeTotalExceptSpec(clien t) / 3600) / 35) - UsedTokens[client];, or at least that what I used as a solution. The adding/removing itself is buggy, I guess i can add it to one command, but still that bug will persist. And on add it removes tokens from UsedTokens[client], and again i'm doing the calculation, so if it removes 2(example) tokens from UsedTokens[client] when I add, it will be total time - UsedTokens[client](which is with minus 2 now and he'll have more tokens).
__________________

Last edited by PinHeaDi; 04-13-2018 at 11:03.
PinHeaDi is offline