SQLite Reading and Writing Question:
#6

You can't send two queries at the same time because its running on a single thread.
If you are interested you can read Slice's tutorial about understanding the sync: https://sampforum.blast.hk/showthread.php?tid=184118

Quote from the thread:
Quote:

The script runs on a single thread
This might sound complicated for some people, allow me to explain: All the actions the server does are always after waiting for the latest action to finish.
For example, if you have code that takes 3 seconds to run in OnPlayerConnect (such as the old GeoIP plugin), then the server will wait for that code to finish before doing anything else.

Reply


Messages In This Thread
SQLite Reading and Writing Question: - by Ballu Miaa - 08.09.2012, 17:44
Re: SQLite Reading and Writing Question: - by Maxips2 - 08.09.2012, 17:46
Re: SQLite Reading and Writing Question: - by Ballu Miaa - 08.09.2012, 17:49
Re: SQLite Reading and Writing Question: - by Maxips2 - 08.09.2012, 17:51
Re: SQLite Reading and Writing Question: - by Ballu Miaa - 08.09.2012, 17:52
Re: SQLite Reading and Writing Question: - by Maxips2 - 08.09.2012, 17:55
Re: SQLite Reading and Writing Question: - by Ballu Miaa - 08.09.2012, 17:58
Re: SQLite Reading and Writing Question: - by Maxips2 - 08.09.2012, 18:03
Re: SQLite Reading and Writing Question: - by Ballu Miaa - 08.09.2012, 18:05
Re: SQLite Reading and Writing Question: - by Maxips2 - 08.09.2012, 18:06

Forum Jump:


Users browsing this thread: 3 Guest(s)