Blockland Forums > Modification Help
Simple Client Events
(1/1)
LundoomGaming:
What would be the RegisterOutputEvent code for an event with no fields that just sends the client that pushed it to a function
such as


registerOutputEvent("fxDTSBrick", "something", "list" @ %idk TAB "string 45 100" TAB "int 1 50 1");

then fires

function fxDTSBrick::something(%brick, %s1, %s2, %s3, %client)

except with no other variables besides %client and %brick
Port:
Please read this thread.
TheRealMint:

--- Code: ---registerOutputEvent(fxDTSBrick, "sayHiToMe", "");

function fxDTSBrick::sayHiToMe(%brick, %client) {
    messageClient(%client, '', "\c6Hi.");
}

--- End code ---
Navigation
Message Index

Go to full version