Admin yetkileri arasında slot yetkiside olacağı için adminleride slotların arasında gösterecektir.
 
  
   
   
    
   /slot plugini
 /slot plugini /admin yazınca adminler gözüküyor bide /slot yazınca slotların gostermesını ıstıyorum böyle bir şey yapıla bilirmi
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
 
  
   
   
    
   Cevap: /slot plugini
 Cevap: /slot plugini Admin yetkileri arasında slot yetkiside olacağı için adminleride slotların arasında gösterecektir.
Steam ID: STEAM_1:0:70428872
Steam Name: Seps!s
Skype: jdm.csplague
Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
Albert Einstein
 
  
   
   
    
   Cevap: /slot plugini
 Cevap: /slot plugini onun icin özel bir yetki veya sadece "bi" yetkisi olanlar gözükcek
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
 
  
   
   
   Cevap: /slot plugini
 Cevap: /slot plugini "bi" 'yi bilmem ama mesela "t" yetkisi verdiğin kişi slot olarak görünebilir ayarlanabilirse.
 
  
   
   
    
   Cevap: /slot plugini
 Cevap: /slot plugini bilbaz'ın dediği gibide olabilir fakat "t" yetkisini adminlerden silmen gerekir.
EDIT:
PHP- Kodu:#define SLOT_CHECK ADMIN_LEVEL_H // Ben slotlara "t" yetkisi verdim sen kendine göre değiştirebilirsin "ADMIN_LEVEL_H" kısmını
NOT:PHP- Kodu:#include <amxmodx>
/*---------------EDIT ME------------------*/
#define ADMIN_CHECK ADMIN_KICK
#define SLOT_CHECK ADMIN_LEVEL_H // Ben slotlara "t" yetkisi verdim sen kendine göre değiştirebilirsin "ADMIN_LEVEL_H" kısmını
static const COLOR[] = "^x04" //green
static const CONTACT[] = ""
/*----------------------------------------*/
new maxplayers
new gmsgSayText
public plugin_init() {
register_plugin("Admin Check", "1.51", "OneEyed")
maxplayers = get_maxplayers()
gmsgSayText = get_user_msgid("SayText")
register_clcmd("say", "handle_say")
register_cvar("amx_contactinfo", CONTACT, FCVAR_SERVER)
}
public handle_say(id) {
new said[192]
read_args(said,192)
if( ( containi(said, "whoadmin") != -1 && containi(said, "admin") != -1 ) || contain(said, "/admin") != -1 )
set_task(0.1,"print_adminlist",id)
if( ( containi(said, "whoslot") != -1 && containi(said, "slot") != -1 ) || contain(said, "/slot") != -1 )
set_task(0.1,"print_slotlist",id)
return PLUGIN_CONTINUE
}
public print_adminlist(user)
{
new adminnames[33][32]
new message[256]
new contactinfo[256], contact[112]
new id, count, x, len
for(id = 1 ; id <= maxplayers ; id++)
if(is_user_connected(id))
if(get_user_flags(id) & ADMIN_CHECK)
get_user_name(id, adminnames[count++], 31)
len = format(message, 255, "%s Oyundaki Adminler: ",COLOR)
if(count > 0) {
for(x = 0 ; x < count ; x++) {
len += format(message[len], 255-len, "%s%s ", adminnames[x], x < (count-1) ? ", ":"")
if(len > 96 ) {
print_message(user, message)
len = format(message, 255, "%s ",COLOR)
}
}
print_message(user, message)
}
else {
len += format(message[len], 255-len, "Oyunda Admin Yok.")
print_message(user, message)
}
get_cvar_string("amx_contactinfo", contact, 63)
if(contact[0]) {
format(contactinfo, 111, "%s Adminlik icin iletisim -- %s", COLOR, contact)
print_message(user, contactinfo)
}
}
public print_slotlist(user)
{
new slotnames[33][32]
new message[256]
new contactinfo[256], contact[112]
new id, count, x, len
for(id = 1 ; id <= maxplayers ; id++)
if(is_user_connected(id))
if(get_user_flags(id) & SLOT_CHECK)
get_user_name(id, slotnames[count++], 31)
len = format(message, 255, "%s Oyundaki Slotlar: ",COLOR)
if(count > 0) {
for(x = 0 ; x < count ; x++) {
len += format(message[len], 255-len, "%s%s ", slotnames[x], x < (count-1) ? ", ":"")
if(len > 96 ) {
print_message(user, message)
len = format(message, 255, "%s ",COLOR)
}
}
print_message(user, message)
}
else {
len += format(message[len], 255-len, "Oyunda Slot Yok.")
print_message(user, message)
}
get_cvar_string("amx_contactinfo", contact, 63)
if(contact[0]) {
format(contactinfo, 111, "%s Slotluk icin iletisim -- %s", COLOR, contact)
print_message(user, contactinfo)
}
}
print_message(id, msg[]) {
message_begin(MSG_ONE, gmsgSayText, {0,0,0}, id)
write_byte(id)
write_string(msg)
message_end()
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1254\\ deff0\\ deflang1055{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
Admin yetkilerinde "t" yetkisini silmeyi unutma.
Konu JDM tarafından (15-11-13 Saat 19:16 ) değiştirilmiştir.
Steam ID: STEAM_1:0:70428872
Steam Name: Seps!s
Skype: jdm.csplague
Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
Albert Einstein
 
  
   
   
    
   Cevap: /slot plugini
 Cevap: /slot plugini if(get_user_flags(id) & SLOT_CHECK)
-->
if(get_user_flags(id) & ADMIN_RESERVATION && !(get_user_flags(id) & ADMIN_BAN))
buna ne dersiniz ??
xPRoTeiNN
CS 1.6 : 95.173.173.115 --> Osmanli Gaming Jailbreak
TS3 : osmanlijb.ts3dns.com
Skype:ahmettmertt
 
  
   
   
    
   Cevap: /slot plugini
 Cevap: /slot plugini Sadece ban yetkisini engellersin böyle peki ya adamda immunity yetkisi varsa?
Şuan verdiğim eklenti çalışıyor test ettim tek yapması gereken slotluk yetkisini admin yetkileri arasından silmesi
Steam ID: STEAM_1:0:70428872
Steam Name: Seps!s
Skype: jdm.csplague
Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
Albert Einstein
 
  
   
    
   Cevap: /slot plugini
 Cevap: /slot plugini Bu şekilde:
if( !access(id, ADMIN_CHECK) && access(id, SLOT_CHECK) )
admin yetkisi olmayıp slot yetkisi olanları seçebilirsiniz.
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/
 
  
   
   
   Cevap: /slot plugini
 Cevap: /slot plugini Bence En maltıklısı C yetkisi ile adamlar admin gözüküyor bizim serverlerde slotlarada ilk verilen yetki b yetkisi c yetkisi olmayip b yetkisi olan kişi slotlarda gözüksün
 
  
   
   
    
   Cevap: /slot plugini
 Cevap: /slot plugini Çözülmüş İsteklere Taşındı.
Steam ID: STEAM_1:0:70428872
Steam Name: Seps!s
Skype: jdm.csplague
Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
Albert Einstein