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







Visage Role Play - . /adminka , ! http://visage-rp.ru
VK: vk.com/sergey68

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

: MySQL

1 8 8

  1. #1

      q0b3rMAN

    :
    :19.02.2011
    :111
    :322 [+/-] 

    MySQL

    MySQL.
    - libmysql.dll. - Dev-C++, => /..., : Select Devpak ( devpaks.org ). , Update ( - ), libmysql, , , 4.1.13a, Download selected - , . , Install.

    , , MySQL .
    , , , - .

    . , samp-mysql.dev, .
    , amx.h - AMX.
    amxplugin.cpp - AMX .

    sampmysql.cpp - .
    Dev-C++ C++.
    , // , /* - */.
    ( ):
    /************************************************** ************************/
    SAMP-MySQL V0.15
    ADreNaLINe-DJ
    : adrenalinedj@msn.com
    , .
    GNU General Public License,
    Free Software Foundation; 3 ,
    ( ) .
    , ,
    - ,
    .
    GNU General Public License .

    GNU General Public
    . , . <http://www.gnu.org/licenses/>.
    :
    PHP :
    #include "SDK/plugin.h"
    #if defined WIN32
      //include this before mysql.h because it depends on socket types
      #include <winsock.h>
    #endif
    #include <mysql/mysql.h>
    #include <stdio.h>
    #include <string.h> 
    .

    :
    PHP :
        if(mysql_real_connect(&connexionserveuruserpassword0port_i00))
        {
            
    logprintf("\nConnection to MySQL database: Successfull !");
            
    free((void*)serveur);
            
    free((void*)port_s);
            
    free((void*)user);
            
    free((void*)password);
            return 
    1;
        }
        else
        {
            
    logprintf("\nConnection to MySQL database: Failed !");
            
    logprintf("%s\n",mysql_error(&connexion));
            
    free((void*)serveur);
            
    free((void*)port_s);
            
    free((void*)user);
            
    free((void*)password);
            return 
    0;
        } 
    pawno .
    if. mysql_real_connect.
    , :
    PHP :
    connexionserveuruserpassword 
    - .
    , MySQL logprintf, :
    Connection to MySQL database: Successfull !
    , :
    Connection to MySQL database: Failed !
    :
    PHP :
    AMX_NATIVE_INFO SAMPMySQLNatives[ ] =
    {
        { 
    "samp_mysql_connect",            n_samp_mysql_connect },
        { 
    "samp_mysql_select_db",            n_samp_mysql_select_db },
        { 
    "samp_mysql_query",            n_samp_mysql_query },
        { 
    "samp_mysql_store_result",            n_samp_mysql_store_result },
        { 
    "samp_mysql_fetch_row",            n_samp_mysql_fetch_row },
        { 
    "samp_mysql_get_field",            n_samp_mysql_get_field },
        { 
    "samp_mysql_num_rows",            n_samp_mysql_num_rows },
        { 
    "samp_mysql_num_fields",            n_samp_mysql_num_fields },
        { 
    "samp_mysql_ping",            n_samp_mysql_ping },
        { 
    "samp_mysql_real_escape_string",            n_samp_mysql_real_escape_string },
        { 
    "samp_mysql_free_result",            n_samp_mysql_free_result },
        { 
    "samp_mysql_strtok",            n_samp_mysql_strtok },
        { 
    "samp_mysql_close",            n_samp_mysql_close },
        { 
    0,                    }
    }; 
    pawn, , :
    samp_mysql_connect - samp_mysql_go, :
    PHP :
    samp_mysql_go("127.0.0.1""root"""); 
    , , , ! :)
    pawno-info.ru
  2. 19 c q0b3rMAN :

    # (18.08.2013),  (30.10.2012), 11 (09.02.2013),  (28.03.2013), aleks63 (01.07.2012), Bart_Marco (27.06.2012), Brother (11.03.2013), Cobra (22.06.2012), cyxapuk (19.10.2013), DmX (02.06.2019), * (23.07.2013), Jony_Nike (04.07.2012),  (20.02.2012), Oleg9696 (22.07.2012), Roy_Jons (03.08.2012), SheriffRRP (15.03.2014), Snoop228 (18.01.2013), StenlY (18.09.2012), Vlad_Surkov (28.05.2014)

  3. #2

      Thomas_Makaveli

    :
    :16.02.2013
    :
    :2,870
    :1171 [+/-] 
    , , : thomas_makaveli , )
  4. #3

      Jack_Shepard

    :
    :16.10.2012
    :
    :307
    :63 [+/-] 
    )
  5. #4

      Huseyn

    :
    :30.12.2015
    :629
    :294 [+/-] 
    -__-
  6. #5
    -__-
    : 17.06.2011, 22:04
    MySQL, ( )
    (R41-2) . ( )
  7. #6

      munchen

    :
    :12.06.2017
    :38
    :-6 [+/-] 

    , , 3
  8. #7

      Timothypluri

    :
    :25.01.2019
    :Denmark
    :1
    :0 [+/-] 

    MySQL

    . . mysql
  9. #8
    . . mysql
    8 , , .

, : 35

(, , , , , ), , .
!
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