Bonjour, j'ai rajouter le script pour vérifier l'assurance mais nous avons mit le script Radial Menu. J'aimerais savoir ce que je dois mettre dans "buttonAction" et "condition".
Script: ICI
[CODE title="config_Button.cpp"]class button_7 {
displayName = "Verifier l'assurance";
buttonAction = "[cursorObject] spawn life_fnc_lockupHouse; closeDialog 0;";
buttonToolTip = "";
side[] = {west};
disable = false;
condition = "!isNil {cursorObject getVariable 'house_owner'}";
};[/CODE]
Script: ICI
[CODE title="config_Button.cpp"]class button_7 {
displayName = "Verifier l'assurance";
buttonAction = "[cursorObject] spawn life_fnc_lockupHouse; closeDialog 0;";
buttonToolTip = "";
side[] = {west};
disable = false;
condition = "!isNil {cursorObject getVariable 'house_owner'}";
};[/CODE]