[SQLite Help] how does update work
#1

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
Reply
#2

Hello? Can anyone help please
Reply
#3

Maybe try
pawn Код:
db_query(baza, "update `users` set `admin` = 1338 where `name` = 'MOC'");
if still nothing that means your create table is wrong
Reply
#4

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?
Reply
#5

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.)?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)