View Single Post
  #4  
Old 10-08-2011, 09:35 PM
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
Quote:
Originally Posted by Emera View Post
I already use a public function for adding hats...
PHP Code:
public function AddHat(hatnamechattext) {
  
client.hats client.hats "," hatname;
  
say2(chattext);

But wouldn't the client flags be full of the hats you have?
Yes.

Also why aren't you just using it like a normal array:

client.hats.add(hatname);
__________________
Quote:
Reply With Quote