Search found 542 matches
- Wed Jul 18, 2012 6:47 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20019
Okay thanks. Gonna try it EDIT: server still shuts down, getting the following error: EDIT2: wow, you can see nothing in that picture... okay, it says [SP LOADER] Loading [.....]\plat-win\msvcr100d.dll ============================================ [SP LOADER] could not load visual studio runtime! Abo...
- Wed Jul 18, 2012 6:31 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20019
- Wed Jul 18, 2012 6:29 am
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 14873
- Wed Jul 18, 2012 5:26 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20019
- Wed Jul 18, 2012 4:54 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20019
Woops! but
gives me the same error :/
Syntax: Select all
from events.decorators import event
@event
def player_hurt(ev):
print(ev.GetName())
gives me the same error :/
- Wed Jul 18, 2012 4:13 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20019
- Wed Jul 18, 2012 4:11 am
- Forum: API Design
- Topic: How about es.fire/es.give ?
- Replies: 14
- Views: 15465
- Wed Jul 18, 2012 4:06 am
- Forum: Plugin Development Support
- Topic: Error: _LoadedAddon has no attribute 'globals'
- Replies: 21
- Views: 20019
Error: _LoadedAddon has no attribute 'globals'
I'm getting this error everytime I wanna load my addon sp_restrict
Syntax: Select all
import sp
from decorators import event
@event
def player_hurt(ev):
print(ev.eventname)
I ain't got no clue... does every module has "globals" as attribute by default?!
- Wed Jul 18, 2012 12:14 am
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 14873
- Tue Jul 17, 2012 11:55 pm
- Forum: General Discussion
- Topic: IRC Channel
- Replies: 8
- Views: 9301
- Tue Jul 17, 2012 11:51 pm
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 14873
- Tue Jul 17, 2012 11:42 pm
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 14873
- Tue Jul 17, 2012 11:39 pm
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 14873
- Tue Jul 17, 2012 11:25 pm
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 14873
- Tue Jul 17, 2012 10:45 pm
- Forum: API Design
- Topic: How about es.fire/es.give ?
- Replies: 14
- Views: 15465
How about es.fire/es.give ?
Hey guys, maybe this is way too early to ask, but since we talk about API design here, I'd like to ask if someone's already came up with something similar to the good ol' es.fire / es.give commands. ⋅ Decorators? ⋅ Just like Mattie implemented them to ES? ⋅ Something el...
- Mon Jul 16, 2012 5:39 am
- Forum: API Design
- Topic: Coding Style
- Replies: 42
- Views: 189406
- Mon Jul 16, 2012 1:09 am
- Forum: General Discussion
- Topic: Building from source (Linux) gives Python include error
- Replies: 7
- Views: 8337
- Mon Jul 16, 2012 12:39 am
- Forum: General Discussion
- Topic: Building from source (Linux) gives Python include error
- Replies: 7
- Views: 8337
- Mon Jul 16, 2012 12:08 am
- Forum: General Discussion
- Topic: Building from source (Linux) gives Python include error
- Replies: 7
- Views: 8337
Building from source (Linux) gives Python include error
Hey, I compiled source-python on Winodws correctly, I got the source-python.dll file. But on Linux, when I use make after I "cmaked" the /src directory, I get the following somewhere near the beginning: /home/srcds/plugin/source-python/src/thirdparty/boost/boost/python/detail/wrap_python.hpp:50:23: ...
- Sun Jul 15, 2012 11:57 pm
- Forum: General Discussion
- Topic: Admin System
- Replies: 22
- Views: 22723