Quote:
Originally Posted by Emera
I already use a public function for adding hats...
PHP Code:
public function AddHat(hatname, chattext) {
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);