Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #define TAG "Tag"
- new TeamA, TeamB, Round;
- public plugin_init() {
- register_plugin("Score Mod", "v1.0", "P1xeL`");
- register_event("SendAudio", "CounterTerroristWin", "a", "2&%!MRAD_ctwin");
- register_event("SendAudio", "TerroristWin", "a", "2&%!MRAD_terwin");
- register_clcmd("say /score", "score_cmd");
- }
- public TerroristWin() {
- TeamA++;
- Round++;
- }
- public CounterTerroristWin() {
- TeamB++;
- Round++;
- }
- public score_cmd(Index) {
- client_print(Index ,print_chat ,"(%s) Score is - (Team A): %s - (Team B): %s - (%sst half)", TAG, TeamA, TeamB, Round + 1);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment