Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <cstrike>
- #include <hamsandwich>
- #define MAXPLAYERS 32
- new bool:g_alive[MAXPLAYERS + 1]
- public plugin_init()
- RegisterHam(Ham_Spawn, "player", player_spawn, 1)
- public player_spawn(client)
- {
- new temp = cs_get_user_team(client)
- if(!is_user_alive(client) || temp < 2)
- return
- if(X < 1)
- {
- att(client, 2)
- return
- }
- if(temp == 2)
- att(client, 2)
- else if(temp == 3)
- att(client, 3)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement