Sleep function.
#1

Hi,

How to create a sleep function which can slow down my server for my set time, no one can connect and so on... But what i need to do is that, no sync will be, but mysql queries will be finish.
Reply
#2

Firstly, why would you want to do that? Secondly, PAWN runs on a single thread, so you can't have the server sleeping and still be able to process mySQL queries.
Reply
#3

I agree with MP2- what the hell is the point? If anything, you could make a command to lock the server via a password or something and set a timer for a certain amount of seconds/minutes/hours/days and then once that timer hits, unlock the server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)