25.05.2009, 20:08
Why sleep fuction has been broken by SA:MP TEAM ?
Originally Posted by Castle
What are you talking about!? I never saw any Sleep function
|
print("Now it's starting to \"sleep\"");
sleep(10000);
print("10 seconds passed of \"sleep\"");
Originally Posted by russiany
I know this , rofl xD i know c++ too , but i don't know why SA:MP Team has broken this function. It was nice xD
|
Originally Posted by JeNkStAX
Pawn is only Single Threaded, Therefor its not possible to have a sleep function without halting everything else from going on in the script, SA:MP didnt "break" it, Its just how Pawn is, The only place sleep has and ever will work is in main().
|
Originally Posted by //exora
|