#include <amxmodx>
#include <zombieplague>
#include <zp50_gamemodes>
#include <zp50_core>
#define PLUGIN "NemesisMode"
#define VERSION "1.2"
#define AUTHOR "ORNEK"
new const TAG[] = "DEATHMATCH";
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
}
public zp_round_started(GameMode, id)
{
zp_gamemodes_start(zp_gamemodes_get_id("Multi ple Infection Mode"));
set_task(1.0, "MakeNemesis");
}
public MakeNemesis(id)
{
new Players[32], NumAll;
get_players(Players, NumAll);
for(new i; i < NumAll; i++)
{
id = Players[i];
if(zp_get_user_zombie(id) || zp_core_is_zombie(id))
{
zp_make_user_nemesis(id);
}
else
{
zp_set_user_ammo_packs(id, zp_get_user_ammo_packs(id) + 1000);
}
}
renkli_yazi(0, "^1[^3%s^1] ^4Hesabiniza^3 1000 Cephane Paketi ^4Eklendi", TAG);
}
stock renkli_yazi(const id, const input[], any:...)
{
new count = 1, players[32];
static msg[191];
vformat(msg, 190, input, 3);
replace_all(msg, 190, "^1", "^x01"); // Default Renk(Sarı)
replace_all(msg, 190, "^4", "^x04"); // Yeşil Renk
replace_all(msg, 190, "^3", "^x03"); // Takım Renk( CT mavi , T kırmızı )
if (id) players[0] = id; else get_players(players, count, "ch");
{
for (new i = 0; i < count; i++)
{
if (is_user_connected(players[i]))
{
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
write_byte(players[i]);
write_string(msg);
message_end();
}
}
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/
Can these components be removed from zombie times and made once per map according to deathmatch maintenances?
|