- Хроники
- Fafurion
- Исходники
- Присутствуют
- Сборка
- classic lucera166
Good afternoon, everyone. Is there a "native" way to open the augment function? I'm trying to create a button via the interface; the function opens, but when I try to add a weapon, I get the message THIS IS NOT A SUITABLE ITEM. (classic lucera 166)
Код:
function HandleAugmentButton()
{
if ( !SettingSectorBool( "AUGMENT", "augment_button" ) ) return;
if ( IsShowWindow( "RefineryWnd" ) )
HideWindow( "RefineryWnd" );
else
ShowWindow( "RefineryWnd" );
}
Последнее редактирование: