Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Gamemode copyrights and information goes here...
- */
- // =-=-=-=-=-= [ 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 ] =-=-=-=-=-=-=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement