←  Pytania

AMXX.pl: Support AMX Mod X i SourceMod

»

Potrzeba mi dwóch rzeczy

Locked

  • +
  • -
PrYcZa's Photo PrYcZa 30.07.2009

Witam!

Potrzeba mi dwóch rzeczy a właściwie plugin opcja działania : max 4 ludzi w CT reszta TT. Oraz gdy będzie każda nowa runda wyświetlało na czerwono na środku napisy Dzien 1 , Dzien 2 itd itd.
Quote

Seba's Photo Seba 30.07.2009

Co do teamtów, to będzie strange zahookować wszystko. Później się postaram to zrobić.

Drugie
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Nowy Plugin"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"

new rounds

public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
	register_logevent("round_end", 2, "1=Round_End")  
	register_logevent("round_start", 2, "1=Round_Start")  
	register_event("TextMsg","restart_roundsnum","a","2&#Game_C","2&#Game_w")
}


public round_end() 
{	
	rounds++
}
	
public restart_roundsnum() rounds = 0

public round_start()
{
		set_hudmessage(255, 0, 0, -1.0, 0.2, 0, 6.0, 5.0)
		ShowSyncHudMsg(0, CreateHudSyncObj(), "Dzien %d", rounds)
}
Quote

  • +
  • -
PrYcZa's Photo PrYcZa 30.07.2009

ok, bardzo dziękuję za to drugie :> Czekam na pierwsze no i oczywiście ++
Quote

naXe's Photo naXe 30.07.2009

Może Team Limiter ?
Quote
Locked