The example code is tantalizingly suggestive of the possibilities but I can't make heads or tails of how to use it based on the underlined description.Note that any event handler can handle any name, so if you need to send a string you can simply check for Name starting with a value, for example:In the event handler, you check that the event's Name starts with "giveitem:", extract the following value and take action.Code: Select all
EventHandler.SendNetworkEvent("giveitem:BFG9000");
Is "giveitem" a special word here, or the name of a sample custom function? Is "BFG9000" converted into an int from the string, or is it treated as a class name, or something else? Or is it that you give a BFG and this returns the number of BFGs given???