! - . . , , . , , , (, ) . !




 
VK: vk.com/sergey68

76890 - 1000,46860 - 500, 300
** V.I.P --> **

: KDLG !

11 16 16

  1. #11


    :
    :19.05.2018
    :
    :47
    :33 [+/-] 
    , . .
  2. #12


    :
    :19.05.2018
    :
    :47
    :33 [+/-] 
    , , , . :

    PHP :
    #define DIALOG_PARSE: public _:DIALOG_PARAM_0:DIALOG_PARAM_1:DIALOG_PARAM_2:DIALOG_PARAM_3:
    #define DIALOG_PARAM_0:DIALOG_PARAM_1:DIALOG_PARAM_2:DIALOG_PARAM_3:%1<%2,%3>%0(%4,%5)\
                
    dlg_%1(%4,%2,%3,%5); public dlg_%1(%4,%2,%3,%5)
    #define DIALOG_PARAM_1:DIALOG_PARAM_2:DIALOG_PARAM_3:%1<response>%0(%3,%4)\
                
    dlg_%1(%3,response,listitem,%4); public dlg_%1(%3,response,listitem,%4)
    #define DIALOG_PARAM_2:DIALOG_PARAM_3:%1<listitem>%0(%3,%4)\
                
    dlg_%1(%3,response,listitem,%4); public dlg_%1(%3,response,listitem,%4)
    #define DIALOG_PARAM_3:%1(%3,%4)\
                
    dlg_%1(%3,response,listitem,%4); public dlg_%1(%3,response,listitem,%4

    PHP :
    DIALOG_PARSE:test1<responselistitem>(playeridinputtext[]) {
    }

    DIALOG_PARSE:test2<response>(playeridinputtext[]) {
    }

    DIALOG_PARSE:test3<listitem>(playeridinputtext[]) {
    }

    DIALOG_PARSE:test4(playeridinputtext[]) {

    , , , listitem, :) , DIALOG_PARAM_N. .

    PHP :
    public _:dlg_test1(playerid,responselistiteminputtext[]); public dlg_test1(playerid,responselistiteminputtext[]) {
    }

    public 
    _:DIALOG_PARAM_0:dlg_test2(playerid,response,listiteminputtext[]); public dlg_test2(playerid,response,listiteminputtext[]) {
    }

    public 
    _:DIALOG_PARAM_0:DIALOG_PARAM_1:dlg_test3(playerid,response,listiteminputtext[]); public dlg_test3(playerid,response,listiteminputtext[]) {
    }

    public 
    _:DIALOG_PARAM_0:DIALOG_PARAM_1:DIALOG_PARAM_2:dlg_test4(playerid,response,listiteminputtext[]); public dlg_test4(playerid,response,listiteminputtext[]) {

  3. #13

      keytruth

    :
    :29.05.2019
    :11
    :0 [+/-] 
    , , , . :

    PHP :
    #define DIALOG_PARSE: public _:DIALOG_PARAM_0:DIALOG_PARAM_1:DIALOG_PARAM_2:DIALOG_PARAM_3:
    #define DIALOG_PARAM_0:DIALOG_PARAM_1:DIALOG_PARAM_2:DIALOG_PARAM_3:%1<%2,%3>%0(%4,%5)\
                
    dlg_%1(%4,%2,%3,%5); public dlg_%1(%4,%2,%3,%5)
    #define DIALOG_PARAM_1:DIALOG_PARAM_2:DIALOG_PARAM_3:%1<response>%0(%3,%4)\
                
    dlg_%1(%3,response,listitem,%4); public dlg_%1(%3,response,listitem,%4)
    #define DIALOG_PARAM_2:DIALOG_PARAM_3:%1<listitem>%0(%3,%4)\
                
    dlg_%1(%3,response,listitem,%4); public dlg_%1(%3,response,listitem,%4)
    #define DIALOG_PARAM_3:%1(%3,%4)\
                
    dlg_%1(%3,response,listitem,%4); public dlg_%1(%3,response,listitem,%4

    PHP :
    DIALOG_PARSE:test1<responselistitem>(playeridinputtext[]) {
    }

    DIALOG_PARSE:test2<response>(playeridinputtext[]) {
    }

    DIALOG_PARSE:test3<listitem>(playeridinputtext[]) {
    }

    DIALOG_PARSE:test4(playeridinputtext[]) {

    , , , listitem, :) , DIALOG_PARAM_N. .

    PHP :
    public _:dlg_test1(playerid,responselistiteminputtext[]); public dlg_test1(playerid,responselistiteminputtext[]) {
    }

    public 
    _:DIALOG_PARAM_0:dlg_test2(playerid,response,listiteminputtext[]); public dlg_test2(playerid,response,listiteminputtext[]) {
    }

    public 
    _:DIALOG_PARAM_0:DIALOG_PARAM_1:dlg_test3(playerid,response,listiteminputtext[]); public dlg_test3(playerid,response,listiteminputtext[]) {
    }

    public 
    _:DIALOG_PARAM_0:DIALOG_PARAM_1:DIALOG_PARAM_2:dlg_test4(playerid,response,listiteminputtext[]); public dlg_test4(playerid,response,listiteminputtext[]) {

    -, . , )
  4. #14


    :
    :19.05.2018
    :
    :47
    :33 [+/-] 
    . :)
  5. #15


    :
    :19.05.2018
    :
    :47
    :33 [+/-] 
    PHP :
    new buffer[15]; 
    , ... ?

    PHP :
    print("\n\n=====================================");
        print(
    "KDLG (1.0) successfully loaded!");
        print(
    "Author: keytruth");
        print(
    "=====================================\n\n"); 
    ? , , "" , YSI.

    PHP :
    new kdlg 1;
        
    #if defined kdlg_OnGameModeInit
        
    kdlg kdlg_OnGameModeInit();
        
    #endif
        #pragma unused kdlg
        
    return 1
    ? ? , OGMI, ? ?...

    !

    OnDialogReceived/Performed , ? , , , , .
  6. #16

      overnet

    :
    :22.06.2019
    :1
    :0 [+/-] 
    ...
    PHP :
    /*
     * Features:
     *  - auto-response
     *  - user-friendly API
     *  - bug-fix
     */

    #define DIALOGS__DIALOGID_FIRST       32762
    #define DIALOGS__DIALOGID_MSGBOX      32762
    #define DIALOGS__DIALOGID_INPUT       32763
    #define DIALOGS__DIALOGID_LIST        32764
    #define DIALOGS__DIALOGID_PASSWORD    32765
    #define DIALOGS__DIALOGID_TABLIST     32766
    #define DIALOGS__DIALOGID_TABLIST_HDR 32767

    static stock dialogs__indialog[MAX_PLAYERS char];
    static 
    stock dialogs__dlname[MAX_PLAYERS][32];

    #define DL_%0\32;%1(%2) DL_%0%1(%2)
    #define DEL:%0[%9] %0
    #define dialog%1(%2,%3) \
        
    forward DL_%1(%2,%3,DIALOGS__RESPONSE); \
        public 
    DL_%1(%2,%3,DIALOGS__RESPONSE) \
            if (
    DIALOGS__RESPONSE && Dialogs_Prepare((DEL:%3),DIALOGS__RESPONSE))

    stock Dialogs_Prepare (params[], resp)
    {
        switch (
    resp) {
            case 
    DIALOGS__DIALOGID_INPUT,
                 
    DIALOGS__DIALOGID_PASSWORD: {
                if (
    params[0] == '\1')
                    
    params[0] = '\0';
            }
        }
        return 
    1;
    }

    /* hook for OnDialogResponse() callback */
    public OnDialogResponse (playeriddialogidresponselistiteminputtext[])
    {
        
    /*
         * temp. buffer for storing and passing listitem to the user's callback
         * function as an array
         */
        
    static temp[1];

        
    /* prepare to call the user's callback function */
        
    if (dialogid DIALOGS__DIALOGID_FIRST)
            goto 
    ret;
        if (
    dialogs__indialog{playerid})
            goto 
    ret;

        switch (
    dialogid) {
            case 
    DIALOGS__DIALOGID_MSGBOX,
                 
    DIALOGS__DIALOGID_LIST,
                 
    DIALOGS__DIALOGID_TABLIST,
                 
    DIALOGS__DIALOGID_TABLIST_HDR: {
                
    temp[0] = listitem;
                
    CallLocalFunction (dialogs__dlname[playerid], !"dadd"playerid,
                    
    temp1response dialogid 0);
            }
            case 
    DIALOGS__DIALOGID_INPUT,
                 
    DIALOGS__DIALOGID_PASSWORD: {
                new 
    len strlen(inputtext);
                if (
    len == 0) {
                    
    inputtext[0] = '\1';
                } else {
                    do {
                        if (
    inputtext[len] == '%')
                        
    inputtext[len] = '#';
                    } while (--
    len != 0);
                }
                
    CallLocalFunction (dialogs__dlname[playerid], !"dsd"playerid,
                    
    inputtextresponse dialogid 0);
            }
        }

    ret:
    #if defined dialogs_OnDialogResponse
        
    return dialogs_OnDialogResponse (playeriddialogidresponselistitem,
            
    inputtext);
    #else
        
    return 0;
    #endif
    }

    #if defined _ALS_OnDialogResponse
        #undef OnDialogResponse
    #else
        #define _ALS_OnDialogResponse
    #endif
    #define OnDialogResponse dialogs_OnDialogResponse

    stock Dialogs_OpenDialog (playerid, const dlname[], style, const cap[],
        const 
    info[], const btn1[], const btn2[])
    {
        
    dialogs__dlname[playerid] = !"DLS_";
        
    strcat (dialogs__dlname[playerid], dlname);
        
    dialogs__indialog{playerid} = 1;
        return 
    ShowPlayerDialog (playeridDIALOGS__DIALOGID_FIRST stylestyle,
            
    capinfobtn1btn2);
    }

    stock Dialogs_CloseDialog (playerid)
    {
        static const 
    space[] = !" ";
        
    dialogs__dlname[playerid]{0} = '\0';
        
    dialogs__indialog{playerid} = 0;
        return 
    ShowPlayerDialog(playerid, -1DIALOG_STYLE_MSGBOXspacespace,
            
    spacespace);
    }

    stock Dialogs_IsPlayerInDialog (playerid)
    {
        return 
    dialogs__indialog{playerid};

    :
    PHP :
    dialog NameOfDialog (playeridparams[])
    {
        
    // code

    P.S.: , , .

    , , , . :

    PHP :
    #define DIALOG_PARSE: public _:DIALOG_PARAM_0:DIALOG_PARAM_1:DIALOG_PARAM_2:DIALOG_PARAM_3:
    #define DIALOG_PARAM_0:DIALOG_PARAM_1:DIALOG_PARAM_2:DIALOG_PARAM_3:%1<%2,%3>%0(%4,%5)\
                
    dlg_%1(%4,%2,%3,%5); public dlg_%1(%4,%2,%3,%5)
    #define DIALOG_PARAM_1:DIALOG_PARAM_2:DIALOG_PARAM_3:%1<response>%0(%3,%4)\
                
    dlg_%1(%3,response,listitem,%4); public dlg_%1(%3,response,listitem,%4)
    #define DIALOG_PARAM_2:DIALOG_PARAM_3:%1<listitem>%0(%3,%4)\
                
    dlg_%1(%3,response,listitem,%4); public dlg_%1(%3,response,listitem,%4)
    #define DIALOG_PARAM_3:%1(%3,%4)\
                
    dlg_%1(%3,response,listitem,%4); public dlg_%1(%3,response,listitem,%4

    PHP :
    DIALOG_PARSE:test1<responselistitem>(playeridinputtext[]) {
    }

    DIALOG_PARSE:test2<response>(playeridinputtext[]) {
    }

    DIALOG_PARSE:test3<listitem>(playeridinputtext[]) {
    }

    DIALOG_PARSE:test4(playeridinputtext[]) {

    , , , listitem, :) , DIALOG_PARAM_N. .

    PHP :
    public _:dlg_test1(playerid,responselistiteminputtext[]); public dlg_test1(playerid,responselistiteminputtext[]) {
    }

    public 
    _:DIALOG_PARAM_0:dlg_test2(playerid,response,listiteminputtext[]); public dlg_test2(playerid,response,listiteminputtext[]) {
    }

    public 
    _:DIALOG_PARAM_0:DIALOG_PARAM_1:dlg_test3(playerid,response,listiteminputtext[]); public dlg_test3(playerid,response,listiteminputtext[]) {
    }

    public 
    _:DIALOG_PARAM_0:DIALOG_PARAM_1:DIALOG_PARAM_2:dlg_test4(playerid,response,listiteminputtext[]); public dlg_test4(playerid,response,listiteminputtext[]) {


    .
    overnet; 22.06.2019 11:31.

, : 92

/color, , , , , color, , ., forum, html, , , , input, item, , , key, php, playerid, public, sa-mp, size, text,

(, , , , , ), , .
!
samp-rp advanvce pawn s0beit cs 1.6 0.3x World of Tanks samp-rp, samp-rp, - PAWNO SA-MP IV-MP MTA cleo s0beit sobeit sa-mp sa-mp pawno pawno pawno iv-mp iv-mp iv-mp godfather SAMP gta 4 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather rp roleplay samp-rp sa-mp sa-mp pawno gta-iv gta-v gta-sa gta-3 gta-III gta-4 gta-5 gta-vc mta mta-dm mta-race mta-sa pawno info ru pawno pawno gta-iv gta-iv gta-v gta-v gta-iv keygen gta sa gta 4 multiplayer gta san adnreas multiplayer sa-mp forum sa-mp pawno sa-mp pawno sa-mp gta-sa pawno pawno errors sa-mp 0.3c SA-MP 0.3d 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather SAMP hack rat android instagram twitter ddos root linux ubuntu mac android advance arizona 4g