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

cs_get_user_nvg » AmxModX
| |
 RSS
  • OnLine

    : 5
    : 1
    : -
    : crawl Bot, Google Bot, Yandex Bot, robot Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 18-11-2011, 01:47 : 2425

    cs_get_user_nvg

    , , , , , . .

    cstrike.inc:
    /* Does user have night vision goggles?
    */
    native cs_get_user_nvg(index);


    :
    cs_get_user_nvg ( index )

    • index id


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>
    #include <cstrike>

    #define PLUGIN "[cstrike.inc] cs_get_user_nvg"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    public plugin_init() {

        register_plugin(PLUGIN, VERSION, AUTHOR)

        register_clcmd("say /get_nvg","get_nvg")
        
    }
    public get_nvg(id){
        //
        new nvg
        //
        nvg = cs_get_user_nvg(id)
        // .
        client_print(id,print_chat,"[cstrike.inc] You %s night vision",nvg ? "have":"dont`t have")

    }


    :
    .
    , 1 0 ( ) .
    client_print, .
    , .
    .
    cs_get_user_nvg