[Updated] Nemesis Round v1.1

Useless Stuffs, Spam ... etc
Mystic Viper
Member
Member
Romania
Posts: 98
Joined: 10 Months Ago
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: [Updated] Nemesis Round v1.1

#41

Post by Mystic Viper » 1 Month Ago

so?

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 358
Joined: 11 Months Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#42

Post by Muhammet20 » 1 Month Ago

Mystic Viper wrote:
1 Month Ago
so?
bro just wait i will see where is the problem idk !
.::Kaya Gaming || Never Give Up || Zombie Escape::.
https://kaya-gaming.ga/index.php

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

Mystic Viper
Member
Member
Romania
Posts: 98
Joined: 10 Months Ago
Has thanked: 1 time
Been thanked: 3 times
Contact:

#43

Post by Mystic Viper » 1 Month Ago

Muhammet20 wrote:
1 Month Ago
Mystic Viper wrote:
1 Month Ago
so?
bro just wait i will see where is the problem idk !
Bro i said to compile that plugin for me. What is wrong with u?

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 358
Joined: 11 Months Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#44

Post by Muhammet20 » 1 Month Ago

Mystic Viper wrote:
1 Month Ago
Muhammet20 wrote:
1 Month Ago
Mystic Viper wrote:
1 Month Ago
so?
bro just wait i will see where is the problem idk !
Bro i said to compile that plugin for me. What is wrong with u?
which version of ze are you using ?
compile to what bro ?
.::Kaya Gaming || Never Give Up || Zombie Escape::.
https://kaya-gaming.ga/index.php

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 358
Joined: 11 Months Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#45

Post by Muhammet20 » 1 Month Ago

you mean give you the amxx file ?
.::Kaya Gaming || Never Give Up || Zombie Escape::.
https://kaya-gaming.ga/index.php

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

Mystic Viper
Member
Member
Romania
Posts: 98
Joined: 10 Months Ago
Has thanked: 1 time
Been thanked: 3 times
Contact:

#46

Post by Mystic Viper » 1 Month Ago

  1. /*
  2. Version 1.1:
  3. What is News ?
  4.  
  5. 1- Added Lonjump Plugin To Nemsesis Zombies
  6. 2- The Nemesis round now is in the last round
  7. 3- Fixed Bugs & Some Problems
  8.  
  9. And Special thanks to Jack Gameplay
  10. */
  11.  
  12.  
  13. #include <zombie_escape>
  14.  
  15. new MaxRounds
  16. new RoundCount
  17.  
  18. native give_longjump(id)
  19.  
  20. new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
  21. new const g_szNemsisModel[] = "Nemesis_Zombie"
  22.  
  23.  
  24. public plugin_init()
  25. {
  26.     register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
  27.    
  28.     register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
  29.    
  30.     MaxRounds = get_cvar_pointer("mp_maxrounds")
  31. }
  32. public plugin_precache()
  33. {
  34.     new szModelPath[32]
  35.     precache_model(v_model)
  36.     formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
  37.     precache_model(szModelPath)
  38. }
  39. public ze_roundend()
  40. {
  41.     RoundCount++
  42. }
  43. public new_map_or_restart()
  44. {
  45.     RoundCount = 0
  46. }
  47. public ze_zombie_appear(id)
  48. {
  49.     if(get_pcvar_num(MaxRounds) - RoundCount == 1)
  50.     {
  51.         set_task(0.1, "models", id)
  52.         claws_model(id)
  53.         messages(id)
  54.         give_longjump(id)
  55.     }
  56. }
  57. public ze_user_infected_pre(iVictim, iInfector, iDamage)
  58. {
  59.     if(get_pcvar_num(MaxRounds) - RoundCount != 1)
  60.         return
  61.        
  62.     new g_attacker = read_data(1);
  63.     new g_victim = read_data(2);
  64.    
  65.     if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
  66.     {
  67.         set_task(0.01, "kill_no_infect", g_victim)
  68.     }
  69.     return 1;
  70. }
  71. public kill_no_infect(id)
  72. {
  73.     user_silentkill(id)
  74. }
  75. public models(id)
  76. {
  77.     if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
  78.     {
  79.         rg_reset_user_model(id)
  80.         rg_set_user_model(id, g_szNemsisModel)
  81.     }
  82. }
  83.  
  84. public messages(id)
  85. {
  86.     PlaySound(id, "zombie_escape/nemesis_fantasy_scream.wav")
  87. }
  88.  
  89. public claws_model(id)
  90. {
  91.     if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
  92.     {
  93.         rg_give_item(id, "weapon_knife")
  94.         set_pev(id, pev_viewmodel2, v_model)
  95.         set_pev(id, pev_weaponmodel2, "")
  96.     }
  97. }
yes but this sma

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 358
Joined: 11 Months Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#47

Post by Muhammet20 » 1 Month Ago

Mystic Viper wrote:
1 Month Ago
  1. /*
  2. Version 1.1:
  3. What is News ?
  4.  
  5. 1- Added Lonjump Plugin To Nemsesis Zombies
  6. 2- The Nemesis round now is in the last round
  7. 3- Fixed Bugs & Some Problems
  8.  
  9. And Special thanks to Jack Gameplay
  10. */
  11.  
  12.  
  13. #include <zombie_escape>
  14.  
  15. new MaxRounds
  16. new RoundCount
  17.  
  18. native give_longjump(id)
  19.  
  20. new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
  21. new const g_szNemsisModel[] = "Nemesis_Zombie"
  22.  
  23.  
  24. public plugin_init()
  25. {
  26.     register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
  27.    
  28.     register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
  29.    
  30.     MaxRounds = get_cvar_pointer("mp_maxrounds")
  31. }
  32. public plugin_precache()
  33. {
  34.     new szModelPath[32]
  35.     precache_model(v_model)
  36.     formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
  37.     precache_model(szModelPath)
  38. }
  39. public ze_roundend()
  40. {
  41.     RoundCount++
  42. }
  43. public new_map_or_restart()
  44. {
  45.     RoundCount = 0
  46. }
  47. public ze_zombie_appear(id)
  48. {
  49.     if(get_pcvar_num(MaxRounds) - RoundCount == 1)
  50.     {
  51.         set_task(0.1, "models", id)
  52.         claws_model(id)
  53.         messages(id)
  54.         give_longjump(id)
  55.     }
  56. }
  57. public ze_user_infected_pre(iVictim, iInfector, iDamage)
  58. {
  59.     if(get_pcvar_num(MaxRounds) - RoundCount != 1)
  60.         return
  61.        
  62.     new g_attacker = read_data(1);
  63.     new g_victim = read_data(2);
  64.    
  65.     if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
  66.     {
  67.         set_task(0.01, "kill_no_infect", g_victim)
  68.     }
  69.     return 1;
  70. }
  71. public kill_no_infect(id)
  72. {
  73.     user_silentkill(id)
  74. }
  75. public models(id)
  76. {
  77.     if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
  78.     {
  79.         rg_reset_user_model(id)
  80.         rg_set_user_model(id, g_szNemsisModel)
  81.     }
  82. }
  83.  
  84. public messages(id)
  85. {
  86.     PlaySound(id, "zombie_escape/nemesis_fantasy_scream.wav")
  87. }
  88.  
  89. public claws_model(id)
  90. {
  91.     if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
  92.     {
  93.         rg_give_item(id, "weapon_knife")
  94.         set_pev(id, pev_viewmodel2, v_model)
  95.         set_pev(id, pev_weaponmodel2, "")
  96.     }
  97. }
yes but this sma

wait bro i will convert from zp to ze better than make it with myself
.::Kaya Gaming || Never Give Up || Zombie Escape::.
https://kaya-gaming.ga/index.php

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1958
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#48

Post by Raheem » 1 Month Ago

@Mystic Viper, What the problem you faced?
You don't know? Learn and you will know.

Mystic Viper
Member
Member
Romania
Posts: 98
Joined: 10 Months Ago
Has thanked: 1 time
Been thanked: 3 times
Contact:

#49

Post by Mystic Viper » 1 Month Ago

Raheem wrote:
1 Month Ago
@Mystic Viper, What the problem you faced?
nemesis_round.sma(54) : error 025: function heading differs from prototype
nemesis_round.sma(71) : warning 209: function "ze_user_infected_pre" should return a value
nemesis_round.sma(77) : error 078: function uses both "return" and "return <value>"
  1. /*
  2. Version 1.1:
  3. What is News ?
  4.  
  5. 1- Added Lonjump Plugin To Nemsesis Zombies
  6. 2- The Nemesis round now is in the last round
  7. 3- Fixed Bugs & Some Problems
  8.  
  9. And Special thanks to Jack Gameplay
  10. */
  11.  
  12.  
  13. #include <zombie_escape>
  14.  
  15. new MaxRounds
  16. new RoundCount
  17.  
  18. native give_longjump(id)
  19.  
  20. new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
  21. new const g_szNemsisModel[] = "Nemesis_Zombie"
  22.  
  23.  
  24. public plugin_init()
  25. {
  26.     register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
  27.    
  28.     register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
  29.    
  30.     MaxRounds = get_cvar_pointer("mp_maxrounds")
  31. }
  32. public plugin_precache()
  33. {
  34.     new szModelPath[32]
  35.     precache_model(v_model)
  36.     formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
  37.     precache_model(szModelPath)
  38. }
  39. public ze_roundend()
  40. {
  41.     RoundCount++
  42. }
  43. public new_map_or_restart()
  44. {
  45.     RoundCount = 0
  46. }
  47. public ze_zombie_appear(id)
  48. {
  49.     if(get_pcvar_num(MaxRounds) - RoundCount == 1)
  50.     {
  51.         set_task(0.1, "models", id)
  52.         claws_model(id)
  53.         messages(id)
  54.         give_longjump(id)
  55.     }
  56. }
  57. public ze_user_infected_pre(iVictim, iInfector, iDamage)
  58. {
  59.     if(get_pcvar_num(MaxRounds) - RoundCount != 1)
  60.         return
  61.        
  62.     new g_attacker = read_data(1);
  63.     new g_victim = read_data(2);
  64.    
  65.     if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
  66.     {
  67.         set_task(0.01, "kill_no_infect", g_victim)
  68.     }
  69.     return 1;
  70. }
  71. public kill_no_infect(id)
  72. {
  73.     user_silentkill(id)
  74. }
  75. public models(id)
  76. {
  77.     if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
  78.     {
  79.         rg_reset_user_model(id)
  80.         rg_set_user_model(id, g_szNemsisModel)
  81.     }
  82. }
  83.  
  84. public messages(id)
  85. {
  86.     PlaySound(id, "zombie_escape/nemesis_fantasy_scream.wav")
  87. }
  88.  
  89. public claws_model(id)
  90. {
  91.     if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
  92.     {
  93.         rg_give_item(id, "weapon_knife")
  94.         set_pev(id, pev_viewmodel2, v_model)
  95.         set_pev(id, pev_weaponmodel2, "")
  96.     }
  97. }

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1958
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#50

Post by Raheem » 1 Month Ago

Try and use final released compiler:
    1. /*
    2. Version 1.1:
    3. What is News ?
    4.  
    5. 1- Added Lonjump Plugin To Nemsesis Zombies
    6. 2- The Nemesis round now is in the last round
    7. 3- Fixed Bugs & Some Problems
    8.  
    9. And Special thanks to Jack Gameplay
    10. */
    11.  
    12.  
    13. #include <zombie_escape>
    14.  
    15. new MaxRounds
    16. new RoundCount
    17.  
    18. native give_longjump(id)
    19.  
    20. new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
    21. new const g_szNemsisModel[] = "Nemesis_Zombie"
    22.  
    23.  
    24. public plugin_init()
    25. {
    26.     register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
    27.    
    28.     register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
    29.    
    30.     MaxRounds = get_cvar_pointer("mp_maxrounds")
    31. }
    32. public plugin_precache()
    33. {
    34.     new szModelPath[32]
    35.     precache_model(v_model)
    36.     formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
    37.     precache_model(szModelPath)
    38. }
    39. public ze_roundend()
    40. {
    41.     RoundCount++
    42. }
    43. public new_map_or_restart()
    44. {
    45.     RoundCount = 0
    46. }
    47. public ze_zombie_appear(id)
    48. {
    49.     if(get_pcvar_num(MaxRounds) - RoundCount == 1)
    50.     {
    51.         set_task(0.1, "models", id)
    52.         claws_model(id)
    53.         messages(id)
    54.         give_longjump(id)
    55.     }
    56. }
    57. public ze_user_infected_pre(iVictim, iInfector, iDamage)
    58. {
    59.     if(get_pcvar_num(MaxRounds) - RoundCount != 1)
    60.         return 0;
    61.        
    62.     new g_attacker = read_data(1);
    63.     new g_victim = read_data(2);
    64.    
    65.     if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
    66.     {
    67.         set_task(0.01, "kill_no_infect", g_victim)
    68.     }
    69.    
    70.     return 1;
    71. }
    72. public kill_no_infect(id)
    73. {
    74.     user_silentkill(id)
    75. }
    76. public models(id)
    77. {
    78.     if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
    79.     {
    80.         rg_reset_user_model(id)
    81.         rg_set_user_model(id, g_szNemsisModel)
    82.     }
    83. }
    84.  
    85. public messages(id)
    86. {
    87.     PlaySound(id, "zombie_escape/nemesis_fantasy_scream.wav")
    88. }
    89.  
    90. public claws_model(id)
    91. {
    92.     if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
    93.     {
    94.         rg_give_item(id, "weapon_knife")
    95.         set_pev(id, pev_viewmodel2, v_model)
    96.         set_pev(id, pev_weaponmodel2, "")
    97.     }
    98. }
This forward ze_user_infected_pre() should be defined in your includes as:
You don't know? Learn and you will know.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests