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

containi . ( ) » AmxModX
| |
 RSS
  • OnLine

    : 6
    : 3
    : -
    : crawl Bot, Yandex Bot, Yandex Bot

    ?

    • AMX Mod X
    • up.org.ua


  • : Admin : 3-12-2011, 01:37 : 5034

    containi . ( )

    , , containi. , Plugin plugin .

    string.inc:
    /* Checks if source contains string with case ignoring. On success function
    * returns position in source, on failure returns -1. */
    native containi(const source[],const string[]);


    :
    contain ( const source[], const string[] )

    • const source[] -
    • const string[] - .


    :
    Native

    :
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

    #define PLUGIN "[string.inc] containi"
    #define VERSION "1.0"
    #define AUTHOR "Admin"


    public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        register_concmd("func_containi","func_containi")
    }
    public func_containi(){
        
        //
        new text[] = {"Its my plugin"}
        new word[] = {"My"}
        
        //
        new pos = containi(text,word)

        //
        server_print("Pos = %i",pos)

        // , ..
        if(pos != -1){
        
            server_print("Search: Yes")
        
        }else{
        
            server_print("Search: No")
        
        }
    }


    :
    2 , word 2 My, text.
    , M 4, , 0.

    4 4, RRR, -1, .

    func_containi, .
    .
    , .
    .
    containi . ( )
    arwel

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

    - .

    , , .