A question about variables ?
#1

Hi everyone I have a question about variables to say and here it is :

I feel my gamemode variables going crazy like it gets values automatically idk know how but I'm asking you guys if you know a script, plugin or a method to set that list all variables on a certain time I choose faster, I know a method and it's to make gamemode prints everything by scripting it but i have like +200 variable used on my gamemode !

Thanks for reading your answers are welcomed !
Reply
#2

Under OnPlayerConnect set their variables to 0, then once the player is processed it'll set the variables to the amount they should be at upon login. This will prevent them from being anything other than the amount you're wanting them to be.
Reply
#3

Thanks for the reply but the problem isn't players variables thet are reseted when a player loged out the variables that goes crazy are like Capturable zones variables, race, DM event and others not related to players !
So no easy way to print all variables ? to debug
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)