Let's say I want to Send message to chatbox or something on server, i'd go to a certain class file and add
Code:
p.frames.sendMessage(p, "message");
but how the hell am I supposed to do it on client?
I mean, let's say on KeyListener, I want a sendMessage function to be activated when someone clicks "CTRL". I know how to make a certain action on keyboard key click, but how do you do you make it activate a server-sided function like the sendmessage, interfaceId, requestGFX etc.?
Thanks in advance, Ed