Jump to content

Arsalan

Membru
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Arsalan

  1. 16 hours ago, Marlboro said:

    Enter the database login data in the GM source (... pwn) found in samp03 / gamemodes

    The GM source (this has the .pwn extension) opens with pawno.exe and looks for:

    #define SQL_HOST "localhost" // MySQL data
    #define SQL_USER "root"
    #define SQL_PASS ""
    #define SQL_DB "GangWar"

    Complete data from the database

    #define SQL_HOST --- ip webhost
    #defines SQL_USER --- user with which you connect to the web database
    #defines SQL_PASS --- the user password assigned to the database
    #define SQL_DB - database name

    Example of completion:

    #define SQL_HOST "178.157.85.25" // MySQL data
    #define SQL_USER "samp_admin"
    #define SQL_PASS "7nucoyubg"
    #define SQL_DB "samp_db"
    #define SCRIPT_VERSION "v0.3"

    Note: In some servers (SAMP, MTA), access to the database may take a form other than the ones listed above. For example, it can take the form of a command line:

    SQL = mysql_connect ("127.0.0.1", "root", "zV_hid9833", "");

    Access data is replaced with those I created in cPanel:

    SQL = mysql_connect ("5.83.43.25", "user_admin", "user_db", "password123");

    After completing, compile.

    If we already had a GM (it has the extension ... amx) then we will be asked if we want to replace it, we select yes.

    It is best to delete it before compilation, however we do not have anything to do with it because it includes data from another database.

    After compilation in the gamemodes folder, the compiled GM will appear.

    Thanks, i will try it. btw i have added you on skype kindly accept me there.

  2. 2 hours ago, Marlboro said:

    ENG : You did not make a good connection with the database server.

    RO: Nu ai facut bine conectarea serverului cu baza de date.

    Well, im new in scripting if you can explain me then it'd be a pleasure. just help me get out of this problem.

  3. Whenever i try to connect to my own samp server it says wrong password kindly tell me the solution how to fix this im putting the same password which i put in register box but still its saying wrong password. help me out asap

  4. 3 hours ago, Banditul said:

    You need to install vcredist 2013 and 2015 versions x32(x86) ones

    https://www.microsoft.com/en-us/download/details.aspx?id=40784

    https://www.microsoft.com/en-us/download/details.aspx?id=48145

    I belive this one were used for compiling the sscanf plugin and some of the others plugins

    Thanks Alot. i was having x64 Programs now i downloaded x86 as you said and problem is fixed now. tysm man.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.