21.02.2018, 11:06
This is too big to simply fix, your system is invalid and is a mess for the next reasons:
1- You defined the variable without an array 'new IsPlayerLoggedIn;'
2- You used () instead of [] (when there isn't even an array!)
3- The variable is never used!
It's simple, removing that line won't even affect anything because even if you put an array and use it right it will always return 0 (as in false) so i suggest using an entire new system for login/register.
1- You defined the variable without an array 'new IsPlayerLoggedIn;'
2- You used () instead of [] (when there isn't even an array!)
3- The variable is never used!
It's simple, removing that line won't even affect anything because even if you put an array and use it right it will always return 0 (as in false) so i suggest using an entire new system for login/register.