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

set_pcvar_string ( ) » AmxModX
| |
 RSS
  • OnLine

    : 10
    : 7
    : -
    : crawl Bot, Google Bot, Google Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 15-04-2012, 13:00 : 2256

    set_pcvar_string ( )

    , , .
    get_pcvar_string.

    amxmodx.inc:

    native set_pcvar_string(pcvar, const string[]);


    :
    set_pcvar_string(pcvar, const string[])

    • pcvar -
    • const string[] - ,


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

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

    new pcvar

    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        
        //
        pcvar = register_cvar("test_pcvar","Mega Text")
        
        //
        new string[32]
        //
        get_pcvar_string(pcvar,string,31)
        
        //     
        server_print("^n Pcvar:%s ^n",string)
        
        register_concmd("set_cvar","set_cvar")
        
    }
    public set_cvar(){
        
        set_pcvar_string(pcvar,"New Mega Text")
        
        new string[32]
        get_pcvar_string(pcvar,string,31)
        server_print("^n Pcvar:%s ^n",string)
    }

    Radius - 12-04-2018, 02:37
    : id , .
    , .
    .
    set_pcvar_string ( )