Blockland Forums > Modification Help
Client sided coding
xcruso:
Hey, i will try to make a client sided code, but i'm most known in normal server side coding. i need help to know how i can start making a client sided code just for practise, tell me if someone has a good idea.
Fluff-is-back:
Client sided code and server sided code are identical. Just server sided code is only executed while hosting a server, yet client sided code is executed for the duration of the game.
Headcrab Zombie:
--- Quote from: Fluff-is-back on July 20, 2011, 03:34:09 PM ---Just server sided code is only executed while hosting a server, yet client sided code is executed for the duration of the game, and not executed at all if you host a dedicated server.
--- End quote ---
This one difference results in client side and server side code being far from identical.
Nexus:
I do a lot of client side coding.
Here are my released mods you might like to look through:
Server Command GUI
BuildBot
It is extremely helpful to know how to make GUIs for client side coding.
BlockStar:
For a client function do this:
function clientCmdWHATEVERstuffHERE(%client)
{