Author Topic: Simple Client Events  (Read 387 times)

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


Code: [Select]
registerOutputEvent(fxDTSBrick, "sayHiToMe", "");

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