if you look at the superhero core you will see a function "plugin_log"
that gets passed every log entry sent by the server. In my function I catch various events. You will see where I catch after the bomb is planted and defused. If you turn on logging in your server and plant and defuse a bomb you should be able to see what log event gets sent when a player starts to plant or defuse the bomb.
Ok I checked for planting and there is no event, but I know there is for defusing. Youd have to try and see what its called.
For the planting I know it must send some sort of server message.... hmmm lets look in one of the amxx plugins...
uhhh wow, they are natives in the CSX module. check this out
Code:
forward bomb_planting(planter);
forward bomb_planted(planter);
forward bomb_explode(planter,defuser);
forward bomb_defusing(defuser);
forward bomb_defused(defuser);
now to use that you would do this for example
Code:
public bomb_planting(id) {
server_print("Client %d is Planting the BOMB!",id)
}
just include "csx" to use these. This is for AMXX only BTW
__________________