if timer is running then ...?
#1

So when SetTimer("message", 1000, false); is running i want you to not be able to /poop
Reply
#2

pawn Код:
new bool:poop;

forward message();
public  message()
{
    if(poop)
    {
        // Can't poop.
    }
   
    else if(!poop)
    {
        // You can poop.
    }
}
Make a command or something where you can change poop global status. if poop global variable is turned on (value: true) then you can't do a poop, because it's says that server turned a command blocking. If it's false then you can.

However, you could do this other way, without timer but.. it's your choice.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)