Use new job route event name
This commit is contained in:
@@ -40,7 +40,7 @@ function addAllNetworkHandlers() {
|
||||
addNetworkHandler("ag.heading", setLocalPlayerHeading);
|
||||
addNetworkHandler("ag.interior", setLocalPlayerInterior);
|
||||
|
||||
addNetworkHandler("ag.showRouteStop", showJobRouteStop);
|
||||
addNetworkHandler("ag.showJobRouteStop", showJobRouteStop);
|
||||
addNetworkHandler("ag.snow", setSnowState);
|
||||
addNetworkHandler("ag.health", setLocalPlayerHealth);
|
||||
addNetworkHandler("ag.skinSelect", toggleSkinSelect);
|
||||
@@ -193,7 +193,7 @@ function tellServerPlayerUsedKeyBind(key) {
|
||||
// ===========================================================================
|
||||
|
||||
function tellServerPlayerArrivedAtJobRouteStop() {
|
||||
triggerNetworkEvent("ag.arrivedAtBusStop");
|
||||
triggerNetworkEvent("ag.arrivedAtJobRouteStop");
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
@@ -204,6 +204,12 @@ function tellServerItemActionDelayComplete() {
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function sendServerClientInfo() {
|
||||
triggerNetworkEvent("ag.clientInfo", `${CLIENT_VERSION_MAJOR}.${CLIENT_VERSION_MINOR}.${CLIENT_VERSION_PATCH}.${CLIENT_VERSION_BUILD}`, gta.width, gta.height);
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function sendServerNewAFKStatus(state) {
|
||||
triggerNetworkEvent("ag.afk", state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user