From your code:
- if(RoundLimit - RoundCount == random_num(Min,Max))
2)
- precache_model(v_model)
3)
- cs_set_user_model(id, "Kaya_Co-Owner_Zombie")
4)
- precache_model("models/player/Nemesis_Zombie/Nemesis_Zombie.mdl")
5) From your code:
- g_maxplayers = get_maxplayers()
- if (g_maxplayers > 0)
Returns the maxplayers setting of the current server, that is how many
clients it supports.
6)
- for (id = 0; id <= g_maxplayers; id++)
7)
- register_event("DeathMsg", "deathmsg", "a")
- register_event("CurWeapon", "CurWeapon", "be", "1=1")
8)
- if(ze_is_user_zombie(id) && get_user_weapon(id)==CSW_KNIFE)
9)
- public deathmsg(id)
- {
- new g_attacker = read_data(1);
- new g_victim = read_data(2);
- if((1 <= g_attacker <= g_maxplayers))
- {
- if(g_victim != g_attacker)
- {
- user_silentkill(g_victim)
- }
- }
- }