Quote:
Originally Posted by Gunderak
Hmm I'm out of ideas then... Also hey, I remember you from when I was on Era PC ha
PHP Code:
temp.fold = new[15000];
Was my attempt when I thought maybe the default array size was 10k.
|
Default (Not sure if you can even change the max limitations) size is 9999.
PHP Code:
function onCreated() {
temp.fold = new[15000];
temp.fold[9999] = {"test"};
echo(temp.fold[9999]);
}
The script of NPC Cache has been updated by Carlito
test,
Echoes Test while
PHP Code:
function onCreated() {
temp.fold = new[15000];
temp.fold[10000] = {"test"};
echo(temp.fold[10000]);
}
The script of NPC Cache has been updated by Carlito
echoes nothing.
I also noticed the method in which you are using to get the players account. What if they don't have a player house? How I would personally do it without loading the accounts folder directly is every player that logs into the game register them in SQL.