well atleast i have never seen anynone using it like this
adding functions to a TStaticVar without using a class
so that was the basis of all the other stuff ;D
PHP Code:
//#CLIENTSIDE
function onCreated()
{
this.test = new TStaticVar();
this.test.bah = function()
{
player.chat = "foobar";
};
this.test.bah();
}