←  Szukam pluginu

AMXX.pl: Support AMX Mod X i SourceMod

»

Plugin Plaga

jumper343's Photo jumper343 06.12.2013

Witam

Szukam pluginu który sie nazywa plaga plugin jest do zombieplague 4.3 w pluginie chodzi o to że jest to tryb gry w którym są same nemki vs survy Pomoże mi ktoś znaleźć .

Proszę o pomoc w znalezieniu pluginu .

 

Quote

Daj buziaka's Photo Daj buziaka 06.12.2013

plaga to jest plague.

 

http://amxx.pl/topic...-plague-mod-43/

Quote

  • +
  • -
Szymon035's Photo Szymon035 06.12.2013

Ale nie jest przypadkiem tak że nemki vs survy to jest armageddon mod? Bo na pladze jest tak że jest 1 nemek i jeden surv a reszta to zwykłe zombie lub zwykli humani

Quote

jumper343's Photo jumper343 06.12.2013

Okey już znalazłem a da rade to poprawić żeby nemek nie miał  surva na chita bo walnie mu 250 na hita i surv pada. :/

 

 

#include <amxmodx>
#include <fakemeta>
#include <zombieplague>
 
new g_maxplayers, cvar_plaguenemhpmulti, cvar_plaguesurvhpmulti
 
public plugin_init()
{
// This addon makes Plague rounds be 50% nemesis and 50% survivors
// REQUIRES ZP version 4.3-beta1 or later
register_plugin("[ZP] 50-50 Plague Mode", "0.2", "MeRcyLeZZ")
 
g_maxplayers = get_maxplayers()
}
 
public plugin_cfg()
{
cvar_plaguenemhpmulti = get_cvar_pointer("zp_plague_nem_hp_multi")
cvar_plaguesurvhpmulti = get_cvar_pointer("zp_plague_surv_hp_multi")
}
 
public zp_round_started(gamemode)
{
// Plague mode only
if (gamemode != MODE_PLAGUE)
return;
 
static id
for (id = 1; id <= g_maxplayers; id++)
{
// Dead or already a nemesis/survivor
if (!is_user_alive(id) || zp_get_user_nemesis(id) || zp_get_user_survivor(id))
continue;
 
if (zp_get_user_zombie(id))
{
// Turn zombies into Nemesis
zp_make_user_nemesis(id)
 
// Apply nemesis health multiplier
set_pev(id, pev_health, float(pev(id, pev_health))*get_pcvar_float(cvar_plaguenemhpmulti))
}
else
{
// Turn humans into Survivors
zp_make_user_survivor(id)
 
// Apply survivor health multiplier
set_pev(id, pev_health, float(pev(id, pev_health))*get_pcvar_float(cvar_plaguesurvhpmulti))
}
}
}
 

Edited by jumper343, 06.12.2013 20:06.
Quote

jumper343's Photo jumper343 06.12.2013

mam już zrobioną i poprawioną tą plage ale nie wiem dla czego jak ją włączam to np: jak jest 4graczy 2robi sie survami i 2 nemkami i jeden nemek ma 15k hp a 2 ma 5k hp a survy jeden ma 5kp a 2 ma 200hp jak zmienić żeby wszystkie survy mieli po 5k hp nie tylko 1 

 

 

#include <amxmodx>
#include <fakemeta>
#include <zombieplague>

new g_maxplayers, cvar_plaguenemhp, cvar_plaguesurvhp

public plugin_init()
{
// This addon makes Plague rounds be 50% nemesis and 50% survivors
// REQUIRES ZP version 4.3-beta1 or later
register_plugin("[ZP] 50-50 Plague Mode", "0.2", "MeRcyLeZZ")

g_maxplayers = get_maxplayers()
}

public plugin_cfg()
{
cvar_plaguenemhp = register_cvar("zp_plague_nem_hp", "15000")
cvar_plaguesurvhp = register_cvar("zp_plague_surv_hp", "5000")
}

public zp_round_started(gamemode)
{
// Plague mode only
if (gamemode != MODE_PLAGUE)
return;

static id
for (id = 1; id <= g_maxplayers; id++)
{
// Dead or already a nemesis/survivor
if (!is_user_alive(id) || zp_get_user_nemesis(id) || zp_get_user_survivor(id))
continue;

if (zp_get_user_zombie(id))
{
// Turn zombies into Nemesis
zp_make_user_nemesis(id)

// Set nemesis health
set_pev(id, pev_health, float(get_pcvar_num(cvar_plaguenemhp)))
}
else
{
// Turn humans into Survivors
zp_make_user_survivor(id)

// Set survivor health
set_pev(id, pev_health, float(get_pcvar_num(cvar_plaguesurvhp)))
}
}

Quote