satoon101 wrote:*Edit: we are working on a couple new decorators that will allow you to hook these types of functions once an entity of the specified type is created on the server. There is still a lot of work to do on it, though. The usage of these decorators 'might' end up looking something like this:Syntax: Select all
from entities.hooks import EntityPreHook
@EntityPreHook('player', 'deafen')
def pre_deafen(args):
...
Please, please, please, please, YES! :D
When I first saw Source.Python, I thought it's just an other shitty addon which will never see the daylight. I was wrong, this has got to be one of the best things that have ever happened to the CS community!
I can't wait for SP to reach its final version, even though that's still quite far away. Huge thanks to all the SP developers, you're doing one hell of a job, keep on rolling guys! :)