Page 1 of 2

first round nemsis plugin

Posted: 22 Jan 2019, 20:52
by Muhammet20
hey yo all :D

i thunk you understand from the subject :/
so
i want when the first round start i want it just one zombie and he/she be nemsis
i hope you have this plugin or you can create it

________________________________________________________

Re: first round nemsis plugin

Posted: 24 Jan 2019, 12:10
by Muhammet20
anyone ?

Re: first round nemsis plugin

Posted: 24 Jan 2019, 23:24
by Muhammet20
heeeeeeeeeeeeeeeeeeeeeeeeey

Re: first round nemsis plugin

Posted: 25 Jan 2019, 07:23
by Raheem
You mean: first round in the map be only one zombie not some zombies?

Re: first round nemsis plugin

Posted: 25 Jan 2019, 09:48
by Muhammet20
Raheem wrote:
9 Months Ago
You mean: first round in the map be only one zombie not some zombies?
yeah
but i don't want first zombie
i mean first zombie will be first nemsis on first round

Re: first round nemsis plugin

Posted: 27 Jan 2019, 19:44
by Muhammet20
no one ?

Re: first round nemsis plugin

Posted: 30 Jan 2019, 17:28
by Muhammet20
heeeeeeeeeellllllloooooo

Re: first round nemsis plugin

Posted: 30 Jan 2019, 17:29
by Muhammet20
just if someone have the nemsis plugin say here

Re: first round nemsis plugin

Posted: 26 May 2019, 11:28
by Muhammet20
hellooooooo ?!?!?

Re: first round nemsis plugin

Posted: 16 Jun 2019, 14:13
by Mohamed Alaa
  1. #include <zombie_escape>
  2.  
  3. new bool:g_bNemesis[33]
  4.  
  5. public plugin_init()
  6. {
  7.     register_plugin("[ZE] First ZM are nemesis", "1.0", "Jack")
  8. }
  9.  
  10. public ze_zombie_appear()
  11. {
  12.     new iPlayers[32], iSelected[33], iTotalPlayers, id, iCount, iRandomIndex
  13.     get_players(iPlayers, iTotalPlayers)
  14.  
  15.     if (iTotalPlayers > 0)
  16.     {
  17.         for (id = 0; id <= iTotalPlayers; id++)
  18.         {
  19.             iRandomIndex = iPlayers[id]
  20.  
  21.             if (!is_user_alive(id) || !ze_is_user_zombie(id))
  22.                 continue
  23.  
  24.             iSelected[iCount] = iRandomIndex
  25.             iCount++
  26.         }
  27.  
  28.         iRandomIndex = iSelected[random(--iCount)]
  29.         g_bNemesis[iRandomIndex] =
  30.  
  31.         new szName[32]
  32.         get_user_name(iRandomIndex, szName, charsmax(szName))
  33.         client_print(0, print_chat, "%s became nemesis", szName)
  34.         client_print(iRandomIndex, print_chat, "You became nemesis")
  35.     }
  36. }
  37.  
  38. public ze_roundend()
  39. {
  40.     for (new id = 0; id <= get_member_game(m_nMaxPlayers); id++)
  41.     {
  42.         if (!is_user_alive(id) || !ze_is_user_zombie(id))
  43.             continue
  44.            
  45.         g_bNemesis[id] = false
  46.     }
  47. }