_this addAction [(["STR_RESELL","The_Programmer_AdvancedInsure","Advanced_Insurance_Localization"] call theprogrammer_core_fnc_localize),{[] spawn advanced_insurance_fnc_vehicleResellMenu},"",1.5,true,true,"","license_civ_mafia",5];
isPlayerInAppropriateList
. Voici un exemple pour vous guider :if !(player in mafieuxList) exitWith { hint "Vous n'avez pas la bonne licence pour cette action."; };
mafieuxList
selon vos besoins. N'hésitez pas à consulter la documentation officielle pour plus de détails._this addAction [(["STR_RESELL","The_Programmer_AdvancedInsure","Advanced_Insurance_Localization"] call theprogrammer_core_fnc_localize),{[] spawn advanced_insurance_fnc_vehicleResellMenu},"",1.5,true,true,"","license_civ_mafia || (playerSide isEqualTo civilian)",5];
_this addAction [(["STR_RESELL","The_Programmer_AdvancedInsure","Advanced_Insurance_Localization"] call theprogrammer_core_fnc_localize),{[] spawn advanced_insurance_fnc_vehicleResellMenu},"",1.5,true,true,"","license_civ_mafia",5];