güncel
Arkadaşlar bir yerde görmüştüm Örneğin 10 Saniye içinde 5-6 Ban işlemi uygulayan art niyetli admin plugin tarafından otomatik olarak reason yazarak süresiz banlanıyor
güncel
PHP- Kodu:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Ban Limit"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"
#define TIME_INTERVAL 10
#define MAX_BAN 5
new last_ban[33];
new ban_count[33];
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_ban","HookBan")
}
public HookBan(id) {
if(access(id,ADMIN_BAN)) {
if(!last_ban[id]) {
last_ban[id] = get_systime();
ban_count[id]++
}
else {
if( (get_systime() - last_ban[id]) <= TIME_INTERVAL) {
ban_count[id]++
if(ban_count[id] >= MAX_BAN) server_cmd("amx_ban #%d 0 ^"Asiri Ban Kullanimi^"",get_user_userid(id))
}
else {
last_ban[id] = get_systime();
ban_count[id] = 1
}
}
}
}
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz: destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/
teşekkürler kardeşim. sen denedin mi bunu. benim deneme şansın şimdilik yok ta![]()
denedim şimdi çalışıyor
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz: destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/
peki tekrar teşekkürler
Çözülmüş İsteklere taşındı.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz: destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/