Blockland Forums > Modification Help

Client Sided Slash Command

Pages: (1/6) > >>

jes00:

Is it possible to make a client sided slash command? if so what is the function?

mp7964:


--- Code: ---function clientcommandDerp(%this,%arg,%arg2)
--- End code ---

Depending on the command you want to use, the server will need to have a server version of the same command.

phflack:

i think he wants it so that when you use /quack, it calls function quack on the client, without the server
edit: like brick text

mp7964:

Hmm. Couldn't you just put the quack function into client.cs along with the function clientcmdQuack thing?

jes00:


--- Quote from: phflack on September 12, 2011, 07:42:08 PM ---i think he wants it so that when you use /quack, it calls function quack on the client, without the server

--- End quote ---
Exactly

Pages: (1/6) > >>

Go to full version