Need some basic help with extensions
Hello! I'm very new to sourcemod and just passed through these tutorials:
https://wiki.alliedmods.net/Introduc...rceMod_Plugins https://wiki.alliedmods.net/Writing_Extensions However, I still have some questions which I did not find answers to. Code from the tutorial (extension.cpp): PHP Code:
I tried to include this simple extension in tutorial plugin's code: first_ext.inc: PHP Code:
PHP Code:
So, either `OnPlayerSayChat` is never fired (in that case, what sould I do to actually get it working?) or it is fired and I just made some mistakes so I don't get expected result. If latter, what are these mistakes and how to fix them? Thanks! |
Re: Need some basic help with extensions
Wrong forum section. Should be here: https://forums.alliedmods.net/forumdisplay.php?f=134
|
Re: Need some basic help with extensions
Yeah I saw that section but its description says "Post your own custom extensions here" and I'm not actually going to post an extension and rather search for help :)
|
Re: Need some basic help with extensions
So posting in the AMX Mod X section is better?
|
Re: Need some basic help with extensions
Oops. My bad, thought it was SourceMod general discussion. Is there a way to move the topic?
|
Re: Need some basic help with extensions
Moved to SM Extensions forum
|
Re: Need some basic help with extensions
Well if this is appropriate to post a basic questions in this section. Thanks!
|
Re: Need some basic help with extensions
Quote:
|
Re: Need some basic help with extensions
I guess I missed that part somehow :oops: thanks
How do you then write a function that tells when a players says something in a chat? |
Re: Need some basic help with extensions
Quote:
|
All times are GMT -4. The time now is 01:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.