Blockland Forums > Modification Help

My General Questions

Pages: << < (3/3)

Ipquarx:


--- Quote from: otto-san on December 07, 2011, 08:02:22 PM ---Any class or object can use this stuff, not just scriptobjects.
--- End quote ---
And thats why you can make %client. functions like this:

--- Code: ---function GameConnection::messageCl(%this, %msg)
{
    messageClient(%this, '',%msg);
}
--- End code ---
To use that, just do this:

--- Code: ---findClientByName(name).messageCl("message");
--- End code ---
And that will message that client.

Pages: << < (3/3)

Go to full version