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

equal . » AmxModX
| |
 RSS
  • OnLine

    : 7
    : 6
    : -
    : crawl Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 2-09-2011, 13:21 : 7304

    equal .

    ?
    :
    : .
    , , .
    , ,

    string.inc:
    /* Checks if two strings equal. If len var is set
    * then there are only c chars comapred. */
    native equal(const a[],const b[],c=0);]


    :
    equal ( const a[], const b[], [ c ] )

    • const a[] -
    • const b[] -
    • [c] - ( )


    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

    #define PLUGIN "Sravnenie strok"
    #define VERSION "1.0"
    #define AUTHOR "Admin"

    new string1[] = {"my text"}
    new string2[] = {"my text"}

    new string3[] = {"My text"}
    new string4[] = {"My text"}

    public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)

    register_srvcmd("sravni","func_equal")
    }
    public func_equal(){

    //1
    if(equal(string1,string2))
    server_print("[equal] my text = my text is True")

    //2
    if(equal(string1[3],"text",4))
    server_print("[equal] text = text (4) is True")

    //3
    if(!equal(string1,string3,0))
    server_print("[equal] my text = My text is False")

    //4
    if(equal(string3,string4,0))
    server_print("[equal] My text = My text is True")

    }


    :
    , , .
    2 , . ( , )
    sravni. 4 :

    • 1 : string1 string2
      , true server_print( )
    • 2 : string1 () text
      if(equal(string1[3],"text",4))

      string1, 3 "text" 4
      true, text text .
    • 3 : string1 string3
      string1 string3 , , false, !, " ", (string1 string 3 ) , true
    • 4 : string3 string4
      , .


    2 , equali
    , .
    .
    equal .
    Rhyme

    --
    ICQ: --
    : 0
    : 0
    : -  0  +

    :
    ! .

    , , .