Hey There!
I just tried to call a public function with a client.var but probably wont work.
I guess its because the client.var got the wrong format.
What doesn't work ( calling the public function via the client.var)
PHP Code:
//#CLIENTSIDE
function onCreated()
{
client.test = "test" //test would be the name of the Weapon where the public function is in.
client.test.test2(); //test2 would be the public function.
}
What would work ( calling the public function via the normal WeaponName)
PHP Code:
//#CLIENTSIDE
function onCreated()
{
"test".test2(); //test2 would be the public function.
}
Support please
