Need plugin help!
Posted: 2012 Jan 19 19:13
Hey guys I need some help with my plugin 
How can I do that if player get auto nemesis/survivor no slay ?
I would be happy if anyone can fix it for me because i find no solution
Here is my code:

How can I do that if player get auto nemesis/survivor no slay ?
I would be happy if anyone can fix it for me because i find no solution

Here is my code:
Code: Select all
public zp_round_started(gamemode, id){ if ( gamemode == MODE_INFECTION ) { if (i < get_pcvar_num(round)) { i++ client_print_color(0, print_chat, "^4[ZP]^1 Rounds after last nemesis/survivor: %i.", i) } else { client_print_color(0, print_chat, "^4[ZP]^1 Rounds after last nemesis/survivor: %i. You ^4CAN^1 make nemesis or survivor ^3NEXT ROUND^1.", i) } } if ( gamemode == MODE_NEMESIS ) { if (i < get_pcvar_num(round)) { i=0 new Name[32]; get_user_name(id, Name, 32) user_kill(id) client_print(0, print_chat, "%s has been slayed for being nemesis too early", Name) } } if ( gamemode == MODE_SURVIVOR ) { if (i < get_pcvar_num(round)) { new Name[32]; get_user_name(id, Name, 32) user_kill(id) client_print(0, print_chat, "%s has been slayed for being survivor too early", Name) } } if ( gamemode == MODE_SWARM ) { if (i < get_pcvar_num(round)) { i++ client_print_color(0, print_chat, "^4[ZP]^1 Rounds after last nemesis/survivor: %i.", i) } else { client_print_color(0, print_chat, "^4[ZP]^1 Rounds after last nemesis/survivor: %i. You ^4CAN^1 make nemesis or survivor ^3NEXT ROUND^1.", i) } } if ( gamemode == MODE_MULTI ) { if (i < get_pcvar_num(round)) { i++ client_print_color(0, print_chat, "^4[ZP]^1 Rounds after last nemesis/survivor: %i.", i) } else { client_print_color(0, print_chat, "^4[ZP]^1 Rounds after last nemesis/survivor: %i. You ^4CAN^1 make nemesis or survivor ^3NEXT ROUND^1.", i) } } if ( gamemode == MODE_PLAGUE ) { if (i < get_pcvar_num(round)) { i++ client_print_color(0, print_chat, "^4[ZP]^1 Rounds after last nemesis/survivor: %i.", i) } else { client_print_color(0, print_chat, "^4[ZP]^1 Rounds after last nemesis/survivor: %i. You ^4CAN^1 make nemesis or survivor ^3NEXT ROUND^1.", i) } }}