Use new native util for netevents

This commit is contained in:
Vortrex
2022-01-09 05:32:22 -06:00
parent 029fdb7a49
commit 4c4a38344e
11 changed files with 402 additions and 137 deletions

View File

@@ -109,7 +109,7 @@ function showNextGarbageStop(client) {
// ===========================================================================
function showCurrentGarbageStop(client) {
triggerNetworkEvent("vrr.showGarbageStop", client, getGarbageRouteStopPosition(getPlayerIsland(client), getPlayerData(client).jobRoute, getPlayerData(client).jobRouteStop), getColourByName("garbageDriverGreen"));
sendNetworkEventToPlayer("vrr.showGarbageStop", client, getGarbageRouteStopPosition(getPlayerIsland(client), getPlayerData(client).jobRoute, getPlayerData(client).jobRouteStop), getColourByName("garbageDriverGreen"));
}
// ===========================================================================