←  Szukam pluginu

AMXX.pl: Support AMX Mod X i SourceMod

»

Najlepszy i granaty

Zablokowany

  • +
  • -
ziomex1 - zdjęcie ziomex1 26.07.2011

Witam poszukuje 3 pluginów



1: Dołączona grafika


2: Dołączona grafika


3: jedna mapa moze byc grana co 4 mapy.


proszę podac linki do nich.
Odpowiedz

NimFresh - zdjęcie NimFresh 26.07.2011

1.masz klik tutaj
2. Spróbuj to klik tutaj
3.proszę klik tutaj
Odpowiedz

  • +
  • -
ziomex1 - zdjęcie ziomex1 26.07.2011

OK


ale 2 plugin to nie ten ;( to ma w say pokazywac.
Odpowiedz

  • +
  • -
MarWit - zdjęcie MarWit 26.07.2011

Łap

#include <amxmodx>
#include <csx>
#include <ColorChat>

new RoundDmg[32]

public plugin_init() {
register_plugin("Best Player (Round)", "1.0", "MarWit")
register_logevent("Poczatek_Rundy", 2, "1=Round_Start")
register_logevent("Koniec_Rundy", 2, "1=Round_End");
register_event("Damage", "Damage", "b", "2!=0")
}

public Poczatek_Rundy()
{
new num, players[32]
get_players(players, num, "ch")
for(new i=0; i<num; i++)
{
RoundDmg[i] = 0
}
}

public Damage(id)
{
new kid = get_user_attacker(id)
RoundDmg[kid] += read_data(2)
}

public Koniec_Rundy()
{
new stats[8], bodyhits[8], players[32], bestscore = 0, bestplayer, besths, num, i, bestdmg, bestdmgplayer

get_players(players, num, "h")
for(i=0; i<num; i++)
{
get_user_rstats(players[i], stats, bodyhits)
if(stats[0] > bestscore)
{
bestscore = stats[0]
bestplayer = players[i]
besths = stats[2]
}
if(RoundDmg[i] > bestdmg)
{
bestdmg = RoundDmg[i]
bestdmgplayer = players[i]
}
}
new nick[33], dmg_nick[33]
get_user_name(bestplayer, nick, 32)
get_user_name(bestdmgplayer, dmg_nick, 32)
ColorChat(0, TEAM_COLOR, "Najwieksze obrazenia zadal: ^x04%s ^x01%d ^x03dmg!", bestdmgplayer, bestdmg)
ColorChat(0, TEAM_COLOR, "Najlepszy gracz rundy: ^x04%s ^x01%d ^x03HS!", nick, besths)
}
Odpowiedz
Zablokowany