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_no_knives . » AmxModX
| |
 RSS
  • OnLine

    : 7
    : 4
    : -
    : crawl Bot, Google Bot, Google Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 24-11-2011, 01:11 : 2654

    cs_get_no_knives .

    , , .

    cstrike.inc:
    /* Returns 1 if no knives mode is enabled, else 0.
    */
    native cs_get_no_knives();


    :
    cs_get_no_knives ( )


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

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

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

    public plugin_init() {

        register_plugin(PLUGIN, VERSION, AUTHOR)

        register_clcmd("say /no_knive","del_knive")
        register_clcmd("say /yes_knive","add_knive")
        register_clcmd("say /info_knive","info_knive")
    }

    public del_knive(id){
        //
        cs_set_no_knives(1)
    }
    public add_knive(id){
        //
        cs_set_no_knives(0)
    }
    public info_knive(id){
        //
        // 1 Yes, 0 No
        client_print(id,print_chat,"Mode no knives enable? %s",cs_get_no_knives()? "Yes" : "No")

    }


    :
    3 :
    • say /no_knive -
    • say /yes_knive -
    • say /info_knive - .
      , 1 0 .

    , .
    , .
    .
    cs_get_no_knives .