View Single Post
  #4  
Old 03-07-2011, 02:53 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
It'd be cool if we could do something like..

PHP Code:
function onCreated() {
  
TServerPlayer.test = function () {
    echo(
this.account);
  };
  for (
aallplayersa.test(); // Result: RC Spammed with Accounts

I guess the above doesn't really apply here but being able to extend functionality of a built-in Graal class/object without joining a class would be cool.
__________________
Quote:
Reply With Quote