Premium FlorinMarian 122 Posted September 11, 2015 Premium Share Posted September 11, 2015 Hello devs ! Anybody know a solution to block riding in guild arena? Thanks ! Shared Hosting | Domain names | Dedicated Servers | VPS HAZI.ro Link to comment Share on other sites More sharing options...
kimameixede 6 Posted September 11, 2015 Share Posted September 11, 2015 pute the quest on enter the guild arena. if pc.count_item(item) then say ("you cant ride in batle") its the easy solution. Link to comment Share on other sites More sharing options...
ScreamMyName 100 Posted September 11, 2015 Share Posted September 11, 2015 The simplest way is to do it via quest... just change when id.use to when id.use with pc.get_map_index != map index. or when id.use with pc.get_map_index == map index chat("You can't use it here") if you want to do it in source go to horse.cpp and add if (GetMapIndex() == 110 || GetMapIndex() == 111 || GetMapIndex() == 113) { ChatPacket(CHAT_TYPE_INFO, "You can't use horse in guild Arena."); return false; } simple as that. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now