25.02.2014, 18:42
If you're trying to make it work for both then remove the checks. If you're trying to make it work for logged players make sure you set a loggedin variable when they log in and check for that one. If you're trying to make it work for non logged in players then do the same thing as before but check if the player is not logged in instead.