![]() |
Clearing Vars
I don't understand why these vars are not storing? They're being deleted once I reconnect
PHP Code:
[Don't comment on the this.clientr/clientr, that isn't the problem] |
clientr. variables can't save objects when the player logs off (They're saved as strings in the accounts/*/* folder)
|
hmm- how would I resolve this? any ideas?
|
Quote:
|
Ahh- that seems pretty pointless... I think I'll just stick to an array kind of format, thanks though!! =D
|
Quote:
|
Works a charm =D
Thanks ^^ One question... I was thinking of storing the information as client. vars, but thats quite insecure, however on login it will be converted to clientr, is that a bad idea or? (as the player won't have time to edit anything on login or whilst they're logging out, right?) |
Quote:
|
awesome- thank you :D
Edit: Something like this you mean, right? HTML Code:
function onLoadCharacters() { |
| All times are GMT +2. The time now is 04:58 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.