View Single Post
  #1  
Old 06-07-2006, 04:25 AM
SilentOne1988 SilentOne1988 is offline
Banned
Join Date: Feb 2006
Posts: 67
SilentOne1988 is on a distinguished road
wierd multidimensional array bug with clientr strings.

NPC Code:

function onActionserverside(){
clientr.itm = {{5,2},{"test"}};
clientr.itm[0][1] = 9;
echo(clientr.itm[0][1] @"|||"@ clientr.itm);
}

//#CLIENTSIDE

function onCreated(){
triggeraction(0,0,"serverside","WtfTest");
}



I get these results:
9|||"5,2","test,"

The string is never modified, but if I access clientr.itm[0][1], it claims its whatever I changed it to.... Very annoying, I can't really finish my item system without this working...
Reply With Quote