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

@@ -57,8 +57,8 @@ function createGameVehicle(modelIndex, position, heading) {
// ===========================================================================
function addNetworkEventHandler(eventName, ...args) {
addNetworkHandler.apply(null, eventName, args);
function addNetworkEventHandler(eventName, handlerFunction) {
addNetworkHandler(eventName, handlerFunction);
}
// ===========================================================================