Witam szukam pluginu który by blokował rzucanie HE Granatem na 15 sec,
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Blokada HE na okreslony Czas
Temat rozp. Night90, 07.08.2010 18:10
5 odpowiedzi w tym temacie
#2
Napisano 07.08.2010 21:24
15 s od czego
#4
Napisano 08.08.2010 00:42
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "He na czas"
#define VERSION "1.0"
#define AUTHOR "lisek"
new bool: costam=true
new hejcz[33]=0
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("CurWeapon","switchweapon","be","1=1")
register_logevent("runda",2,"1=Round_Start")
register_logevent("func_round",2,"1=Round_End")
register_event("TextMsg", "restart_round", "a", "2&#Game_will_restart_in")
}
public switchweapon(id)
{
if(costam==true && is_user_alive(id))
{
new ammo, clip, weapon = get_user_weapon(id, ammo, clip)
if(weapon==CSW_HEGRENADE){
client_cmd(id, "lastinv")
set_hudmessage(255, 0, 0, 0.06, 0.59, 1, 6.0, 1.0)
show_hudmessage(id, "He rzucamy 15 sekund po rozpoczeciu rundy !")
hejcz[id]=1
}
}
}
public runda() set_task(15.0, "bul")
public bul(){
costam=false
for(new i=1; i<=32; i++){
if(hejcz[i]==1 && is_user_connected(i))
{
set_hudmessage(0, 0, 255, 0.06, 0.59, 1, 6.0, 1.0)
show_hudmessage(i, "15 sekund minelo !")
}
}
}
public func_round()
{
costam=true
for(new i=1; i<=32; i++) hejcz[i]=0
}
public restart_round()
{
costam=true
for(new i=1; i<=32; i++) hejcz[i]=0
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par }
*/
Użytkownik Joke edytował ten post 08.08.2010 00:42
#6
Napisano 08.08.2010 17:35
a tak
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "He na czas"
#define VERSION "1.0"
#define AUTHOR "lisek"
new bool: costam=true
new hejcz[33]=0
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("CurWeapon","switchweapon","be","1=1")
register_logevent("runda",2,"1=Round_Start")
register_logevent("func_round",2,"1=Round_End")
register_event("TextMsg", "restart_round", "a", "2&#Game_will_restart_in")
}
public switchweapon(id)
{
if(costam==true && is_user_alive(id))
{
new ammo, clip, weapon = get_user_weapon(id, ammo, clip)
if(weapon==CSW_HEGRENADE && CSW_KNIFE){
client_cmd(id, "lastinv")
set_hudmessage(255, 0, 0, 0.06, 0.59, 1, 6.0, 1.0)
show_hudmessage(id, "He rzucamy 15 sekund po rozpoczeciu rundy !")
hejcz[id]=1
}
}
}
public runda() set_task(15.0, "bul")
public bul(){
costam=false
for(new i=1; i<=32; i++){
if(hejcz[i]==1 && is_user_connected(i))
{
set_hudmessage(0, 0, 255, 0.06, 0.59, 1, 6.0, 1.0)
show_hudmessage(i, "15 sekund minelo !")
}
}
}
public func_round()
{
costam=true
for(new i=1; i<=32; i++) hejcz[i]=0
}
public restart_round()
{
costam=true
for(new i=1; i<=32; i++) hejcz[i]=0
}
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych