[Help] SQLite
#1

Hello there, I am creating a system to save vehicles in the server, I am using DB as SQLite, together with the SQLite DB Browser to create and configure.

I'm new, I'm still learning the functionality of this DB, most of the tutorials are not in my native language.

So ... I created a command to see if the table is updated, but simply nothing happens.

CMD:
PHP Code:
ACMD:instab[1](playeridparams[])
{
    new 
Query[250];
    new 
result;
    
format(Querysizeof(Query), "INSERT INTO `Veнculos` (`VOwner`) VALUES ('%s')"PlayerName(playerid)); 
    
db_query(pCarsQuery);
    
SendClientMessage(playeridDebugColor"Done");
    return 
1;

And i have this other things
PHP Code:

new DB:pCars;
public 
OnGameModeInit()
{
    
pCars db_open("pCars.db");
}
public 
OnGameModeExit()
{
    
db_close(pCars);

Someone can help me?
Reply


Messages In This Thread
[Help] SQLite - by ApolloScripter - 06.01.2019, 03:42
Re: [Help] SQLite - by RoboN1X - 06.01.2019, 05:43
Re: [Help] SQLite - by Logic_ - 06.01.2019, 05:51
Re: [Help] SQLite - by ch1ps - 06.01.2019, 05:54
Re: [Help] SQLite - by ApolloScripter - 06.01.2019, 06:59
Re: [Help] SQLite - by Logic_ - 06.01.2019, 07:31
Re: [Help] SQLite - by GhostHacker9 - 06.01.2019, 07:45
Re: [Help] SQLite - by Logic_ - 06.01.2019, 10:48
Re: [Help] SQLite - by ApolloScripter - 06.01.2019, 18:45
Re: [Help] SQLite - by Mobtiesgangsa - 07.01.2019, 00:21

Forum Jump:


Users browsing this thread: 2 Guest(s)