Jump to content
♖Mєszαяos♖

[Tutorial] Hidding markers from police

Recommended Posts

 

Hello, 

Here is a tutorial on how to Hide markers from police

Location of changes: Mission.Map (Eg. AltisLife.Altis or TanoaLife.Tanoa)

Difficulty: Easy

Publisher: Unknown

these guy's 2 years ago https://altisdev.com/topic/88/cacher-les-zones-illégales-pour-le-cop-side/2

From Here apparently closed or unexisting http://www.altisliferpg.com/topic/5142-tutorial-hiding-illegal-zones-for-cop-side/

 

 

Here we go

Open your core/fnsurvival.sqf

Go to the private line and add ,"_illegalmarkers"]; like so:

private ["_fnc_food","_fnc_water","_foodTime","_waterTime","_bp","_walkDis","_lastPos","_curPos","_illegalmarkers"];

THEN Right bellow This:

_fnc_water = {
    if (life_thirst < 2) then {player setDamage 1; hint localize "STR_NOTF_DrinkMSG_Death";}
    else
    {
        life_thirst = life_thirst - 10;
        [] call life_fnc_hudUpdate;
        if (life_thirst < 2) then {player setDamage 1; hint localize "STR_NOTF_DrinkMSG_Death";};
        switch (life_thirst) do  {
            case 30: {hint localize "STR_NOTF_DrinkMSG_1";};
            case 20: {
                hint localize "STR_NOTF_DrinkMSG_2";
                if (LIFE_SETTINGS(getNumber,"enable_fatigue") isEqualTo 1) then {player setFatigue 1;};
            };
            case 10: {
                hint localize "STR_NOTF_DrinkMSG_3";
                if (LIFE_SETTINGS(getNumber,"enable_fatigue") isEqualTo 1) then {player setFatigue 1;};
            };
        };
    };
};

 

Paste This

_illegalmarkers = ["marker1","marker2","marker3"]; 

if (playerSide == west) then { 

{ deleteMarkerLocal _x; } forEach _illegalmarkers; 

}; 

REMEMBER TO CHANGE  ["marker1","marker2","marker3"]; to your own desired marker locations

 

Repack your file and test out the cops ;P

Good day

This was my first TUT ever hope you enjoy

 

  • Like 1

Share this post


Link to post
Share on other sites

Where do i paste this:

 

EDIT: nm i just saw it, thanks for sharing (:

 

_illegalmarkers = ["marker1","marker2","marker3"]; 

if (playerSide == west) then { 

{ deleteMarkerLocal _x; } forEach _illegalmarkers; 

}; 
Edited by ubermaucer

Share this post


Link to post
Share on other sites
No dia 07/12/2016 às 06:32, o ubermaucer disse:

isso não esconde os marcadores dentro da tela de desova que é problemática

Hello!
How to solve this?
Any help will be welcome.

Edited by artur_op
wrong translation

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×