14.05.2009, 11:26
Quote:
Originally Posted by MenaceX^
What's so hard to understand? It can't connec to the database, you probably did not make one / did not define it.
|
Quote:
Originally Posted by James_Alex
1-Download XAMPP
2-install it 3-lunch it(you may have the running word in apache and mysql) 4-enter here localhost/phpmyadmin 5-Create a db |
![afro](images/smilies/mrgreen.gif)
ERROR NEXT.
Quote:
<a_samp> #include <core> #include <float> #include <time> #include <file> #include <utils> #include <morphinc> #include <dprop> #include <a_sampmysql> #include <xStreamer> #define MYSQL_HOST "127.0.0.1" #define MYSQL_USER "" #define MYSQL_PASS "" #define MYSQL_DB "" #define hostname "Afterday Tomorrow - Role Play" // set your server name #define mapname "San Andreas" // map? #define weburl "ad2morrow.itzoneclub.com" // set your web url here #define version "ADTRP: v.2.0.6.0" // set the gamemode name here #define C_DRUG 3 #define C_SMALL 6 #define C_LARGE 7 #define C_SPECIAL 5 #define C_LOCATIONS 6 #define C_DISTRIBUTION 3 #define C_VEHICLES 700 #define C_DIST_MAX_DRUGS 10 #define C_DIST_MAX_GUNS 10 #define C_TEXT_LIMIT 200 #define C_VEH_ITEMS_LIMIT 10 #define C_LEVEL_TWO 2000 #define C_LEVEL_THREE 4000 #define C_LEVEL_FOUR 8000 #define A_ITEMS_LIMIT 5 #define A_LEVEL_TWO 100 #define A_LEVEL_THREE 200 #define A_LEVEL_FOUR 400 #define C_PLAYER_LOAD_LIMIT 100 #define C_HQ_LIMIT 5000 new InCargoBob[MAX_PLAYERS], CargoHours[MAX_PLAYERS], CargoMinutes[MAX_PLAYERS], bool : ObjectsAdded[MAX_PLAYERS]; MySQL SHOW: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'new InCargoBob[MAX_PLAYERS],CargoHours[MAX_PLAYERS],CargoMinutes[MAX_PLAYERS],bo' at line 1 |