←  Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

Za każdego fraga +10hp

Zablokowany

radek_b11 - zdjęcie radek_b11 23.06.2011

Witam

Potrzebuję pluginu, który będzie dawać 10hp za fraga ale jednak żeby nie przekraczał granicy 120hp
+ 250$
Użytkownik radek_b11 edytował ten post 23.06.2011 18:59
Odpowiedz

  • +
  • -
Goliath - zdjęcie Goliath 23.06.2011

/* Script generated by Pawn Studio */

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <fakemeta>

#define PLUGIN "Nowy Plugin"
#define AUTHOR "Goliath"
#define VERSION "1.0"

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)

RegisterHam(Ham_Killed, "player", "Killed", 1);
}

public Killed(id, attacker, shouldgib)
{
if(!is_user_connected(id) || !is_user_connected(attacker))
return HAM_IGNORED;

if(is_user_alive(attacker))
{
new health = pev(attacker, pev_health);
set_pev(attacker, pev_health, floatmin(health+10.0, 120.0));
}
return HAM_IGNORED;
}

Wymagany moduł hamsandwich i fakemeta.
Użytkownik Goliath edytował ten post 23.06.2011 19:32
Odpowiedz

radek_b11 - zdjęcie radek_b11 23.06.2011

dziękuję ale brakuje tam +250$

Dodano 23 czerwiec 2011 - 20:56:
albo najlepiej jak byś dodał dodatkowe +250$ do pluginu vampier co kolega podał.
Odpowiedz
Zablokowany