[Help]MySQL[URGENT]
#1

Heres my script, could someone help me by finishing it off?
pawn Код:
/*          
    Copyright Brad Nunchr ©. All Rights Reserved.
    Leaking of this
*/


// =-=-=-=-=-= [ Includes ] =-=-=-=-=-=-=
#include <a_samp>
#include <a_mysql>

// =-=-=-=-=-= [ Defines ] =-=-=-=-=-=-=
// SQL Defines
#define SQL_HOST "localhost" // sql host
#define SQL_USER "root" // sql username
#define SQL_PASS "" // sql password
#define SQL_DB "gamemode" // sql database name

// =-=-=-=-=-= [ Enums ] =-=-=-=-=-=-=

// =-=-=-=-=-= [ Vars ] =-=-=-=-=-=-=

// =-=-=-=-=-= [ Publics ] =-=-=-=-=-=-=
public OnFilterScriptInit() {
    printf("\nGamemode loaded successfully!\n");
    mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
    return 1;
}

// =-=-=-=-=-= [ Stocks ] =-=-=-=-=-=-=
I want it to save enums and the tables on my database will be:
Username
Psssword
Admin
Score
Vip
Trusted
HD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)