Thread: client. format
View Single Post
  #1  
Old 09-22-2009, 02:33 AM
Deathborn123 Deathborn123 is offline
Owner of Dev Deathborn123
Deathborn123's Avatar
Join Date: Aug 2008
Location: Germany
Posts: 21
Deathborn123 is on a distinguished road
client. format

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
__________________
You cannot Prevent and Prepare for War at the same Time.

Last edited by Deathborn123; 09-22-2009 at 02:49 AM..
Reply With Quote