Tag Mismatch. [REP+]
#8

Tried to put it under OnGameModeInit. Gives the same warning. Also another error, because it's needed in another callback.

Quote:
Originally Posted by Calgon
Посмотреть сообщение
You can't set the value of an SQLite handle. What exactly are you trying to do? A normal integer variable should probably be good enough...
I found this into a gamemode. Check this out:

pawn Код:
public OnGameModeInit()
{
    CrashedPlayers = db_open("players.crashed");

    db_query(DB:CrashedPlayers, "CREATE TABLE IF NOT EXIST [Players] ([id] INTEGER  NOT NULL PRIMARY KEY, \
                              [nick] VARCHAR(25) DEFAULT 'None' UNIQUE NULL, \
                              [x] FLOAT DEFAULT '0.0' NULL, \
                              [y] FLOAT DEFAULT '0.0' NULL, \
                              [z] FLOAT DEFAULT '0.0' NULL, \
                              [a] FLOAT DEFAULT '0.0' NULL, \
                              [w] INTEGER DEFAULT '0' NULL)"
);
Reply


Messages In This Thread
Tag Mismatch. [REP+] - by GangsTa_ - 26.12.2011, 07:02
Re: Tag Mismatch. [REP+] - by Thresholdold - 26.12.2011, 07:07
Re: Tag Mismatch. [REP+] - by Definition - 26.12.2011, 07:09
Re: Tag Mismatch. [REP+] - by GangsTa_ - 26.12.2011, 07:20
Re: Tag Mismatch. [REP+] - by Definition - 26.12.2011, 07:23
Re: Tag Mismatch. [REP+] - by Thresholdold - 26.12.2011, 07:24
Re: Tag Mismatch. [REP+] - by Calgon - 26.12.2011, 07:25
Re: Tag Mismatch. [REP+] - by GangsTa_ - 26.12.2011, 07:34
Re: Tag Mismatch. [REP+] - by Calgon - 26.12.2011, 07:40
Re: Tag Mismatch. [REP+] - by FarSe. - 26.12.2011, 07:42

Forum Jump:


Users browsing this thread: 1 Guest(s)