Raised This Month: $ Target: $400
 0% 

[CS:S] Gangs Mod - Jailbreak


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Gecko
SourceMod Donor
Join Date: Nov 2010
Location: Vancouver, Canada
Plugin ID:
3718
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Create and Lead the best Gangs on the server!
    Old 07-01-2013 , 19:18   Re: Gangs Mod - Jailbreak
    Reply With Quote #1

    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.
    __________________
    "My brain is so left-sided, it isn't even funny... at all."
    Gecko is offline
    Eden.Campo
    Member
    Join Date: Mar 2013
    Old 07-02-2013 , 00:40   Re: Gangs Mod - Jailbreak
    Reply With Quote #2

    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 00:46.
    Eden.Campo is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 14:28.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode