Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins Discussion (Moderator: MordyT)modify plugin
Pages: [1]   Go Down
  Print  
Author Topic: modify plugin  (Read 263 times) Bookmark and Share
Newbie
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: cod6
Posts: 7
Offline Offline
« on: March 30, 2011, 07:28:18 PM »

I tried to add such a new game type q does not bring the default plugin set masteradmin ('ctf') but when running the plugin error appears when loading plugins with b3.
and serverlog appears something like unrecognized q 'ctf'
these are the lines q insert:

> if input
  • == 'ctf':
> self.console.say ('^ ^ 1 2Gamtype September to Capture the flag)
> time.sleep (2)
> self.console.write ('g_gametype "ctf"')
> self.console.write ('map_restart')
> return True
>
q it should be noted that it added in masrteradmin.py

I have not then q q keep in mind when editing .. q or if I have to declare a variable in another document .. thanks and hope your answer .. .
Logged

Tags: create  plugin 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal