SAPE ERROR: Не могу подключиться к серверу: dispenser-01.saperu.net/code.php?user=836f97673aa6aa25a35b5029263ee232&host=amxxmodx.ru&charset=windows-1251&format=serialize, type: file_get_contents

SAPE ERROR: Не могу подключиться к серверу: dispenser-02.saperu.net/code.php?user=836f97673aa6aa25a35b5029263ee232&host=amxxmodx.ru&charset=windows-1251&format=serialize, type: file_get_contents

is_user_hltv HLTV » AmxModX
| |
 RSS
  • OnLine

    : 6
    : 4
    : -
    : crawl Bot, Yandex Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 1-12-2011, 00:34 : 3097

    is_user_hltv HLTV

    , HLTV, . HLTV

    amxmodx.inc:
    /* Returns 1 or 0. */
    native is_user_hltv(index);


    :
    is_user_hltv ( index )

    • index - id


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

    #define PLUGIN "[amxmodx.inc] is_user_hltv"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    public plugin_init() {

        register_plugin(PLUGIN, VERSION, AUTHOR)

    }
    public client_connect(id){
        
        new name[32]
        get_user_name(id,name,31)
        
        if(is_user_hltv(id)){
            
            server_print("%s is HLTV",name)
            
            
        }else{
            server_print("%s is Human",name)
        
        }
    }


    :
    , HLTV .
    , .

    1 HLTV 0 .

    HLTV , .
    .
    , .
    .
    is_user_hltv HLTV