![]() |
Array limit
I was scripting an inventory, when I found out that arrays are limited to 29 entries. This is a problem, because I'm saving all of a player's weapons and items into a clientr array. It uses an 'archetype,category,quantity' format, so each different weapon requires 3 entries.
Is it possible to remove or break the limit on an array's size? It's holding the system back a bit, since it doesn't allow people to carry more than 9 types of weapons. EDIT: My bad, it's only RC. If I change the array to include more than 29 entries, it doesn't save the 30th and above. Could this be changed? |
Player variables can be 60k, but the RC only shows 220 characters. It is planned for RC2 to add some 'edit player flags' and 'edit player weapons' entries in the rick-click menu
|
| All times are GMT +2. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.