Quote:
Originally Posted by SpeeDeeR
I need to retrieve all arguments from say_team if its used with '@' and block it if a certain check is true.
So I assume there isn't any way of doing this?
|
Why would you say that? It's very simple.
If you are not editing adminchat.sma and are doing it in antoher plugin then:
Hook "say_team" and read_args() and remove quotes then check if first character is '@' (or see if the string contains the '@' character depending on your need) and return PLUGIN_HANDLED if you want it blocked. Then put this new plugin above adminchat.amxx
If you only want to block what adminchat.amxx does then you need to edit adminchat.sma.
__________________