![]() |
saving multidimensional arrays to the player
PHP Code:
PHP Code:
PHP Code:
|
I'm bumping this because, honestly, it was my script that spawned this report. Multidimensional arrays are supposed to be one of the big improvements in GS2, and I'd like to see them actually work.
|
It is not recommended to directly manipulate player. or clientr. arrays though because they would be sent each time you modify an array member. Best way is to build a temporary array and then assign it to he player. or clientr. var.
I guess the problem in the above script is that assigning the empty array to the variable might not work correctly, will try to check that when i have time. |
| All times are GMT +2. The time now is 04:24 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.