Bonjour, j'ai un soucis avec le script suivant de Yuri Zoko. En gros même quand jai la licence requise je ne vois pas les marqueurs même après de nombreux reboots.
Code:
/*
Author: Yuri Zoko
Web site: www.the-programmer.com
Discord: discord.the-programmer.com
Terms of use:
- This file is forbidden unless you have permission from the author. If you have this file without permission to use it please do not use it and do not share it.
- If you have permission to use this file, you can use it on your server however it is strictly forbidden to share it.
- Out of respect for the author please do not delete this information.
*/
_illegal = ["heroin_1","heroin_p","heroin_area","cocaine_1","cocaine_processing","coke_area","weed_1","Weed_p_1","weed_area","Dealer_1_3","turle_dealer","Rebelop"];
_cocaine = ["cocaine_1","cocaine_processing","coke_area"];
{_x setMarkerAlphaLocal 0}foreach _illegal;
if (license_civ_rebel) then {
{_x setMarkerAlphaLocal 1}foreach ["Rebelop"];
};
if (license_civ_cocaine) then {
{_x setMarkerAlphaLocal 1}foreach _cocaine;
};
if (license_civ_heroin) then {
{_x setMarkerAlphaLocal 1}foreach ["heroin_1","heroin_p","heroin_area"];
};
if (license_civ_marijuana) then {
{_x setMarkerAlphaLocal 1}foreach ["weed_1","Weed_p_1","weed_area"];
};
if (license_civ_dealertortue) then {
{_x setMarkerAlphaLocal 1}foreach ["turle_dealer"];
};
if (license_civ_dealer) then {
{_x setMarkerAlphaLocal 1}foreach ["Dealer_1_3"];
};