GangwarFix zweiter Tag 3
This commit is contained in:
@@ -456,7 +456,7 @@
|
|||||||
function clearBlips() {
|
function clearBlips() {
|
||||||
|
|
||||||
mp.game.invoke(Natives.SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED_BY_ANY_SCRIPT, 1);
|
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 x = 0;
|
||||||
var y = 0;
|
var y = 0;
|
||||||
var z = 0;
|
var z = 0;
|
||||||
@@ -510,6 +510,7 @@
|
|||||||
if (turf._marker)
|
if (turf._marker)
|
||||||
if (turf.blip != null) {
|
if (turf.blip != null) {
|
||||||
mp.game.ui.removeBlip(turf.blip);
|
mp.game.ui.removeBlip(turf.blip);
|
||||||
|
mp.game.invoke(Natives.SET_BLIP_ALPHA, turf.blip, 0);
|
||||||
}
|
}
|
||||||
if (turf.leaderBlip != null) {
|
if (turf.leaderBlip != null) {
|
||||||
mp.game.ui.removeBlip(turf.leaderBlip);
|
mp.game.ui.removeBlip(turf.leaderBlip);
|
||||||
|
|||||||
Reference in New Issue
Block a user