ProTecTion 0 Report post Posted November 2, 2022 Hey, how can i deny Voy Class to use a specific NPC? other classes can use it normally. Quote Share this post Link to post Share on other sites
Graf 210 Report post Posted November 3, 2022 16 часов назад, ProTecTion сказал: Hey, how can i deny Voy Class to use a specific NPC? other classes can use it normally. Hi. Share code npc. 1 Quote Share this post Link to post Share on other sites
ProTecTion 0 Report post Posted November 3, 2022 5 hours ago, Graf said: Hi. Share code npc. function r_ship1337() Talk( 1, " Shirley: Hi! I am the Harbor Operator for Argent City. I am in charge of all ships that is docked in this harbor. Look for me if you want to set sail." ) InitTrigger() TriggerCondition( 1, HasAllBoatInBerth, 1 ) --TriggerAction( 1, RemoveYS ) TriggerAction( 1, LuanchBerthList, 1, 160,163, 177 ) TriggerFailure( 1, JumpPage, 3 ) Text( 1, "Set sail", MultiTrigger, GetMultiTrigger(), 1 ) InitTrigger() TriggerCondition( 1, HasLuanchOut ) TriggerAction( 1, RepairBoat ) TriggerCondition( 2, HasBoatInBerth, 1 ) TriggerAction( 2, RepairBerthList, 1 ) TriggerFailure( 2, JumpPage, 4 ) Text( 1, "Repair Ship", MultiTrigger, GetMultiTrigger(), 2 ) InitTrigger() TriggerCondition( 1, HasLuanchOut ) TriggerAction( 1, SupplyBoat ) TriggerCondition( 2, HasBoatInBerth, 1 ) TriggerAction( 2, SupplyBerthList, 1 ) TriggerFailure( 2, JumpPage, 5 ) Text( 1, "Refuel", MultiTrigger, GetMultiTrigger(), 2 ) InitTrigger() TriggerCondition( 1, HasDeadBoatInBerth, 1 ) TriggerAction( 1, SalvageBerthList, 1 ) TriggerFailure( 1, JumpPage, 6 ) Text( 1, "Salvage Ship", MultiTrigger, GetMultiTrigger(), 1 ) Talk( 3, "Sorry, you do not have a ship at the harbor or it was sunken. Please salvage it before setting sail again!" ) Talk( 4, "Sorry! I only repair ships docked in this harbor. Please pay 1000G." ) Talk( 5, "Sorry, you need to dock your ship in our harbor in order to refuel. Please pay 200G" ) Talk( 6, "Sorry! We only salvage ships docked in our harbor. You have to pay a fee of 1000G." ) AddNpcMission ( 294 ) AddNpcMission ( 295 ) end @Graf Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted November 3, 2022 Hello @ProTecTion, 1 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
ProTecTion 0 Report post Posted November 4, 2022 @V3ct0r Thank you for replying, i have tried and it still shows the original npc code. or it stops working. can you edit the code for me to make it work for all classes but deny Explorer / Voy from using the npc Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted November 8, 2022 On 11/4/2022 at 5:42 PM, ProTecTion said: @V3ct0r Thank you for replying, i have tried and it still shows the original npc code. or it stops working. can you edit the code for me to make it work for all classes but deny Explorer / Voy from using the npc Show your NPC script please. 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