wait function (urgent)
#1

how can i make a "wait" function that pauses for the time parameter that it would have. It would be in miliseconds. Something with GetTickCount() ... PLEASE REPLY ASAP!
Reply
#2

pawn Код:
stock Wait(time)
{
    new stamp = tickcount();
    while (tickcount() - stamp < time){}
    return 1;
}

Wait(1000); // 1 second
Reply
#3

thx.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)