[help me] mysql error
#1

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
help me
Reply
#2

Код:
new InCargoBob[MAX_PLAYERS], CargoHours[MAX_PLAYERS], CargoMinutes[MAX_PLAYERS], bool:ObjectsAdded[MAX_PLAYERS];
Try removing the spaces from the bool and ObjectsAdded. See how it goes x]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)