[Updated] Nemesis Round v1.1
-
- Senior Member
- Posts: 106
- Joined: 1 Year Ago
- Has thanked: 1 time
- Been thanked: 3 times
- Contact:
- Muhammet20
- Veteran Member
- Posts: 408
- Joined: 1 Year Ago
- Location: Turkey
- Has thanked: 36 times
- Been thanked: 5 times
- Age: 15
- Contact:
bro just wait i will see where is the problem idk !
[Learning HTML coding language]
[Learning Unreal Engine 4]
[Learning Adobe programs]
-
- Senior Member
- Posts: 106
- Joined: 1 Year Ago
- Has thanked: 1 time
- Been thanked: 3 times
- Contact:
Bro i said to compile that plugin for me. What is wrong with u?
- Muhammet20
- Veteran Member
- Posts: 408
- Joined: 1 Year Ago
- Location: Turkey
- Has thanked: 36 times
- Been thanked: 5 times
- Age: 15
- Contact:
which version of ze are you using ?Mystic Viper wrote: ↑5 Months AgoBro i said to compile that plugin for me. What is wrong with u?
compile to what bro ?
[Learning HTML coding language]
[Learning Unreal Engine 4]
[Learning Adobe programs]
- Muhammet20
- Veteran Member
- Posts: 408
- Joined: 1 Year Ago
- Location: Turkey
- Has thanked: 36 times
- Been thanked: 5 times
- Age: 15
- Contact:
you mean give you the amxx file ?
[Learning HTML coding language]
[Learning Unreal Engine 4]
[Learning Adobe programs]
-
- Senior Member
- Posts: 106
- Joined: 1 Year Ago
- Has thanked: 1 time
- Been thanked: 3 times
- Contact:
- /*
- Version 1.1:
- What is News ?
- 1- Added Lonjump Plugin To Nemsesis Zombies
- 2- The Nemesis round now is in the last round
- 3- Fixed Bugs & Some Problems
- And Special thanks to Jack Gameplay
- */
- #include <zombie_escape>
- new MaxRounds
- new RoundCount
- native give_longjump(id)
- new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
- new const g_szNemsisModel[] = "Nemesis_Zombie"
- public plugin_init()
- {
- register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
- register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
- MaxRounds = get_cvar_pointer("mp_maxrounds")
- }
- public plugin_precache()
- {
- new szModelPath[32]
- precache_model(v_model)
- formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
- precache_model(szModelPath)
- }
- public ze_roundend()
- {
- RoundCount++
- }
- public new_map_or_restart()
- {
- RoundCount = 0
- }
- public ze_zombie_appear(id)
- {
- if(get_pcvar_num(MaxRounds) - RoundCount == 1)
- {
- set_task(0.1, "models", id)
- claws_model(id)
- messages(id)
- give_longjump(id)
- }
- }
- public ze_user_infected_pre(iVictim, iInfector, iDamage)
- {
- if(get_pcvar_num(MaxRounds) - RoundCount != 1)
- return
- new g_attacker = read_data(1);
- new g_victim = read_data(2);
- if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
- {
- set_task(0.01, "kill_no_infect", g_victim)
- }
- return 1;
- }
- public kill_no_infect(id)
- {
- user_silentkill(id)
- }
- public models(id)
- {
- if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
- {
- rg_reset_user_model(id)
- rg_set_user_model(id, g_szNemsisModel)
- }
- }
- public messages(id)
- {
- PlaySound(id, "zombie_escape/nemesis_fantasy_scream.wav")
- }
- public claws_model(id)
- {
- if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
- {
- rg_give_item(id, "weapon_knife")
- set_pev(id, pev_viewmodel2, v_model)
- set_pev(id, pev_weaponmodel2, "")
- }
- }
- Muhammet20
- Veteran Member
- Posts: 408
- Joined: 1 Year Ago
- Location: Turkey
- Has thanked: 36 times
- Been thanked: 5 times
- Age: 15
- Contact:
Mystic Viper wrote: ↑5 Months Agoyes but this sma
/* Version 1.1: What is News ? 1- Added Lonjump Plugin To Nemsesis Zombies 2- The Nemesis round now is in the last round 3- Fixed Bugs & Some Problems And Special thanks to Jack Gameplay */ #include <zombie_escape> new MaxRounds new RoundCount native give_longjump(id) new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl" new const g_szNemsisModel[] = "Nemesis_Zombie" public plugin_init() { register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming") register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w") MaxRounds = get_cvar_pointer("mp_maxrounds") } public plugin_precache() { new szModelPath[32] precache_model(v_model) formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel) precache_model(szModelPath) } public ze_roundend() { RoundCount++ } public new_map_or_restart() { RoundCount = 0 } public ze_zombie_appear(id) { if(get_pcvar_num(MaxRounds) - RoundCount == 1) { set_task(0.1, "models", id) claws_model(id) messages(id) give_longjump(id) } } public ze_user_infected_pre(iVictim, iInfector, iDamage) { if(get_pcvar_num(MaxRounds) - RoundCount != 1) return new g_attacker = read_data(1); new g_victim = read_data(2); if(g_victim != g_attacker && ze_is_user_zombie(g_attacker)) { set_task(0.01, "kill_no_infect", g_victim) } return 1; } public kill_no_infect(id) { user_silentkill(id) } public models(id) { if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1) { rg_reset_user_model(id) rg_set_user_model(id, g_szNemsisModel) } } public messages(id) { PlaySound(id, "zombie_escape/nemesis_fantasy_scream.wav") } public claws_model(id) { if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id)) { rg_give_item(id, "weapon_knife") set_pev(id, pev_viewmodel2, v_model) set_pev(id, pev_weaponmodel2, "") } }
wait bro i will convert from zp to ze better than make it with myself
[Learning HTML coding language]
[Learning Unreal Engine 4]
[Learning Adobe programs]
-
- Senior Member
- Posts: 106
- Joined: 1 Year Ago
- Has thanked: 1 time
- Been thanked: 3 times
- Contact:
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>"
- /*
- Version 1.1:
- What is News ?
- 1- Added Lonjump Plugin To Nemsesis Zombies
- 2- The Nemesis round now is in the last round
- 3- Fixed Bugs & Some Problems
- And Special thanks to Jack Gameplay
- */
- #include <zombie_escape>
- new MaxRounds
- new RoundCount
- native give_longjump(id)
- new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
- new const g_szNemsisModel[] = "Nemesis_Zombie"
- public plugin_init()
- {
- register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
- register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
- MaxRounds = get_cvar_pointer("mp_maxrounds")
- }
- public plugin_precache()
- {
- new szModelPath[32]
- precache_model(v_model)
- formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
- precache_model(szModelPath)
- }
- public ze_roundend()
- {
- RoundCount++
- }
- public new_map_or_restart()
- {
- RoundCount = 0
- }
- public ze_zombie_appear(id)
- {
- if(get_pcvar_num(MaxRounds) - RoundCount == 1)
- {
- set_task(0.1, "models", id)
- claws_model(id)
- messages(id)
- give_longjump(id)
- }
- }
- public ze_user_infected_pre(iVictim, iInfector, iDamage)
- {
- if(get_pcvar_num(MaxRounds) - RoundCount != 1)
- return
- new g_attacker = read_data(1);
- new g_victim = read_data(2);
- if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
- {
- set_task(0.01, "kill_no_infect", g_victim)
- }
- return 1;
- }
- public kill_no_infect(id)
- {
- user_silentkill(id)
- }
- public models(id)
- {
- if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
- {
- rg_reset_user_model(id)
- rg_set_user_model(id, g_szNemsisModel)
- }
- }
- public messages(id)
- {
- PlaySound(id, "zombie_escape/nemesis_fantasy_scream.wav")
- }
- public claws_model(id)
- {
- if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
- {
- rg_give_item(id, "weapon_knife")
- set_pev(id, pev_viewmodel2, v_model)
- set_pev(id, pev_weaponmodel2, "")
- }
- }
- Raheem
- Mod Developer
- Posts: 1972
- Joined: 2 Years Ago
- Location: Egypt
- Has thanked: 32 times
- Been thanked: 108 times
- Age: 22
- Contact:
Try and use final released compiler:
- /*
- Version 1.1:
- What is News ?
- 1- Added Lonjump Plugin To Nemsesis Zombies
- 2- The Nemesis round now is in the last round
- 3- Fixed Bugs & Some Problems
- And Special thanks to Jack Gameplay
- */
- #include <zombie_escape>
- new MaxRounds
- new RoundCount
- native give_longjump(id)
- new const v_model[] = "models/zombie_escape/Nemesis_Claws.mdl"
- new const g_szNemsisModel[] = "Nemesis_Zombie"
- public plugin_init()
- {
- register_plugin("[ZE] Nemsis round", "1.1", "Kaya Gaming")
- register_event("TextMsg", "new_map_or_restart", "a", "2&#Game_C", "2&#Game_w")
- MaxRounds = get_cvar_pointer("mp_maxrounds")
- }
- public plugin_precache()
- {
- new szModelPath[32]
- precache_model(v_model)
- formatex(szModelPath, charsmax(szModelPath), "models/player/%s/%s.mdl", g_szNemsisModel, g_szNemsisModel)
- precache_model(szModelPath)
- }
- public ze_roundend()
- {
- RoundCount++
- }
- public new_map_or_restart()
- {
- RoundCount = 0
- }
- public ze_zombie_appear(id)
- {
- if(get_pcvar_num(MaxRounds) - RoundCount == 1)
- {
- set_task(0.1, "models", id)
- claws_model(id)
- messages(id)
- give_longjump(id)
- }
- }
- public ze_user_infected_pre(iVictim, iInfector, iDamage)
- {
- if(get_pcvar_num(MaxRounds) - RoundCount != 1)
- return 0;
- new g_attacker = read_data(1);
- new g_victim = read_data(2);
- if(g_victim != g_attacker && ze_is_user_zombie(g_attacker))
- {
- set_task(0.01, "kill_no_infect", g_victim)
- }
- return 1;
- }
- public kill_no_infect(id)
- {
- user_silentkill(id)
- }
- public models(id)
- {
- if(ze_is_user_zombie(id) && get_pcvar_num(MaxRounds) - RoundCount == 1)
- {
- rg_reset_user_model(id)
- rg_set_user_model(id, g_szNemsisModel)
- }
- }
- public messages(id)
- {
- PlaySound(id, "zombie_escape/nemesis_fantasy_scream.wav")
- }
- public claws_model(id)
- {
- if(get_pcvar_num(MaxRounds) - RoundCount == 1 && get_user_weapon(id) == CSW_KNIFE && ze_is_user_zombie(id))
- {
- rg_give_item(id, "weapon_knife")
- set_pev(id, pev_viewmodel2, v_model)
- set_pev(id, pev_weaponmodel2, "")
- }
- }
ze_user_infected_pre()
should be defined in your includes as:
- forward ze_user_infected_pre(iVictim, iInfector, iDamage);
You don't know? Learn and you will know.
Who is online
Users browsing this forum: No registered users and 2 guests