Shako 97 Report post Posted October 1, 2016 Hello, I was wondering if there is a function for getting the monster's name. Like GetItemName, where it gets the name of the item from ItemID Is there the same thing for monsters? Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
Angelix 374 Report post Posted October 1, 2016 If I remember correctly, it's the same way you get a player's name, that's if you have their role. Quote Share this post Link to post Share on other sites
Shako 97 Report post Posted October 1, 2016 3 minutes ago, Angelix said: If I remember correctly, it's the same way you get a player's name, that's if you have their role. GetChaDefaultName ( monster ) only works when you have the monster role, that's true, but something like GetChaDefaultName ( 333 ) won't work in getting a monster's name. However, GetItemName ( 333 ) does. I'm trying to figure out how to get that same thing as the GetItemName >.< Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted October 1, 2016 local cha_name = GetChaDefaultName(role) Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Vasil 71 Report post Posted October 1, 2016 First of all define "dead" local monstername = GetChaDefaultName(dead) if you're making a function to kill blahblah and u want to see da Monster name,use that Quote Share this post Link to post Share on other sites
Shako 97 Report post Posted October 1, 2016 This is what i was talking about: Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites