Add netevent handler native wrap

This commit is contained in:
Vortrex
2022-01-09 05:37:15 -06:00
parent e5e9347737
commit 990fc9b450
5 changed files with 124 additions and 118 deletions

View File

@@ -892,4 +892,10 @@ function sendNetworkEventToPlayer(networkEvent, client, ...args) {
triggerNetworkEvent.apply(null, networkEvent, client, args);
}
// ===========================================================================
function addNetworkEventHandler(eventName, handlerFunction) {
addNetworkHandler(eventName, handlerFunction);
}
// ===========================================================================