Guest Garuub Posted June 26, 2011 Share Posted June 26, 2011 Я стараюсь, чтобы получить текущую астральное имя секторе. Вы знаете, как это сделать? Я могу получить allod название, но не сектор имя ... помогите! (Google перевод) Quote Link to comment Share on other sites More sharing options...
Nikon Posted June 26, 2011 Share Posted June 26, 2011 Quote: astral.GetSectorInfo( sectorId ) ...-- возвращаемые значения:table or nil - если информация доступна, то таблица с полями:... name: WString or nil - название сектора...-- пример:Code: local sectorId = astral.GetCurrentSector()if sectorId then local sectorInfo = astral.GetSectorInfo() if sectorInfo then LogInfo( sectorInfo.name ) endend Не? Quote Link to comment Share on other sites More sharing options...
Guest Garuub Posted June 26, 2011 Share Posted June 26, 2011 \ о / спасибо Это именно то, что я искал. ... Есть ли обновленный API документ? Потому что это не существует, на мой старый английский док. Quote Link to comment Share on other sites More sharing options...
Nikon Posted June 26, 2011 Share Posted June 26, 2011 Мммм... нужен 2.0.02? File: LuaApi_2002.zip Quote Link to comment Share on other sites More sharing options...
Setras Posted June 29, 2011 Share Posted June 29, 2011 Нет, не нужен 2.0.0.2. Человек просит НОВЫЕ доки по ЛУА And, please, if you use GOOGLE TRANSLATE or any other kind of translator, please include your original english (or whatever) text. There's an example of google translate: What was meant: He needs NEW LUA docs What was gotten: He needs NEW LUA harbours (docks) There's a link to newest lua docs: http://zalil.ru/31357820 File: ModdingDocuments.zip Quote Link to comment Share on other sites More sharing options...
Nikon Posted June 29, 2011 Share Posted June 29, 2011 Чудик, ты хоть вообще читать умеешь? Человек просит НОВЫЕ доки по API Quote: Есть ли обновленный API документ? Потому что это не существует, на мой старый английский док . Нафига ему левые доки по 2.0.07 если текущая версия АО у европейцев-мериканцев - 2.0.02? А в его видимо совсем старых доках нет функции astral.GetSectorInfo() Quote Link to comment Share on other sites More sharing options...
Guest Garuub Posted June 29, 2011 Share Posted June 29, 2011 2.0.02 соответствует моим потребностям, но и серьезное обновление идет в следующем месяце (третий астральный слой) Спасибо вам обоим за документацию! Это именно то, что я искал. Функция "astral.GetSectorInfo ()" работает отлично. --- 2.0.02 fits my needs, but major update is coming next month (3rd astral layer) Thank you both for the documentation! This is exactly what i were looking for. Function "astral.GetSectorInfo()" works perfectly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts