GangWar Fix 10
This commit is contained in:
@@ -29,7 +29,8 @@
|
|||||||
GET_NEXT_BLIP_INFO_ID: "0x14F96AA50D6FBEA7",
|
GET_NEXT_BLIP_INFO_ID: "0x14F96AA50D6FBEA7",
|
||||||
DOES_BLIP_EXIST: "0xA6DB27D19ECBB7DA",
|
DOES_BLIP_EXIST: "0xA6DB27D19ECBB7DA",
|
||||||
SET_BLIP_COORDS: "0xAE2AF67E9D9AF65D",
|
SET_BLIP_COORDS: "0xAE2AF67E9D9AF65D",
|
||||||
SET_BLIP_FLASH_INTERVAL: "0xAA51DB313C010A7E"
|
SET_BLIP_FLASH_INTERVAL: "0xAA51DB313C010A7E",
|
||||||
|
REMOVE_BLIP: "0x86A652570E5F25DD"
|
||||||
};
|
};
|
||||||
|
|
||||||
var Gangturf = class {
|
var Gangturf = class {
|
||||||
@@ -458,6 +459,7 @@
|
|||||||
|
|
||||||
while (mp.game.invoke(Natives.DOES_BLIP_EXIST, last_blip)) {
|
while (mp.game.invoke(Natives.DOES_BLIP_EXIST, last_blip)) {
|
||||||
mp.game.invoke(Natives.SET_BLIP_SPRITE, last_blip, -1);
|
mp.game.invoke(Natives.SET_BLIP_SPRITE, last_blip, -1);
|
||||||
|
mp.game.invoke(Natives.REMOVE_BLIP, last_blip);
|
||||||
mp.game.ui.removeBlip(last_blip);
|
mp.game.ui.removeBlip(last_blip);
|
||||||
last_blip = mp.game.invoke(Natives.GET_NEXT_BLIP_INFO_ID, 5);
|
last_blip = mp.game.invoke(Natives.GET_NEXT_BLIP_INFO_ID, 5);
|
||||||
x++;
|
x++;
|
||||||
@@ -509,10 +511,9 @@
|
|||||||
if (turf.attackBlip != null) {
|
if (turf.attackBlip != null) {
|
||||||
mp.game.ui.removeBlip(turf.attackBlip);
|
mp.game.ui.removeBlip(turf.attackBlip);
|
||||||
}
|
}
|
||||||
|
Natives
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
gangturfs = null;
|
|
||||||
|
|
||||||
clearBlips();
|
clearBlips();
|
||||||
if (turfs.length > 0) {
|
if (turfs.length > 0) {
|
||||||
gangturfs = [];
|
gangturfs = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user