VIP
|
Cs-PlovdiV.com - Aim Attack 93.123.16.4:27022 |
aim_map2 Играчи: 4/16 |
|
VIP
|
93.123.16.4:27022 | Cs-PlovdiV.com - Aim Attack | aim_map2 | 4/16 |
grenade kill bonus
grenade kill bonus
Hello
I am looking for a plugin that would give 200 health when killing with a grenade (1 throw) 2 or more players, in the round in which I killed
and in the new round everything was reset
I am looking for a plugin that would give 200 health when killing with a grenade (1 throw) 2 or more players, in the round in which I killed
and in the new round everything was reset
-
SmirnoffBG
Извън линия - Потребител
- Мнения: 269
- Регистриран на: 27 Ное 2016, 19:43
- Местоположение: nz
- Се отблагодари: 77 пъти
- Получена благодарност: 39 пъти
- Обратна връзка:
grenade kill bonus
Код за потвърждение: Избери целия код
/* Sublime AMXX Editor v2.2 */
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#define PLUGIN "Add HP on Gren Multi Kill"
#define VERSION "1.0"
#define AUTHOR "SmirnoffBG"
new iGrenKills[33]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Killed, "player", "Grumnal", 1, true)
}
public Grumnal(victim, killer, shouldgib)
{
if(!is_user_alive(killer)) // cuz this includes suicides too
return HAM_IGNORED
if(!shouldgib) // this is a non-bullet kill
{
if(++iGrenKills[killer] > 1)
{
set_pev(killer, pev_health, 200.0 )
}
set_task(0.1, "ClearKills", killer)
}
return HAM_IGNORED
}
public ClearKills(killer)
{
iGrenKills[killer] = 0
}
El-Super Respawn = 87.121.54.85:27016
BG Trewa Respawn = 91.92.137.205:27015
BG Trewa Respawn = 91.92.137.205:27015
grenade kill bonus
how to make a conclusion dhud when the player has 200 healthSmirnoffBG написа: ↑22 Юли 2020, 03:03Код за потвърждение: Избери целия код
/* Sublime AMXX Editor v2.2 */ #include <amxmodx> #include <fakemeta> #include <hamsandwich> #define PLUGIN "Add HP on Gren Multi Kill" #define VERSION "1.0" #define AUTHOR "SmirnoffBG" new iGrenKills[33] public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam(Ham_Killed, "player", "Grumnal", 1, true) } public Grumnal(victim, killer, shouldgib) { if(!is_user_alive(killer)) // cuz this includes suicides too return HAM_IGNORED if(!shouldgib) // this is a non-bullet kill { if(++iGrenKills[killer] > 1) { set_pev(killer, pev_health, 200.0 ) } set_task(0.1, "ClearKills", killer) } return HAM_IGNORED } public ClearKills(killer) { iGrenKills[killer] = 0 }
-
atmax
Извън линия - Потребител
- Мнения: 492
- Регистриран на: 22 Мар 2018, 15:06
- Се отблагодари: 37 пъти
- Получена благодарност: 43 пъти
grenade kill bonus
set_dhudmessage(0, 255, 0, -1.0, 0.35, 0, 6.0, 5.0, 0.1, 0.2)
show_dhudmessage(id, "Your message here")
For positions you can use: https://amxx-bg.info/forum/hudgenerator/
set_dhudmessage syntax:
set_dhudmessage(red = 200, green = 100, blue = 0, Float:x = -1.0, Float:y = 0.35, effects = 0, Float:fxtime = 6.0, Float:holdtime = 12.0, Float:fadeintime = 0.1, Float:fadeouttime = 0.2)
show_dhudmessage(id, "Your message here")
For positions you can use: https://amxx-bg.info/forum/hudgenerator/
set_dhudmessage syntax:
set_dhudmessage(red = 200, green = 100, blue = 0, Float:x = -1.0, Float:y = 0.35, effects = 0, Float:fxtime = 6.0, Float:holdtime = 12.0, Float:fadeintime = 0.1, Float:fadeouttime = 0.2)
Rest in peace my friend I always will remember you!
grenade kill bonus
where exactly should I write this in the code?atmax написа: ↑22 Юли 2020, 08:57 set_dhudmessage(0, 255, 0, -1.0, 0.35, 0, 6.0, 5.0, 0.1, 0.2)
show_dhudmessage(id, "Your message here")
For positions you can use: https://amxx-bg.info/forum/hudgenerator/
set_dhudmessage syntax:
set_dhudmessage(red = 200, green = 100, blue = 0, Float:x = -1.0, Float:y = 0.35, effects = 0, Float:fxtime = 6.0, Float:holdtime = 12.0, Float:fadeintime = 0.1, Float:fadeouttime = 0.2)
-
atmax
Извън линия - Потребител
- Мнения: 492
- Регистриран на: 22 Мар 2018, 15:06
- Се отблагодари: 37 пъти
- Получена благодарност: 43 пъти
grenade kill bonus
After receiving the HP - - >
set_pev(killer, pev_health, 200.0 )
set_pev(killer, pev_health, 200.0 )
Rest in peace my friend I always will remember you!
-
JackEyedJones
Извън линия - Потребител
- Мнения: 399
- Регистриран на: 10 Сеп 2018, 17:26
- Местоположение: Plovdiv, Bulgaria, Europe, Entire World
- Се отблагодари: 4 пъти
- Получена благодарност: 69 пъти
- Обратна връзка:
grenade kill bonus
Код за потвърждение: Избери целия код
/* Sublime AMXX Editor v2.2 */
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#define PLUGIN "Add HP on Gren Multi Kill"
#define VERSION "1.0"
#define AUTHOR "SmirnoffBG"
new iGrenKills[33]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Killed, "player", "Grumnal", 1)
}
public Grumnal(victim, killer, shouldgib)
{
if(!is_user_alive(killer)) // cuz this includes suicides too
return HAM_IGNORED
if(!shouldgib) // this is a non-bullet kill
{
if(++iGrenKills[killer] > 1)
{
set_pev(killer, pev_health, 200.0)
iGrenKills[killer] = 0
set_dhudmessage(red = 200, green = 100, blue = 0, Float:x = -1.0, Float:y = 0.35, effects = 0, Float:fxtime = 6.0, Float:holdtime = 12.0, Float:fadeintime = 0.1, Float:fadeouttime = 0.2)
show_dhudmessage(id, "Your message here")
}
}
return HAM_IGNORED
}
-
atmax
Извън линия - Потребител
- Мнения: 492
- Регистриран на: 22 Мар 2018, 15:06
- Се отблагодари: 37 пъти
- Получена благодарност: 43 пъти
grenade kill bonus
@JackEyedJones Няма нужда да променяш кода..
Код за потвърждение: Избери целия код
/* Sublime AMXX Editor v2.2 */
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#define PLUGIN "Add HP on Gren Multi Kill"
#define VERSION "1.0"
#define AUTHOR "SmirnoffBG"
new iGrenKills[33]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Killed, "player", "Grumnal", 1, true)
}
public Grumnal(victim, killer, shouldgib)
{
if(!is_user_alive(killer)) // cuz this includes suicides too
return HAM_IGNORED
if(!shouldgib) // this is a non-bullet kill
{
if(++iGrenKills[killer] > 1)
{
set_pev(killer, pev_health, 200.0 )
set_dhudmessage(red = 200, green = 100, blue = 0, Float:x = -1.0, Float:y = 0.35, effects = 0, Float:fxtime = 6.0, Float:holdtime = 12.0, Float:fadeintime = 0.1, Float:fadeouttime = 0.2)
show_dhudmessage(id, "Your message here")
}
set_task(0.1, "ClearKills", killer)
}
return HAM_IGNORED
}
public ClearKills(killer)
{
iGrenKills[killer] = 0
}
Rest in peace my friend I always will remember you!
grenade kill bonus
error when compilingatmax написа: ↑22 Юли 2020, 17:41 @JackEyedJones Няма нужда да променяш кода..Код за потвърждение: Избери целия код
/* Sublime AMXX Editor v2.2 */ #include <amxmodx> #include <fakemeta> #include <hamsandwich> #define PLUGIN "Add HP on Gren Multi Kill" #define VERSION "1.0" #define AUTHOR "SmirnoffBG" new iGrenKills[33] public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam(Ham_Killed, "player", "Grumnal", 1, true) } public Grumnal(victim, killer, shouldgib) { if(!is_user_alive(killer)) // cuz this includes suicides too return HAM_IGNORED if(!shouldgib) // this is a non-bullet kill { if(++iGrenKills[killer] > 1) { set_pev(killer, pev_health, 200.0 ) set_dhudmessage(red = 200, green = 100, blue = 0, Float:x = -1.0, Float:y = 0.35, effects = 0, Float:fxtime = 6.0, Float:holdtime = 12.0, Float:fadeintime = 0.1, Float:fadeouttime = 0.2) show_dhudmessage(id, "Your message here") } set_task(0.1, "ClearKills", killer) } return HAM_IGNORED } public ClearKills(killer) { iGrenKills[killer] = 0 }
grenade_bonus.sma(30) : error 017: undefined symbol "red"
grenade_bonus.sma(30) : warning 215: expression has no effect
grenade_bonus.sma(30) : error 017: undefined symbol "green"
grenade_bonus.sma(30) : warning 215: expression has no effect
grenade_bonus.sma(30) : error 017: undefined symbol "blue"
grenade_bonus.sma(30) : fatal error 107: too many error messages on one line
-
- Подобни теми
- Отговори
- Преглеждания
- Последно мнение
-
- 10 Отговори
- 724 Преглеждания
-
Последно мнение от Marinovv
-
- 3 Отговори
- 1936 Преглеждания
-
Последно мнение от SkandaU
-
- 0 Отговори
- 1325 Преглеждания
-
Последно мнение от USA_CA
-
- 2 Отговори
- 1854 Преглеждания
-
Последно мнение от Krusteww
-
- 9 Отговори
- 5302 Преглеждания
-
Последно мнение от Orangegame14
-
- 1 Отговори
- 1445 Преглеждания
-
Последно мнение от Siska
-
- 2 Отговори
- 1818 Преглеждания
-
Последно мнение от OciXCrom
Кой е на линия
Потребители разглеждащи този форум: Bing [Bot] и 6 госта