Yo
Szukam plugin takiego jak ten: http://amxx.pl/viewtopic.php?t=1962
Ale?
Ale aby wyświetlał to w Say'u (Tzn. koniec mapy i następną mape)
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
Poszukuję pluginu który...
Temat rozp.
Slugger
, 26.03.2009 18:26
7 odpowiedzi w tym temacie
#1
Napisano 26.03.2009 18:26
#2 Gość__*
Napisano 26.03.2009 20:58
Masz:
/* * AMX X Mod script. * * (c) Copyright 2003, ST4life * Remade by TaL * This file is provided as is (no warranties). */ #include <amxmodx> /* * TimeProjector displays the remaining time and the next map on the top right corner of the client * display as a hudmessage. * * History: * * v0.1: - first release */ public show_timer(){ new nextmap[32] get_cvar_string("amx_nextmap",nextmap,31) new timeleft = get_timeleft() set_hudmessage(255,255,255,0.75,0.05,0, 1.0, 1.0, 0.1, 0.2, 13) show_hudmessage(0,"Koniec mapy: %d:%02d^nNastepna mapa: %s",timeleft / 60, timeleft % 60,nextmap) return PLUGIN_CONTINUE } public plugin_init() { register_plugin("TimeProjector","0.1","ST4life") set_task(1.0, "show_timer",0,"",0,"b") return PLUGIN_CONTINUE }
#3
Napisano 26.03.2009 21:09
yO ty to pisałeś? ;>
#4 Gość__*
Napisano 26.03.2009 21:10
Jest to ten sam plugin: http://amxx.pl/viewtopic.php?t=1962
Wystarczy zmienić:
Zamykam.
Wystarczy zmienić:
show_hudmessage(0,"Koniec mapy: %d:%02d^nNastepna mapa: %s",timeleft / 60, timeleft % 60,nextmap)
Zamykam.
#5
Napisano 30.03.2009 14:45
Prosiłem w sayu a nie na ekranie... ;-)
Ty zrobiłeś taki sam plugin który jest pod linkiem...
Ty zrobiłeś taki sam plugin który jest pod linkiem...
#6
Napisano 30.03.2009 15:40
public show_timer(){ new nextmap[32] get_cvar_string("amx_nextmap",nextmap,31) new timeleft = get_timeleft() client_print(0, print_chat, "Koniec mapy: %d:%02d",timeleft / 60,timeleft % 60); client_print(0, print_chat, "Nastepna mapa: %s",nextmap) return PLUGIN_CONTINUE }
#7
Napisano 18.12.2009 23:49
Można to zrobić żę mapa i czas był na zielono ?
tzn.:
Koniec mapy: czas
Nastepna mapa: mapa
tzn.:
Koniec mapy: czas
Nastepna mapa: mapa
#8
Napisano 20.12.2009 14:24
#include <colorchat> public show_timer(){ new nextmap[32] get_cvar_string("amx_nextmap",nextmap,31) new timeleft = get_timeleft() ColorChat(0, YELLOW, "Koniec mapy:^x04 %d:%02d",timeleft / 60,timeleft % 60); ColorChat(0, YELLOW, "Nastepna mapa:^x04 %s",nextmap) return PLUGIN_CONTINUE }colorchat.inc jest ogólnie dostępny, ostatnio widziałem załączony tu: http://amxx.pl/post110737.htm
Użytkownicy przeglądający ten temat: 1
0 użytkowników, 1 gości, 0 anonimowych