Clan System Error Help.
#1

Hi Guys,
I'm trying to edit this clan script to my needs but these errors are preventing it from compiling:-
Код:
C:\Users\Damman\Desktop\SA-MP Test\filterscripts\rhclansys.pwn(137) : error 075: input line too long (after substitutions)
C:\Users\Damman\Desktop\SA-MP Test\filterscripts\rhclansys.pwn(138) : error 037: invalid string (possibly non-terminated string)
C:\Users\Damman\Desktop\SA-MP Test\filterscripts\rhclansys.pwn(138) : error 017: undefined symbol "CREATE"
C:\Users\Damman\Desktop\SA-MP Test\filterscripts\rhclansys.pwn(138) : error 017: undefined symbol "TABLE"
C:\Users\Damman\Desktop\SA-MP Test\filterscripts\rhclansys.pwn(138) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
This is the code where this error is occurring //error lines are colored Red. :-
Код:
    public OnFilterScriptInit()
    {
            //--------------------------------------------------------------------------
            AntiDeAMX0();
            print("\n");
            print("+=================================+");
            print("+ System Clan Successfully Loaded +");
            print("+=================================+");
            //--------------------------------------------------------------------------
            Database = db_open("CSystem.db");
            //--------------------------------------------------------------------------
        db_query(Database, "CREATE TABLE IF NOT EXISTS clans(`ID` INTEGER PRIMARY KEY AUTOINCREMENT,\
                                                    clanname VARCHAR(30),\
                                                    clantag VARCHAR(5),\
                                                    clanleader VARCHAR(100),\
                                                    clandes VARCHAR(100),\
                                                    clanmotd VARCHAR(50),\
                                                    clankills INT(5),\
                                                    clandeaths INT(5),\
                                                    clancolor VARCHAR(50),\
                                                    clanposx float NOT NULL,\
                                                    clanposy float NOT NULL,\
                                                    clanposz float NOT NULL,\
                                                    lskin INT(3),\
                                                    mskin INT(3),\
                                                    weap1 INT(3),\
                                                    weap2 INT(3),\
                                                    weap3 INT(3),\
                                                    weap4 INT(3),\
                                                    weap5 INT(3),\     //Line # 137
                                                    weap6 INT(3))");    //Line # 138
This is the Filter-scripts original pastebin link:
http://pastebin.com/Be6L1zGu
Reply
#2

Is this SQLite?
Reply
#3

Quote:
Originally Posted by Sanady
Посмотреть сообщение
Is this SQLite?
Sir, I'm actually editing this script to my needs, This is the real link. Maybe this might help you.
This is the actual scripts pastebin.
http://pastebin.com/Be6L1zGu
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)