pokazuj
damiann1990
08.01.2011
#include <amxmodx>
#include <csx>
#include <colorchat>
/*
* 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
*/
new gcvarForum;
public plugin_init()
{
register_plugin("plg
","0.1","emblaze")
set_task(60.0, "showTimer",0,"",0,"b")
gcvarForum=register_cvar("amx_forum", "adres forum")
return PLUGIN_CONTINUE
}
public showTimer(id){
new nazwa[32]
get_cvar_string("hostname",nazwa,31)
ColorChat(id,GREEN, "**^x01 Witamy na: ^x03%s",nazwa);
new forum[32]
get_pcvar_string(gcvarForum,forum, 31)
ColorChat(id,GREEN, "**^x01 Forum serwera: ^x03%s",forum)
new nextmap[32]
get_cvar_string("amx_nextmap",nextmap,31)
ColorChat(id,GREEN, "**^x01 Nastepna mapa: ^x03%s", nextmap)
if (get_cvar_float("mp_timelimit"))
{
new a = get_timeleft()
if (get_cvar_num("amx_time_voice"))
{
}
ColorChat(id,GREEN, "**^x01 Czas do konca mapy: ^x03%d^x04:^x03%02d", (a / 60), (a % 60))
}
//Delay for order
set_task(0.1, "showRank", 1);
}
public showRank(id){
new izStats[8], izBody[8]
new iRankPos, iRankMax
new Players[32], playerCount;
get_players(Players, playerCount);
new id2;
for (new i=0; i<playerCount; i++){
id2 = Players[i];
iRankPos = get_user_stats(id2, izStats, izBody)
iRankMax = get_statsnum()
ColorChat(id2, GREEN, "**^x01 Twoj rank wynosi:^x04 %d^x01/^x04%d", iRankPos, iRankMax)
}
}
proszę o komplikacje tego bo nie moge
ani na web ani w amx
#include <csx>
#include <colorchat>
/*
* 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
*/
new gcvarForum;
public plugin_init()
{
register_plugin("plg

set_task(60.0, "showTimer",0,"",0,"b")
gcvarForum=register_cvar("amx_forum", "adres forum")
return PLUGIN_CONTINUE
}
public showTimer(id){
new nazwa[32]
get_cvar_string("hostname",nazwa,31)
ColorChat(id,GREEN, "**^x01 Witamy na: ^x03%s",nazwa);
new forum[32]
get_pcvar_string(gcvarForum,forum, 31)
ColorChat(id,GREEN, "**^x01 Forum serwera: ^x03%s",forum)
new nextmap[32]
get_cvar_string("amx_nextmap",nextmap,31)
ColorChat(id,GREEN, "**^x01 Nastepna mapa: ^x03%s", nextmap)
if (get_cvar_float("mp_timelimit"))
{
new a = get_timeleft()
if (get_cvar_num("amx_time_voice"))
{
}
ColorChat(id,GREEN, "**^x01 Czas do konca mapy: ^x03%d^x04:^x03%02d", (a / 60), (a % 60))
}
//Delay for order
set_task(0.1, "showRank", 1);
}
public showRank(id){
new izStats[8], izBody[8]
new iRankPos, iRankMax
new Players[32], playerCount;
get_players(Players, playerCount);
new id2;
for (new i=0; i<playerCount; i++){
id2 = Players[i];
iRankPos = get_user_stats(id2, izStats, izBody)
iRankMax = get_statsnum()
ColorChat(id2, GREEN, "**^x01 Twoj rank wynosi:^x04 %d^x01/^x04%d", iRankPos, iRankMax)
}
}
proszę o komplikacje tego bo nie moge

;((
08.01.2011
sobie jak już.
Wystarczy użyć tego kompilatora: Kompilator pluginów AMXX - Nieoficjalny polski support AMX Mod X
Wystarczy użyć tego kompilatora: Kompilator pluginów AMXX - Nieoficjalny polski support AMX Mod X