View Single Post
Eden.Campo
Member
Join Date: Mar 2013
Old 07-02-2013 , 01:40   Re: Gangs Mod - Jailbreak
Reply With Quote #5

Quote:
Originally Posted by Gecko View Post
You messed up your SQL syntax,
Code:
CREATE TABLE IF NOT EXISTS Gang.Gangs_Users
(
	SteamID varchar(255) NOT NULL,
	Name varchar(255) NOT NULL,
	Gang varchar(255) NOT NULL DEFAULT 'none',
	Rank varchar(255) NOT NULL DEFAULT 'none'
);
Should be

Code:
CREATE TABLE IF NOT EXISTS Gangs_Users
(
	SteamID varchar(255) NOT NULL,
	Name varchar(255) NOT NULL,
	Gang varchar(255) NOT NULL DEFAULT 'none',
	Rank varchar(255) NOT NULL DEFAULT 'none'
);
Without the "Gang.", otherwise it returns with denied permission.

As with the other CREATE statements.
@Gecko
Thanks, fixed that.

also, I will try using TQuerys to fix the lag issue, I'll upload a new version when I'm done.

Last edited by Eden.Campo; 07-02-2013 at 01:46.
Eden.Campo is offline