#include <amxmodx> #define PLUGIN "Roundsleft" #define VERSION "1.0" #define AUTHOR "KaMaZZ" new m_rounds; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_logevent("napis", 2, "1=Round_End") m_rounds = get_cvar_num("mp_maxrounds") } public napis() { new nextmap[33] get_cvar_string("amx_nextmap", nextmap, 32) set_hudmessage(255, 0, 0, -1.0, 0.24, 0, 6.0, 4.0) if(m_rounds == get_cvar_num("mp_maxrounds")) return --m_rounds; if(m_rounds >= 5) show_hudmessage(0, "Pozostalo %d rund", m_rounds) if(m_rounds > 1 && m_rounds < 5 && m_rounds > 3) show_hudmessage(0, "Pozostaly %d rundy", m_rounds) if(m_rounds > 1 && m_rounds < 5 && m_rounds <= 3) show_hudmessage(0, "Pozostaly %d rundy^nNastepna mapa: %s", m_rounds, nextmap) if(m_rounds == 1) show_hudmessage(0, "Pozostala 1 runda") --m_rounds; return PLUGIN_HANDLED; }
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.
|
Guest Message by DevFuse
Licznik rund
Temat rozp. Sevox, 30.01.2011 23:53
Brak odpowiedzi do tego tematu
#1
Napisano 30.01.2011 23:53
Witam poszukuje licznika rund który będzie co rundę pisał na zielono Runda x, a 3 rundy przed końcem następna mapa : xx_xxxx. Od razu mówię, że to nie działa.
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych