[ze] free vip eklentisi
Gönderilme zamanı: Cum Ağu 28, 2020 3:27 pm
ekte paylaşacağım eklentide belirli bir saat aralığında free vip eklentisi devreye giriyor ama ben bu eklentinin hep açık kalmasını istiyorum yardım eder misiniz ?
Kod: Tümünü seç
#include <amxmodx>
#include <zombieplague>
#define PLUGIN "Saat Cvar"
#define VERSION "1.0"
#define AUTHOR "DPCS"
new suankimap[250]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("ElBasi",2,"1=Round_Start")
register_cvar("freevip_manuel","0")
register_event("HLTV", "Cephane", "a", "1=0", "2=0")
}
public ElBasi()
{
get_mapname(suankimap,249)
if(get_cvar_num("freevip_manuel"))
{
set_cvar_num("zp_human_speed",240)
set_cvar_num("escape_xp_amount_human",540)
set_cvar_num("escape_xp_amount_zombie",540)
renkli_yazi(0,"!g[ - ThugsArmy - ] !nDoubleXP and Vip Features !t-> !gACTIVE!")
renkli_yazi(0,"!g[ - ThugsArmy - ] !nDoubleXP and Vip Features !t-> !gACTIVE!")
renkli_yazi(0,"!g[ - ThugsArmy - ] !nDoubleXP and Vip Features !t-> !gACTIVE!")
if((contain(suankimap, "de_") != -1) || (contain(suankimap, "cs_") != -1) || (contain(suankimap, "big_") != -1))
{
server_cmd("hostname ^"[FreeVIP + x6EXP] ThugsArmy Gaming | Zombie Escape | NEMESIS MOD!^"")
}
else
{
server_cmd("hostname ^"[FreeVIP + x6EXP] ThugsArmy Gaming | Zombie Escape | CS80 | [TR]^"")
}
}
else
{
set_cvar_num("freevip_hour",0)
set_cvar_num("zp_human_speed",260)
set_cvar_num("escape_xp_amount_human",360)
set_cvar_num("escape_xp_amount_zombie",360)
}
if(!(contain(suankimap, "de_") != -1) && !(contain(suankimap, "cs_") != -1) && !(contain(suankimap, "big_") != -1))
{
server_cmd("amx_votemap cs_assault_1337 de_westwood de_dust")
}
}
public Cephane()
{
new players[32],inum,id
get_players(players,inum)
for(new i;i<inum;i++)
{
id = players[i]
get_mapname(suankimap,249)
if((contain(suankimap, "de_") != -1) || (contain(suankimap, "cs_") != -1) || (contain(suankimap, "big_") != -1))
{
new current_ammopacks = zp_get_user_ammo_packs(id)
zp_set_user_ammo_packs(id, current_ammopacks + 999)
renkli_yazi(id,"!g[ - ThugsArmy - ] !tHesabina !g999CP !teklendi.")
renkli_yazi(id,"!g[ - ThugsArmy - ] !tAdded !g999AP !tto your account.")
renkli_yazi(id,"!g[ - ThugsArmy - ] !tHesabina 999CP !teklendi.")
renkli_yazi(id,"!g[ - ThugsArmy - ] !tAdded !g999AP !tto your account.")
renkli_yazi(id,"!g[ - ThugsArmy - ] !tHesabina 999CP !teklendi.")
renkli_yazi(id,"!g[ - ThugsArmy - ] !tAdded !g999AP !tto your account.")
}
}
}
stock renkli_yazi(const id, const input[], any:...)
{
new count = 1, players[32]
static msg[191]
vformat(msg, sizeof(msg) - 1, input, 3)
replace_all(msg, 190, "!n", "^x01")
replace_all(msg, 190, "!g", "^x04")
replace_all(msg, 190, "!t", "^x03")
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()
}
}
}
Kod: Tümünü seç
#include <amxmodx>
#include <zombieplague>
#define PLUGIN "Saat Cvar"
#define VERSION "1.0"
#define AUTHOR "DPCS"
new suankimap[250]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("ElBasi",2,"1=Round_Start")
register_cvar("freevip_manuel","0")
register_event("HLTV", "Cephane", "a", "1=0", "2=0")
}
public ElBasi()
{
get_mapname(suankimap,249)
if(get_cvar_num("freevip_manuel"))
{
set_cvar_num("zp_human_speed",240)
set_cvar_num("escape_xp_amount_human",540)
set_cvar_num("escape_xp_amount_zombie",540)
renkli_yazi(0,"!g[ - ThugsArmy - ] !nDoubleXP and Vip Features !t-> !gACTIVE!")
renkli_yazi(0,"!g[ - ThugsArmy - ] !nDoubleXP and Vip Features !t-> !gACTIVE!")
renkli_yazi(0,"!g[ - ThugsArmy - ] !nDoubleXP and Vip Features !t-> !gACTIVE!")
if((contain(suankimap, "de_") != -1) || (contain(suankimap, "cs_") != -1) || (contain(suankimap, "big_") != -1))
{
server_cmd("hostname ^"[FreeVIP + x6EXP] ThugsArmy Gaming | Zombie Escape | NEMESIS MOD!^"")
}
else
{
server_cmd("hostname ^"[FreeVIP + x6EXP] ThugsArmy Gaming | Zombie Escape | CS80 | [TR]^"")
}
}
else
{
set_cvar_num("freevip_hour",0)
set_cvar_num("zp_human_speed",260)
set_cvar_num("escape_xp_amount_human",360)
set_cvar_num("escape_xp_amount_zombie",360)
}
}
public Cephane()
{
new players[32],inum,id
get_players(players,inum)
for(new i;i<inum;i++)
{
id = players[i]
get_mapname(suankimap,249)
if((contain(suankimap, "de_") != -1) || (contain(suankimap, "cs_") != -1) || (contain(suankimap, "big_") != -1))
{
new current_ammopacks = zp_get_user_ammo_packs(id)
zp_set_user_ammo_packs(id, current_ammopacks + 999)
renkli_yazi(id,"!g[ - ThugsArmy - ] !tHesabina !g999CP !teklendi.")
renkli_yazi(id,"!g[ - ThugsArmy - ] !tAdded !g999AP !tto your account.")
renkli_yazi(id,"!g[ - ThugsArmy - ] !tHesabina 999CP !teklendi.")
renkli_yazi(id,"!g[ - ThugsArmy - ] !tAdded !g999AP !tto your account.")
renkli_yazi(id,"!g[ - ThugsArmy - ] !tHesabina 999CP !teklendi.")
renkli_yazi(id,"!g[ - ThugsArmy - ] !tAdded !g999AP !tto your account.")
}
}
}
stock renkli_yazi(const id, const input[], any:...)
{
static msg[191]
vformat(msg, sizeof(msg) - 1, input, 3)
replace_all(msg, 190, "!n", "^x01")
replace_all(msg, 190, "!g", "^x04")
replace_all(msg, 190, "!t", "^x03")
client_print_color(id,id,msg);
}
Aconyonn yazdı: Cum Ağu 28, 2020 6:00 pmKod: Tümünü seç
#include <amxmodx> #include <zombieplague> #define PLUGIN "Saat Cvar" #define VERSION "1.0" #define AUTHOR "DPCS" new suankimap[250] public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_logevent("ElBasi",2,"1=Round_Start") register_cvar("freevip_manuel","0") register_event("HLTV", "Cephane", "a", "1=0", "2=0") } public ElBasi() { get_mapname(suankimap,249) if(get_cvar_num("freevip_manuel")) { set_cvar_num("zp_human_speed",240) set_cvar_num("escape_xp_amount_human",540) set_cvar_num("escape_xp_amount_zombie",540) renkli_yazi(0,"!g[ - ThugsArmy - ] !nDoubleXP and Vip Features !t-> !gACTIVE!") renkli_yazi(0,"!g[ - ThugsArmy - ] !nDoubleXP and Vip Features !t-> !gACTIVE!") renkli_yazi(0,"!g[ - ThugsArmy - ] !nDoubleXP and Vip Features !t-> !gACTIVE!") if((contain(suankimap, "de_") != -1) || (contain(suankimap, "cs_") != -1) || (contain(suankimap, "big_") != -1)) { server_cmd("hostname ^"[FreeVIP + x6EXP] ThugsArmy Gaming | Zombie Escape | NEMESIS MOD!^"") } else { server_cmd("hostname ^"[FreeVIP + x6EXP] ThugsArmy Gaming | Zombie Escape | CS80 | [TR]^"") } } else { set_cvar_num("freevip_hour",0) set_cvar_num("zp_human_speed",260) set_cvar_num("escape_xp_amount_human",360) set_cvar_num("escape_xp_amount_zombie",360) } } public Cephane() { new players[32],inum,id get_players(players,inum) for(new i;i<inum;i++) { id = players[i] get_mapname(suankimap,249) if((contain(suankimap, "de_") != -1) || (contain(suankimap, "cs_") != -1) || (contain(suankimap, "big_") != -1)) { new current_ammopacks = zp_get_user_ammo_packs(id) zp_set_user_ammo_packs(id, current_ammopacks + 999) renkli_yazi(id,"!g[ - ThugsArmy - ] !tHesabina !g999CP !teklendi.") renkli_yazi(id,"!g[ - ThugsArmy - ] !tAdded !g999AP !tto your account.") renkli_yazi(id,"!g[ - ThugsArmy - ] !tHesabina 999CP !teklendi.") renkli_yazi(id,"!g[ - ThugsArmy - ] !tAdded !g999AP !tto your account.") renkli_yazi(id,"!g[ - ThugsArmy - ] !tHesabina 999CP !teklendi.") renkli_yazi(id,"!g[ - ThugsArmy - ] !tAdded !g999AP !tto your account.") } } } stock renkli_yazi(const id, const input[], any:...) { static msg[191] vformat(msg, sizeof(msg) - 1, input, 3) replace_all(msg, 190, "!n", "^x01") replace_all(msg, 190, "!g", "^x04") replace_all(msg, 190, "!t", "^x03") client_print_color(id,id,msg); }