Search found 4 matches
- Wed Aug 11, 2021 10:20 pm
- Forum: Plugin Development Support
- Topic: [Advanced] Hook CPluginHelpersCheck::CreateMessage
- Replies: 6
- Views: 11808
Re: [Advanced] Hook CPluginHelpersCheck::CreateMessage
My bad, forgot to cast the pointer in that sample. Basically, since args[2] is the pointer of an Edict , it have to be casted as such first: from entities import Edict player = Player(index_from_edict(make_object(Edict, args[2]))) Alright, thank you. Now my script looks like...
- Wed Aug 11, 2021 5:16 pm
- Forum: Plugin Development Support
- Topic: Conflict with SM plugin with both addons on
- Replies: 0
- Views: 6798
Conflict with SM plugin with both addons on
Hi there, I'm using a SourceMod plugin (https://forums.alliedmods.net/showthread.php?p=729788) which works fine when Source.Python isn't installed, but when both core addons live together (SM and SPy), problem arises. Under this setup, that custom plugin reacts wrongly to saysounds triggers by alway...
- Wed Aug 11, 2021 1:04 pm
- Forum: Plugin Development Support
- Topic: [Advanced] Hook CPluginHelpersCheck::CreateMessage
- Replies: 6
- Views: 11808
Re: [Advanced] Hook CPluginHelpersCheck::CreateMessage
Thank you for the instant help, guys. Nice that the addon supports these things directly from user-level scripts, as I doubted since SM doesn't support these from scripts, for example (only through C++ extensions). I've properly installed Source.Py in my server and started to code first bits around ...
- Tue Aug 10, 2021 9:22 am
- Forum: Plugin Development Support
- Topic: [Advanced] Hook CPluginHelpersCheck::CreateMessage
- Replies: 6
- Views: 11808
[Advanced] Hook CPluginHelpersCheck::CreateMessage
Hi,
I'm new to Source Python and, while I haven't developed anything on it yet, I would just like to know if Source.Python provides support for hooking CPluginHelpersCheck::CreateMessage (https://github.com/ValveSoftware/source ... ck.cpp#L25)
Thanks.
I'm new to Source Python and, while I haven't developed anything on it yet, I would just like to know if Source.Python provides support for hooking CPluginHelpersCheck::CreateMessage (https://github.com/ValveSoftware/source ... ck.cpp#L25)
Thanks.