Use emit
function when you want to trigger an event from the server to the server.
You need to declare the event on the server with on or onNet first.
function emit(eventName: string, ...args?: any ) => void
// No arg
emit("foo:playerIsHere");
// With args
emit("foo:thisPlayerIsHere", playerId, playerLicense);