Need help
#1

Hello... There's a problem with my reg system.. I guess..
Each time a player joins and if he doesn't register , a file is created in my database. How will I make it remove automatically if that player doesn't register?
Player file is not registered look like this :-
Player file if registered :-
Reply
#2

You're saving the player's data whenever they quit, even if they didn't register.
Make a variable to check if the player registered, and use it in OnPlayerDisconnect.
Reply
#3

Exactly,you are saving their stats when they disconnect,so even if they are not registered they will get their stats saved.
Reply
#4

Works like a charm! I use IsPlayerRegistered
It's working now. Thank you so much guys ^_^
+raped :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)