Posts: 398
Threads: 135
Joined: Nov 2012
Reputation:
0
So when SetTimer("message", 1000, false); is running i want you to not be able to /poop
Posts: 1,767
Threads: 124
Joined: Mar 2010
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.