Reply to thread

Right so you don't know exactly when for everything. Doing it in this one loop that is already readibly available in the habbo class I found to be the most beneficial because all of my timers, loops, updating is done in one location. So when the loop triggers it says, is the user jailed. Then it checks how long remaining they have jailed, if it's equivalent to a 30 second interval it pops up and says you have 1 min 30 seconds left in jail, etc.


Each action is controlled separately by a Boolean check, and then a timestamp check, so all of the code is easy to adjust.


I wouldn't flame you for voicing your opinion, everyone has a different coding style but I will share my idea behind why I did it this way, and I still believe this is the best way I have found so far.


Top