Use new biz type stuff for paintball on enter/exit
This commit is contained in:
@@ -309,7 +309,7 @@ function enterExitPropertyCommand(command, params, client) {
|
|||||||
}, 1100);
|
}, 1100);
|
||||||
|
|
||||||
if (isBusiness) {
|
if (isBusiness) {
|
||||||
if (closestProperty.entranceType == AGRP_PROPERTY_ENTRANCE_TYPE_PAINTBALL) {
|
if (closestProperty.type == AGRP_BIZ_TYPE_PAINTBALL) {
|
||||||
messagePlayerAlert(client, getLocaleString(client, "JoinedPaintBall"));
|
messagePlayerAlert(client, getLocaleString(client, "JoinedPaintBall"));
|
||||||
startPaintBall(client);
|
startPaintBall(client);
|
||||||
}
|
}
|
||||||
@@ -354,7 +354,7 @@ function enterExitPropertyCommand(command, params, client) {
|
|||||||
}, 1100);
|
}, 1100);
|
||||||
|
|
||||||
if (isBusiness) {
|
if (isBusiness) {
|
||||||
if (closestProperty.entranceType == AGRP_PROPERTY_ENTRANCE_TYPE_PAINTBALL) {
|
if (closestProperty.type == AGRP_BIZ_TYPE_PAINTBALL) {
|
||||||
messagePlayerAlert(client, getLocaleString(client, "LeftPaintBall"));
|
messagePlayerAlert(client, getLocaleString(client, "LeftPaintBall"));
|
||||||
stopPaintBall(client);
|
stopPaintBall(client);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user