[Question] Threaded scripts?
#1

Hey SAMP.

I just have on question, What da h*** is threaded scripts?
I've never heard about it before ...
Reply
#2

Threading is a common technique used in the MySQL plugin(s). Basically, you have a query and as soon as your query is executed, the plugin calls back to the script and you can put your code in threads, so the code is only executed in the thread, when the query executes properly.

It's an ambiguous term though, it can mean multiple things, but I'm presuming you're talking about the MySQL definition/usage.
Reply
#3

Hi Tony,

Threading is a form of multi-tasking. By threading activities you allow multiple processes to run simultaneously without hanging or interfering with one another. I personally have never threaded a script, however I have looked into it. If you want more info on threading, take a look here: http://en.wikipedia.org/wiki/Multith...rchitecture%29

If you want to give it a try, take a look here: https://sampforum.blast.hk/showthread.php?tid=264178

Cheers,

TJ
Reply
#4

tony whatever which car mod you use(the one in your signature) can you give me the link plz
Reply
#5

Quote:
Originally Posted by Calgon
Посмотреть сообщение
Threading is a common technique used in the MySQL plugin(s). Basically, you have a query and as soon as your query is executed, the plugin calls back to the script and you can put your code in threads, so the code is only executed in the thread, when the query executes properly.
Alright, I have no idea how to fix it, cuase my Game mode is in MySQL which I just transfared to my PC from my Host.
And some how the server wont start saying that File or Function is not found, which it should work cause it's just transfared from my Host where it works fine, I've also checked so the plugins and such are loaded and everything is loaded perfect besides the Game mode...

Any Idea mate?
Reply
#6

same here.

@Anyone.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)