Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
steamid kontrol
#2
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "SteamID WhiteList"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"

new const file[] = "addons/amxmodx/configs/STEAMID.ini"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    if(!
file_exists(file)) {
        new 
fopen(file,"wt")
        
fclose(f);
    }
    
}
public 
client_authorized(id) {
    new 
steamid[32];
    
get_user_authid(id,steamid,31)
    
    new 
szLineText[64],txtlen;
    new 
maxlines file_size(file,1)
    for(new 
line;line<maxlines;line++) {
        
read_file(file,line,szLineText,63,txtlen)
        if(
equali(szLineText,steamid)) {
            return 
PLUGIN_CONTINUE
        
}
    }
    
server_cmd("kick #%d ^"SteamID'niz Listede Bulunmamaktadir.^"",get_user_userid(id))
    return PLUGIN_HANDLED


Bir dene bakalım


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/

Reply


Messages In This Thread
steamid kontrol - by shakespeare - 15-03-13, 17:10
Cevap: steamid kontrol - by akcaliberkk - 15-03-13, 22:04
Cevap: steamid kontrol - by shakespeare - 16-03-13, 00:59
Cevap: steamid kontrol - by shakespeare - 19-03-13, 00:23
Cevap: steamid kontrol - by akcaliberkk - 19-03-13, 18:24
Cevap: steamid kontrol - by shakespeare - 19-03-13, 18:41
Cevap: steamid kontrol - by DeaTReX - 20-03-13, 02:19

Possibly Related Threads…
Thread Author Replies Views Last Post
  steamid kontrolunu komuta bağlama shakespeare 4 2,446 14-04-13, 15:10
Last Post: akcaliberkk
  saatli steamid girişi shakespeare 3 2,597 26-03-13, 21:31
Last Post: akcaliberkk
  /ekle steamid shakespeare 6 3,226 22-03-13, 22:14
Last Post: akcaliberkk
  oyuncunun steamid sini gösterme shakespeare 11 6,481 04-01-13, 19:45
Last Post: shakespeare

Foruma Atla:


Users browsing this thread: 1 Guest(s)