Need plugin help!

Šiame forume vartotojai gali prašyti jiems reikiamo plugino.
Forum rules
Šiame forume galite siūlyti idėjas ar prašyti jums reikalingų pluginų. Jei kas nors pradės jį kurti, tai pasirašys Jūsų sukurtoje temoje. Niekada nepykite, jei niekas neatsako į Jūsų prašymą. Gal tai tiesiog per sudėtinga, arba reikalauja per daug darbo.
Post Reply
excellent
Parašęs kelias žinutes
Posts: 5
Joined: 2011 Dec 03 18:29

Need plugin help!

Post by excellent »

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:

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)        }       }}

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests