GangwarFix zweiter Tag 3

This commit is contained in:
VegaZ
2021-03-30 20:12:34 +02:00
parent f9380b1137
commit 9d4bb6ff7b

View File

@@ -456,7 +456,7 @@
function clearBlips() {
mp.game.invoke(Natives.SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED_BY_ANY_SCRIPT, 1);
//mp.game.gameplay.setThisScriptCanRemoveBlipsCreatedByAnyScript(true);
mp.game.gameplay.setThisScriptCanRemoveBlipsCreatedByAnyScript(true);
var x = 0;
var y = 0;
var z = 0;
@@ -510,6 +510,7 @@
if (turf._marker)
if (turf.blip != null) {
mp.game.ui.removeBlip(turf.blip);
mp.game.invoke(Natives.SET_BLIP_ALPHA, turf.blip, 0);
}
if (turf.leaderBlip != null) {
mp.game.ui.removeBlip(turf.leaderBlip);