[SQLite Help] how does update work - 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 Help] how does update work (
/showthread.php?tid=534002)
[SQLite Help] how does update work -
Tika Spic - 27.08.2014
Hello, me again, sorry for being annoying but i can't get this to work... can someone help please
Код:
db_query(baza, "update `users` set `admin` = '1338' where `name` = 'MOC'");
it doesn't change any settings
Re: [SQLite Help] how does update work -
Tika Spic - 28.08.2014
Hello? Can anyone help please
Re: [SQLite Help] how does update work -
Jefff - 28.08.2014
Maybe try
pawn Код:
db_query(baza, "update `users` set `admin` = 1338 where `name` = 'MOC'");
if still nothing that means your create table is wrong
Re: [SQLite Help] how does update work -
Tika Spic - 28.08.2014
When I put in the values in manually it reads them fine... only the update doesn't work
and that doesn't work either ...
EDIT:
Scratch that, I got it working somehow.. dont ask xd anyways a new problem came up and i've been having this one for a while
My server start awfully laging (its a home srv) and its like unusable.. after i dl a new server from the samp website it works perfect for a while and then starts laging and so on.. I've done this like 5 times already and it works fine for a day or two and then starts laging like crazy.. Any tips?
Re: [SQLite Help] how does update work -
Tika Spic - 29.08.2014
Please, anyone? ^
I don't have any more ideas, no more people to ask outside of this forum..
Any suggestion I just wanna try.. anything I have no idea whats going on?
Does it have something to do with windows 8 maybe, since samp isnt working really good on it (screenshots aren't working etc.)?