Yapımcısı : Berk
Sürüm : 1.0
Açıklama :
Fikir Bana Ait Degildir Arkadaş İstedi Yapip Paylaşiyorum
Ekran Görüntüsü :
PHP Kod:
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <hlsdk_const>
#include <fakemeta>
#include <fun>
#include <engine>
#define PLUGIN "El Basi Bilgi V2"
#define VERSION "v1.0"
#define AUTHOR "Berk"
new fulloyuncu
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "elbasi", "a", "1=0", "2=0")
fulloyuncu = get_maxplayers()
}
public elbasi(id) {
new oyuncusayisi=0;
new players[32], num, tempid;
get_players(players, num)
for (new i=0; i<num; i++)
{
tempid = players[i]
if (is_user_connected(tempid))
{
oyuncusayisi++;
}
}
new mhours[6], mmins[6], wmins[32], wpm[6]
get_time("%H", mhours, 5)
get_time("%M", mmins, 5)
new mins = str_to_num(mmins)
new hrs = str_to_num(mhours)
if (mins)
num_to_word(mins, wmins, 31)
else
wmins[0] = 0
if (hrs < 12)
wpm = "am "
else
{
if (hrs > 12) hrs -= 12
wpm = "pm "
}
new ctime[64]
get_time("!nZaman !g%H:%M:%S !nTarih !g%d/%m/%Y ", ctime, 63)
new map[32],player;
get_playersnum(player)
get_mapname(map,31)
if (get_cvar_float("mp_timelimit"))
{
new a = get_timeleft()
renkli_yazi(id,"!t[!gCSD!n|!gZM!t]!n Map !g %s !nOyuncu !g %d/%d !nTimeLeft !g %d:%02d %s",map,oyuncusayisi,fulloyuncu, (a / 60), (a % 60),ctime)
}
}
stock renkli_yazi(const id, const input[], any:...)
{
new count = 1, players[32];
static msg[191];
vformat(msg, 190, input, 3);
replace_all(msg, 190, "!n", "^x01"); // Default Renk(Sarı)
replace_all(msg, 190, "!g", "^x04"); // Yeşil Renk
replace_all(msg, 190, "!t", "^x03"); // Takım Renk( CT mavi , T kırmızı )
if (id) players[0] = id; else get_players(players, count, "ch");
{
for (new i = 0; i < count; i++)
{
if (is_user_connected(players[i]))
{
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
write_byte(players[i]);
write_string(msg);
message_end();
}
}
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/