Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

5 Errors in my script

$
0
0
Hello SA-MP Forum members, I got 5 errors in my script, That's because this.

Code:

stock loadb()
{
    Database = db_open(_DB_);
    db_query(Database,"CREATE TABLE IF NOT EXISTS `users`\
    (`userid` INTEGER PRIMARY KEY AUTOINCREMENT, `username` TEXT, `IP` TEXT, `joindate` TEXT, `password` TEXT, `admin` NUMERIC, `kills` NUMERIC, `deaths` NUMERIC, `score` NUMERIC, `fbscore` NUMERIC, `ddscore` NUMERIC, `frscore` NUMERIC, `rscore` NUMERIC, `dmscore` NUMERIC, `money` NUMERIC, `warn` NUMERIC, `mute` NUMERIC, `mutesec` NUMERIC, `cmute` NUMERIC, `cmutesec` NUMERIC, `jail` NUMERIC, `jailsec` NUMERIC, `hours` NUMERIC, `minutes` NUMERIC, `seconds` NUMERIC, `question` TEXT, `answer` TEXT, `vip` NUMERIC)");

    db_query(Database,
    "CREATE TABLE IF NOT EXISTS `bans` (`username` TEXT, `ip` TEXT, `banby` TEXT, `banreason` TEXT, `banwhen` TEXT)");

    return 1;
}

The Errors:

Code:

fatal error 107: too many error messages on one line
error 017: undefined symbol "TABLE"
error 017: undefined symbol "CREATE"
error 037: invalid string (possibly non-terminated string)
error 075: input line too long (after substitutions)

How can i fix it?

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>