How to make this code short?
#1

hello.

As you can see i'm having trouble here, It is because the PAWN cannot compile the script due the code i added has very long lengths and off limits in PAWN.

How can i shorten this code?

pawn Код:
db_query(Database,
    "CREATE TABLE IF NOT EXISTS users (userid INTEGER PRIMARY KEY AUTOINCREMENT, username VARCHAR(24) COLLATE NOCASE, ip VARCHAR(16) COLLATE NOCASE, password VARCHAR(129), score INTEGER DEFAULT 0 NOT NULL, money INTEGER DEFAULT 5000 NOT NULL hours INTEGER DEFAULT 0 NOT NULL, minutes INTEGER DEFAULT 0 NOT NULL, seconds INTEGER DEFAULT 0 NOT NULL, admin INTEGER DEFAULT 0 NOT NULL, vip INTEGER DEFAULT 0 NOT NULL, speedboost INTEGER DEFAULT 1 NOT NULL, cookies INTEGER DEFAULT 0 NOT NULL, mb INTEGER DEFAULT 0 NOT NULL)");
Reply


Messages In This Thread
How to make this code short? - by JaKe Elite - 03.10.2013, 10:17
Re: How to make this code short? - by Konstantinos - 03.10.2013, 10:19
Re: How to make this code short? - by Sublime - 03.10.2013, 10:21
Re: How to make this code short? - by JaKe Elite - 03.10.2013, 10:30
Re: How to make this code short? - by Konstantinos - 03.10.2013, 10:41
Re: How to make this code short? - by JaKe Elite - 03.10.2013, 10:54
Re: How to make this code short? - by xganyx - 03.10.2013, 11:10
Re: How to make this code short? - by Deji - 03.10.2013, 11:56
Re: How to make this code short? - by Konstantinos - 03.10.2013, 11:59
Re: How to make this code short? - by Deji - 03.10.2013, 13:29

Forum Jump:


Users browsing this thread: 5 Guest(s)