#1

hey why sleep(); function dont work ? server say me invalid ...
Reply
#2

PAWN is single-threaded, so you'd only be doing yourself harm attempting this. You'd pause your whole script if you used a sleep function. I highly recommend not using it, but here you go.

pawn Код:
wait(ms)
{
    ms += GetTickCount();
    while (ms > GetTickCount()) { }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)