Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Creating a client output event
« previous
next »
Print
Pages: [
1
]
Author
Topic: Creating a client output event (Read 420 times)
ultimamax
August 16, 2013, 03:03:26 PM
I looked at SpaceGuy's stickied topic but it confused me. I want to create an event that is under the client submenu with no parameters.
Ad Bot
Advertisement
Port
August 16, 2013, 03:05:19 PM
registerOutputEvent(gameConnection, delete);
{Pacnet2013}
August 16, 2013, 05:22:17 PM
Quote from: Port on August 16, 2013, 03:05:19 PM
registerOutputEvent(gameConnection, delete);
and to code a client event simply have something like this
function GameConnection::killPlayer(%client)
{
%client.player.kill();
}
which goes along with
registerOutputEvent(GameConnection, "killPlayer");
ultimamax
August 17, 2013, 03:14:47 AM
gr8. thanks guys
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Creating a client output event