Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Plugin generated by AMXX-Studio */
- #include <amxmodx>
- #include <cstrike>
- #define PLUGIN "Deathrun Slay"
- #define VERSION "1.0"
- #define AUTHOR "Gamer"
- public plugin_init()
- {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- register_logevent("Round_End", 2, "1=Round_End")
- }
- public Round_End()
- {
- SlayTT()
- }
- public SlayTT()
- {
- new players[32]
- new count, player
- get_players(players, count, "")
- for(new i = 0; i < count; i++)
- {
- player = players[i]
- if(is_user_alive(player))
- {
- switch(cs_get_user_team(player))
- {
- case CS_TEAM_CT: return PLUGIN_CONTINUE
- case CS_TEAM_T: user_silentkill(player)
- }
- }
- }
- return PLUGIN_CONTINUE
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement