View Single Post
  #18  
Old 06-25-2011, 09:29 PM
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 Jiroxys7 View Post
PHP Code:
//#CLIENTSIDE
function onCreated(){
  echo(
player.weapons);

*F2*
*Nothing there*

player.weapons is an array of objects rather than strings.

If you were to do:

PHP Code:
for(temp.player.weapons){
  echo(
temp.w.name);

You would see the names of each weapon object.

I wouldn't recommend using that method though, it would take up more script time unnecessarily.
Reply With Quote