Thread: array issues
View Single Post
  #4  
Old 11-03-2010, 12:54 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by MrOmega View Post
there is no specific thing they are not working at all, although what you gave works but one of things i'm doing isnt
PHP Code:
temp.list.insert32.5);
echo( 
temp.list[ 3]); 
still returns the original temp.list[ 3], temp.list is a list of player weapons
When copying the weapons array the temp.var will actually act as a reference to the same object, which I believe is read-only.
Reply With Quote