sleep function
#1

why sleep(); function dont work in main() ? i make a test
pawn Код:
print("test1");
sleep(2000);
print("test2");
but when 2 sec passed the window say me

Код:
Run time error 6: "Invalid instruction"
any one knwo why dont work?
Reply
#2

Did you make the function? If so post it I never heard or seen a sleep(....);
Reply
#3

lol what is this sleep function
for what can be used o_0
Reply
#4

no need a function just sleep(sleeptime); CLICK ME FOR MORE INFO
Reply
#5

sleep is a psudo-function which makes execution pause for a given number of milliseconds:

That's why I guess what you using it for?
Reply
#6

only for fun at start of my gm like gm starts in 5 sec sleep(5000); gm started
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)