MIV 0 Posted April 26, 2015 Здравствуйте. Прошу пардону, но сразу к теме. Как процент побед для танка привести к виду: два знака после запятой? После последнего обновления отображается с излишней точнстью. С уважением. Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #265619 Posted April 26, 2015 {{winrate}} заменить на {{winrate%2d~%|--%}} Quote Share this post Link to post Short link Share on other sites
ENDEM 0 #265620 Posted April 26, 2015 Прошу прощение, а где произвести замену? Если можно поподробнее.Заранее благодарен. Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #265626 Posted April 26, 2015 battleLoading.xcstatisticForm.xc Quote Share this post Link to post Short link Share on other sites
ENDEM 0 #265633 Posted April 26, 2015 Замену произвел, проблема не решилась. Quote Share this post Link to post Short link Share on other sites
seriych 2,178 #265635 Posted April 26, 2015 http://www.koreanrandom.com/forum/topic/14583-скрипт-для-автоматической-замены-макросов-под/ Quote Share this post Link to post Short link Share on other sites
ENDEM 0 #265639 Posted April 26, 2015 (edited) Имею вот такую сборку, может в ней проблема. http://ifolder.com.ua/ulk7qe5k5hsl.html Посмотрите, все ли правильно я сделал. Edited April 26, 2015 by ENDEM Quote Share this post Link to post Short link Share on other sites
MIV 0 #265833 Posted April 27, 2015 (edited) {{winrate}} заменить на {{winrate%2d~%|--%}} Прошу, прошения, но у меня успользуется ещё старый синтаксис: "formatLeft": "{{vehicle}} <font color='{{c:kb}}'>{{kb:3}}</font> <font color='{{c:rating}}'>{{rating}}</font> / <font color='{{c:t-battles}}'>{{t-hb}}</font> <font color='{{c:t-rating}}'>{{t-rating}}</font>", "formatRight": "{{vehicle}} <font color='{{c:kb}}'>{{kb:3}}</font> <font color='{{c:rating}}'>{{rating}}</font> / <font color='{{c:t-battles}}'>{{t-hb}}</font> <font color='{{c:t-rating}}'>{{t-rating}}</font>", Прошу проещения ещё раз, по ссылке нашёл. Спасибо. заменил: t-rating на t-rating%2d~%|--% и rating на rating%2d~%|--% домой приду проверю. Edited April 27, 2015 by MIV Quote Share this post Link to post Short link Share on other sites
TornadoCat 1,027 #265843 Posted April 27, 2015 Rating был заменен на winrate Quote Share this post Link to post Short link Share on other sites
MIV 0 #266080 Posted April 27, 2015 Проверил, всё работает. Большое спасибо за помощь. Топ можно ппа? С уважением. Quote Share this post Link to post Short link Share on other sites
TryMANs 0 #268631 Posted May 6, 2015 у меня точно такая же проблема но я не понял даже о чем речь собственно. в нордпаде ни чего не нашол. можно подробнее Quote Share this post Link to post Short link Share on other sites
Helkar 385 #268701 Posted May 6, 2015 http://www.koreanrandom.com/forum/topic/24060-%D0%BF%D0%BE%D0%BF%D1%83%D0%BB%D1%8F%D1%80%D0%BD%D1%8B%D0%B5-%D0%B2%D0%BE%D0%BF%D1%80%D0%BE%D1%81%D1%8B-%D0%B8-%D0%BE%D1%82%D0%B2%D0%B5%D1%82%D1%8B-%D0%B2-097-faq-097/ Quote Share this post Link to post Short link Share on other sites