Robinox a écrit le dernier message :
Nikel merciSalut!
Tu peux essayer de modifier ton @The_Programmer/addons/interpol/client/tp_interpolMenuList.sqf en remplaçant :
par ce code :Code:{ _control lbAdd format ["%1 %2",(_x select 1),(_x select 2)]; _control lbSetValue [(lbSize _control)-1,(_x select 0)]; _control lbSetData [(lbSize _control)-1,str(_x)]; } forEach _joueurs;
Code:_playersOnline = []; { _playersOnline pushBack (toLower (name _x)); } forEach playableUnits; { _name1 = toLower ((_x select 1) + " " + (_x select 2)); _name2 = toLower ((_x select 2) + " " + (_x select 1)); if ((_name1 in _playersOnline) || (_name2 in _playersOnline)) then { _control lbAdd format ["%1 %2",(_x select 1),(_x select 2)]; _control lbSetValue [(lbSize _control)-1,(_x select 0)]; _control lbSetData [(lbSize _control)-1,str(_x)]; }; } forEach _joueurs; if ((lbSize _control) isEqualTo 0) exitWith { _control lbAdd (["STR_NO_RESULT","Max_Settings_Interpol","Interpol_Localization"] call theprogrammer_core_fnc_localize); _control lbSetColor [0,[1,0,0,1]]; };