[GMOD] CollisionGroup.DEBRIS_TRIGGER

Please post any questions about developing your plugin here. Please use the search function before posting!
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

[GMOD] CollisionGroup.DEBRIS_TRIGGER

Postby Painkiller » Thu Jan 31, 2019 7:26 pm

Hello,

my plugin can not load can anybody help me for this error?

Code: Select all

20:20:13 sp plugin reload supermod
20:20:13 [SP] Unloading plugin 'supermod'...
         [SP] Unable to unload plugin 'supermod' as it is not currently loaded.
         [SP] Loading plugin 'supermod'...
         
         [Supermod] Cfg loaded!
         [Supermod] Effects loaded!
         [Supermod] Admin loaded!
         [Supermod] Music loaded!
         [Supermod] Mapconfig loaded!
         [Supermod] Mapvoting loaded!
         [Supermod] Modelchooser loaded!
         [Supermod] Saysounds loaded!
         [Supermod] Menu loaded!
         [Supermod] Ranking loaded!
         [Supermod] Misc loaded!
         [Supermod] Quake loaded!
         [Supermod] Timeleft loaded!
         [Supermod] Scoreboard loaded!
         [Supermod] Trailball loaded!
         [Supermod] No Earbleed loaded!
         [Supermod] Damagesound loaded!
         [SP] Caught an Exception:
         Traceback (most recent call last):
           File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
             plugin = self.manager.load(plugin_name)
           File "../addons/source-python/packages/source-python/plugins/manager.py", line 194, in load
             plugin._load()
           File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
             self.module = import_module(self.import_name)
           File "../addons/source-python/plugins/supermod/supermod.py", line 175, in <module>
             from supermod.modules import flaregun
           File "../addons/source-python/plugins/supermod/modules/flaregun.py", line 68
             entity.collision_group = CollisionGroup.DEBRIS_TRIGGER
                                                                  ^
         
         TabError: inconsistent use of tabs and spaces in indentation
         
         
         [SP] Plugin 'supermod' was unable to be loaded.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: [GMOD] CollisionGroup.DEBRIS_TRIGGER

Postby Ayuto » Thu Jan 31, 2019 9:17 pm

Don't mix tabs and spaces.
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [GMOD] CollisionGroup.DEBRIS_TRIGGER

Postby Painkiller » Thu Jan 31, 2019 11:11 pm

Yes thanks i have fixed.

But some things, from mod simply are not carried out.

I do not know why there are no more errors.

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 37 guests