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.
|

#1
Napisano 11.08.2011 11:38
Czy umiał by ktoś zrobić pluing o nazwie :
"Promieniowanie"
W tym pluingu chodziło by oto że, po 20 sekundach mapki włącza się automatycznie promieniowanie , która zabiera wszystkim po 1hp co 1(2)sekundy..
Tworzę aktualnie stalker Moda i bardzo by mi się taki pluing przydał..
Jeśli to zły dział proszę o przeniesienie..
#2
Napisano 11.08.2011 11:49
#include <amxmisc> #include <fun> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "DarkGL" new g_iMaxPlayer; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("HLTV", "newRound", "a", "1=0", "2=0") register_logevent("roundEnd", 2, "1=Round_End") g_iMaxPlayer = get_maxplayers() } public newRound() { set_task(20.0,"startRadiation",666); } public roundEnd() { remove_task(666); } public startRadiation(){ set_task(1.0,"radDamage",666,.flags = "b"); } public radDamage(){ for(new id = 1;id <= g_iMaxPlayer;id++){ if(!is_user_alive(id)) continue; set_user_health(id,get_user_health(id)-1); } }
a tutaj wersja ze najpierw zabiera armor do 0 a potem hp
#include <amxmisc> #include <fun> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "DarkGL" new g_iMaxPlayer; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("HLTV", "newRound", "a", "1=0", "2=0") register_logevent("roundEnd", 2, "1=Round_End") g_iMaxPlayer = get_maxplayers() } public newRound() { set_task(20.0,"startRadiation",666); } public roundEnd() { remove_task(666); } public startRadiation(){ set_task(1.0,"radDamage",666,.flags = "b"); } public radDamage(){ for(new id = 1;id <= g_iMaxPlayer;id++){ if(!is_user_alive(id)) continue; get_user_armor(id) > 0 ? set_user_armor(id,get_user_armor(id)-1) : set_user_health(id,get_user_health(id)-1); } }
💸 SellYourSkins.com - Łatwo sprzedaj swoje skiny do CS:GO
💸⇄🃏 Automatyczny Bot Levelowania Steam - LVLUPSteam.com
🛒Coinsy CSGOPolygon Za SMS, PSC, Przelew - CoinSell.pro
Twój Sklep CS2 - CSGOPAKA
Coinsy do CSGOPolygon, CSGO500, CSGOEmpire - CSGOLombard.com
💸 Graj w CS2 / CS 1.6 i zarabiaj - BoostProject.pro
CS2 Gambling Sites and Free Betting Codes - DreamCodes.gg
Otwieraj skrzynki i wygrywaj najlepsze skiny CS2 na SkinsProject.gg
🤑 Accept CS2 skins for online payments and donations - SkinsMoney
Płatności SMS Premium Rate oraz Direct Biling - SimPay.pl
Szukasz noclegu? Kwatery, noclegi, tanie noclegi, wakacje oferty, wczasy nad jeziorem - RuszajWPolske.pl
#3
Napisano 11.08.2011 12:05
A i czy by dało się dodać jakiś charakterystyczny dźwięk żeby było wiadomo że właśnie promieniowanie się zaczęło. Albo jakąś ikonkę po lewej stronie ekranu? żeby było wiadomo oco chodzi? Lub napis na środku ekranu "Uwaga promieniowanie rozpoczęło się"
Użytkownik xXxTravisxXx edytował ten post 11.08.2011 12:10
#4
Napisano 11.08.2011 12:09
Tutaj masz kompilator
Kompilator - AMXX.pl: Support AMX Mod X
Użytkownik Emulov. edytował ten post 11.08.2011 12:10
#5
Napisano 11.08.2011 12:33
#include <amxmisc> #include <fun> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "DarkGL" new g_iMaxPlayer; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("HLTV", "newRound", "a", "1=0", "2=0") register_logevent("roundEnd", 2, "1=Round_End") g_iMaxPlayer = get_maxplayers() } public newRound() { set_hudmessage(255, 42, 0, -1.0, 0.3, 0, 6.0, 5.0) show_hudmessage(0, "Uwaga promieniowanie rozpoczelo się") for(new id = 1;id <= g_iMaxPlayer;id++) Display_Icon(id,1,"dmg_rad",255,0,0); set_task(20.0,"startRadiation",666); } public roundEnd() { remove_task(666); } public startRadiation(){ set_task(1.0,"radDamage",666,.flags = "b"); } public radDamage(){ for(new id = 1;id <= g_iMaxPlayer;id++){ if(!is_user_alive(id)) continue; set_user_health(id,get_user_health(id)-1); } } stock Display_Icon(id, enable, name[], red, green, blue) { static g_iMsg; if(!g_iMsg) g_iMsg = get_user_msgid("StatusIcon") if(!is_user_connected(id)) return ; message_begin(!id ? MSG_ALL : MSG_ONE, g_iMsg, {0,0,0}, id); write_byte(enable); write_string(name); write_byte(red); write_byte(green); write_byte(blue); message_end(); }
z armorem
#include <amxmisc> #include <fun> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "DarkGL" new g_iMaxPlayer; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("HLTV", "newRound", "a", "1=0", "2=0") register_logevent("roundEnd", 2, "1=Round_End") g_iMaxPlayer = get_maxplayers() } public newRound() { set_hudmessage(255, 42, 0, -1.0, 0.3, 0, 6.0, 5.0) show_hudmessage(0, "Uwaga promieniowanie rozpoczelo się") for(new id = 1;id <= g_iMaxPlayer;id++) Display_Icon(id,1,"dmg_rad",255,0,0); set_task(20.0,"startRadiation",666); } public roundEnd() { remove_task(666); } public startRadiation(){ set_task(1.0,"radDamage",666,.flags = "b"); } public radDamage(){ for(new id = 1;id <= g_iMaxPlayer;id++){ if(!is_user_alive(id)) continue; get_user_armor(id) > 0 ? set_user_armor(id,get_user_armor(id)-1) : set_user_health(id,get_user_health(id)-1); } } stock Display_Icon(id, enable, name[], red, green, blue) { static g_iMsg; if(!g_iMsg) g_iMsg = get_user_msgid("StatusIcon") if(!is_user_connected(id)) return ; message_begin(!id ? MSG_ALL : MSG_ONE, g_iMsg, {0,0,0}, id); write_byte(enable); write_string(name); write_byte(red); write_byte(green); write_byte(blue); message_end(); }
💸 SellYourSkins.com - Łatwo sprzedaj swoje skiny do CS:GO
💸⇄🃏 Automatyczny Bot Levelowania Steam - LVLUPSteam.com
🛒Coinsy CSGOPolygon Za SMS, PSC, Przelew - CoinSell.pro
Twój Sklep CS2 - CSGOPAKA
Coinsy do CSGOPolygon, CSGO500, CSGOEmpire - CSGOLombard.com
💸 Graj w CS2 / CS 1.6 i zarabiaj - BoostProject.pro
CS2 Gambling Sites and Free Betting Codes - DreamCodes.gg
Otwieraj skrzynki i wygrywaj najlepsze skiny CS2 na SkinsProject.gg
🤑 Accept CS2 skins for online payments and donations - SkinsMoney
Płatności SMS Premium Rate oraz Direct Biling - SimPay.pl
Szukasz noclegu? Kwatery, noclegi, tanie noclegi, wakacje oferty, wczasy nad jeziorem - RuszajWPolske.pl
#6
Napisano 11.08.2011 14:47


#7
Napisano 11.08.2011 19:29
Dało by się to zmienić żeby powiadomienie zawsze było (co rundę) chwilę przed rozpoczęciem?
#8
Napisano 11.08.2011 19:33
#include <amxmisc> #include <fun> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "DarkGL" new g_iMaxPlayer; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("HLTV", "newRound", "a", "1=0", "2=0") register_logevent("roundEnd", 2, "1=Round_End") g_iMaxPlayer = get_maxplayers() } public newRound() { set_task(20.0,"startRadiation",666); } public roundEnd() { remove_task(666); } public startRadiation(){ set_task(1.0,"radDamage",666,.flags = "b"); set_hudmessage(255, 42, 0, -1.0, 0.3, 0, 6.0, 5.0) show_hudmessage(0, "Uwaga promieniowanie rozpoczelo się") for(new id = 1;id <= g_iMaxPlayer;id++) Display_Icon(id,1,"dmg_rad",255,0,0); } public radDamage(){ for(new id = 1;id <= g_iMaxPlayer;id++){ if(!is_user_alive(id)) continue; set_user_health(id,get_user_health(id)-1); } } stock Display_Icon(id, enable, name[], red, green, blue) { static g_iMsg; if(!g_iMsg) g_iMsg = get_user_msgid("StatusIcon") if(!is_user_connected(id)) return ; message_begin(!id ? MSG_ALL : MSG_ONE, g_iMsg, {0,0,0}, id); write_byte(enable); write_string(name); write_byte(red); write_byte(green); write_byte(blue); message_end(); }
z armorem
#include <amxmisc> #include <fun> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "DarkGL" new g_iMaxPlayer; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("HLTV", "newRound", "a", "1=0", "2=0") register_logevent("roundEnd", 2, "1=Round_End") g_iMaxPlayer = get_maxplayers() } public newRound() { set_task(20.0,"startRadiation",666); } public roundEnd() { remove_task(666); } public startRadiation(){ set_task(1.0,"radDamage",666,.flags = "b"); set_hudmessage(255, 42, 0, -1.0, 0.3, 0, 6.0, 5.0) show_hudmessage(0, "Uwaga promieniowanie rozpoczelo się") for(new id = 1;id <= g_iMaxPlayer;id++) Display_Icon(id,1,"dmg_rad",255,0,0); } public radDamage(){ for(new id = 1;id <= g_iMaxPlayer;id++){ if(!is_user_alive(id)) continue; get_user_armor(id) > 0 ? set_user_armor(id,get_user_armor(id)-1) : set_user_health(id,get_user_health(id)-1); } } stock Display_Icon(id, enable, name[], red, green, blue) { static g_iMsg; if(!g_iMsg) g_iMsg = get_user_msgid("StatusIcon") if(!is_user_connected(id)) return ; message_begin(!id ? MSG_ALL : MSG_ONE, g_iMsg, {0,0,0}, id); write_byte(enable); write_string(name); write_byte(red); write_byte(green); write_byte(blue); message_end(); }
💸 SellYourSkins.com - Łatwo sprzedaj swoje skiny do CS:GO
💸⇄🃏 Automatyczny Bot Levelowania Steam - LVLUPSteam.com
🛒Coinsy CSGOPolygon Za SMS, PSC, Przelew - CoinSell.pro
Twój Sklep CS2 - CSGOPAKA
Coinsy do CSGOPolygon, CSGO500, CSGOEmpire - CSGOLombard.com
💸 Graj w CS2 / CS 1.6 i zarabiaj - BoostProject.pro
CS2 Gambling Sites and Free Betting Codes - DreamCodes.gg
Otwieraj skrzynki i wygrywaj najlepsze skiny CS2 na SkinsProject.gg
🤑 Accept CS2 skins for online payments and donations - SkinsMoney
Płatności SMS Premium Rate oraz Direct Biling - SimPay.pl
Szukasz noclegu? Kwatery, noclegi, tanie noclegi, wakacje oferty, wczasy nad jeziorem - RuszajWPolske.pl
#9
Napisano 11.08.2011 19:40
TEMAT DO ZAMKNIĘCIA
#10
Napisano 11.08.2011 19:50
Ten temat został zamknięty przez moderatora.
Powód: odpowiedź udzielona
Jeśli się z tym nie zgadzasz,

Z pozdrowieniami,
Zespół AMXX.PL
Również z jednym lub większą ilością słów kluczowych: Nowy Plugin
![]() |
Nowy Plugin
[KOSZ] pluginNapisany przez Frodo1981, 25.02.2024 ![]() |
|
![]() |
||
Nowy Plugin
vip pbNapisany przez One ShooT, 04.02.2024 ![]() |
|
![]() |
|||
Nowy Plugin
Admin menuNapisany przez stół z powyłamywanymi, 22.09.2022 ![]() |
|
![]() |
|||
Nowy Plugin
Prośba o napisanie pluginuNapisany przez stół z powyłamywanymi, 15.08.2022 ![]() |
|
![]() |
|||
Nowy Plugin
PLUGIN NA DRplugin Napisany przez bawarskagolonka123, 25.06.2021 ![]() |
|
![]() |
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych