Blockland Forums > General Discussion
I have some question. What Programming Language you used here in BlockLand?
<< < (2/8) > >>
Bushido:
i think i'm using it wrong, so i'm not sure, but it's SUPPOSED to pull the trigger in the second mount point
Chrono:
I can't give that specific example because I don't have the game installed to test that out.

Instead I'll give you a hello world example.


--- Code: ---function serverCmdHelloWorld(%client)
{
messageClient(%client,'',"Hello World!");
}
--- End code ---
serverCmd is a command that a client can call, either with commandToServer, or by typing /helloWorld
The first arg (as I labeled %client) in a serverCmd will always be the client who called it no matter what you label it.

This would print a red Hellow World! in the client's chat when they type /helloworld


--- Quote from: Bushido on December 22, 2010, 06:31:04 PM ---i think i'm using it wrong, so i'm not sure, but it's SUPPOSED to pull the trigger in the second mount point

--- End quote ---
They would both be 1s.
micolord:
@Chrono

Oh I've seen some example too, echo("ZOMG HAX!")
Chrono:
There are some guides around in the "Coding Help" forum if you feel like reading.

If you want to learn from other mods, just download one, pop open the zip, and open the .cs file in notepad.
micolord:
Is BlockLand available in stores?
Navigation
Message Index
Next page
Previous page

Go to full version