SA-MP Forums Archive
Question on PAWN order... - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question on PAWN order... (/showthread.php?tid=97000)



Question on PAWN order... - x-cutter - 12.09.2009

Alright I got this little question for yall to anser

Example:
Код:
public Lollol()
{
   Lolfunc1();
   Lolfunc2();
}
Will Lolfunc2 start while Lolfunc1 is executing its script or it will wait for the Lolfunc1 to finish its stuff?

might look confusing at first... Very sorry about that lol


Re: Question on PAWN order... - dice7 - 12.09.2009

It will wait, because pawn in single threaded


Re: Question on PAWN order... - Nick_name - 12.09.2009

It'll finish the first command first.


Re: Question on PAWN order... - x-cutter - 12.09.2009

Okay, thanks all for the replies