10.05.2011, 01:33
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!
stock Wait(time)
{
new stamp = tickcount();
while (tickcount() - stamp < time){}
return 1;
}
Wait(1000); // 1 second