Quote:
Originally Posted by grytrean
If I understood this right, it should already be compatible. This plugin does, on the start of the round, check if someone CTbanned is on the CT team, if someone is, it swaps his/her team.
|
Yeah this works, but MyJailbreaks ratio have different systems to check if the player is allowed to join CT. If he pass this checks he will be moved to CT (maybe even in mid round). So ratio will move a banned player to CT and than your Timed CTBans switch him back, what is a bit frustrating, very inconvenient.
MyJailbreaks ratio has a few, so called support plugins to interface between the myjbs ratio plugin & ban/restrict/points/level plugins by other authors.
Quote:
Originally Posted by grytrean
I could eventually do some kind of timer on the beginning to wait until the ratio plugin has done it's functions.
If you mean another problem, please explain and I will try to come with a solution!
|
The best thing you can do, so other plugins can easily interact with your plugin, is to make a native.
Something like
native bool TimedCTBans_IsClientBanned(int client);
For sure I could query the TimedCTBans database again with my support plugin, but I thought this would be the cleaner and easier way.
__________________