SA-MP Forums Archive
sqlite - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: sqlite (/showthread.php?tid=653502)



sqlite - CrystalGamer - 06.05.2018

i m working on dynamic checkpoint system but i dont know how to make using sqlite
help me here i did this much
PHP код:
#define MAX_CHECKPOINTS 1000
enum cpinfo
{
 
CP_ID,
 
CP_INTERIOR,
 
CP_WORLD,
 
FloatCP_X,
 
FloatCP_Y,
 
FloatCP_Z,
 
FloatCP_SIZE,
 
FloatCP_DISTANCE,
};
new 
Checkpoint[MAX_CHECKPOINTS][cpinfo]; 
how can i make it in sqlite so it starts savin please help


Re: sqlite - JesterlJoker - 06.05.2018

[URL = "https://sampforum.blast.hk/showthread.php?tid=591250"] This should help [/URL]


if you're using sampctl then just do this
Quote:

sampctl install JesterlJoker/easy-sqlite

Disclaimer:
I don't own the above include, it's just that I'm using sampctl and is waiting for the owner to accept my pull request which has sampctl configuration for it.


Re: sqlite - CrystalGamer - 06.05.2018

Quote:
Originally Posted by JesterlJoker
Посмотреть сообщение
[URL = "https://sampforum.blast.hk/showthread.php?tid=591250"] This should help [/URL]


if you're using sampctl then just do this


Disclaimer:
I don't own the above include, it's just that I'm using sampctl and is waiting for the owner to accept my pull request which has sampctl configuration for it.
i am using already created sqlite in pawncc