İstek Gün
Gönderilme zamanı: Pzt Tem 31, 2017 12:16 pm
Arkadaşlar sağ tarafta cıkacak Hem T'de Hem CT'de gözükecek gün plugini gerekli rengi farketmez rengarenkte olabilir .
Kod: Tümünü seç
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#define PLUGIN "Jail Break: Basic Info"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"
#define USERTASK 921
#define UPDATEDELAY 1.0
new static reasons[][] = {
"Uyusturucu Kullandin",
"Tecavuzden",
"Hirsizlik",
"Fuhus",
"Darp",
"Silah Kacakciligi",
"Sahte Mal Pazarlama",
"Adam Yaralamadan",
"Teror Orgutune Yardim"
}
new userreason[33]
new rounds, hudhandler
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("TextMsg","restart_roundsnum","a","2&#Game_C"/*,"2&#Game_w"*/)
register_logevent("round_end", 2, "1=Round_End")
RegisterHam(Ham_Spawn, "player", "client_spawn", 1)
hudhandler = CreateHudSyncObj()
}
public round_end()
{
rounds ++
}
public restart_roundsnum()
{
rounds = 0
}
public client_disconnect(id)
{
userreason[id] = -1
if(task_exists(id + USERTASK))
{
remove_task(id + USERTASK)
}
}
public client_spawn(id)
{
if(task_exists(id + USERTASK))
{
remove_task(id + USERTASK)
}
userreason[id] = random_num(0, sizeof reasons - 1)
set_task(UPDATEDELAY, "client_jailinfo", id + USERTASK, _, _, "b")
}
public client_jailinfo(TASKID)
{
static id
id = TASKID - USERTASK
set_hudmessage(42, 255, 0, 0.57, 0.14, 0, 6.0, 12.0)
ShowSyncHudMsg(id, hudhandler, "Gun %d | Hapis Sebebi: %s.", rounds, reasons[userreason[id]])
}
Sagol, ama bu sag tarafta cıkıyor ama tam sagda cıkmıyor hocam. boşluk var arada bayaMRX3565 yazdı:Kod: Tümünü seç
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <hamsandwich> #define PLUGIN "Jail Break: Basic Info" #define VERSION "1.0" #define AUTHOR "Sn!ff3r" #define USERTASK 921 #define UPDATEDELAY 1.0 new static reasons[][] = { "Uyusturucu Kullandin", "Tecavuzden", "Hirsizlik", "Fuhus", "Darp", "Silah Kacakciligi", "Sahte Mal Pazarlama", "Adam Yaralamadan", "Teror Orgutune Yardim" } new userreason[33] new rounds, hudhandler public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("TextMsg","restart_roundsnum","a","2&#Game_C"/*,"2&#Game_w"*/) register_logevent("round_end", 2, "1=Round_End") RegisterHam(Ham_Spawn, "player", "client_spawn", 1) hudhandler = CreateHudSyncObj() } public round_end() { rounds ++ } public restart_roundsnum() { rounds = 0 } public client_disconnect(id) { userreason[id] = -1 if(task_exists(id + USERTASK)) { remove_task(id + USERTASK) } } public client_spawn(id) { if(task_exists(id + USERTASK)) { remove_task(id + USERTASK) } userreason[id] = random_num(0, sizeof reasons - 1) set_task(UPDATEDELAY, "client_jailinfo", id + USERTASK, _, _, "b") } public client_jailinfo(TASKID) { static id id = TASKID - USERTASK set_hudmessage(42, 255, 0, 0.57, 0.14, 0, 6.0, 12.0) ShowSyncHudMsg(id, hudhandler, "Gun %d | Hapis Sebebi: %s.", rounds, reasons[userreason[id]]) }
Kod: Tümünü seç
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#define PLUGIN "Jail Break: Basic Info"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"
#define USERTASK 921
#define UPDATEDELAY 1.0
new static reasons[][] = {
"Uyusturucu Kullandin",
"Tecavuzden",
"Hirsizlik",
"Fuhus",
"Darp",
"Silah Kacakciligi",
"Sahte Mal Pazarlama",
"Adam Yaralamadan",
"Teror Orgutune Yardim"
}
new userreason[33]
new rounds, hudhandler
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("TextMsg","restart_roundsnum","a","2&#Game_C"/*,"2&#Game_w"*/)
register_logevent("round_end", 2, "1=Round_End")
RegisterHam(Ham_Spawn, "player", "client_spawn", 1)
hudhandler = CreateHudSyncObj()
}
public round_end()
{
rounds ++
}
public restart_roundsnum()
{
rounds = 0
}
public client_disconnect(id)
{
userreason[id] = -1
if(task_exists(id + USERTASK))
{
remove_task(id + USERTASK)
}
}
public client_spawn(id)
{
if(task_exists(id + USERTASK))
{
remove_task(id + USERTASK)
}
userreason[id] = random_num(0, sizeof reasons - 1)
set_task(UPDATEDELAY, "client_jailinfo", id + USERTASK, _, _, "b")
}
public client_jailinfo(TASKID)
{
static id
id = TASKID - USERTASK
set_hudmessage(42, 255, 0, 0.58, 0.14, 0, 6.0, 12.0)
ShowSyncHudMsg(id, hudhandler, "Gun %d | Hapis Sebebi: %s.", rounds, reasons[userreason[id]])
}