- Code: Select all
if(command<=0);
{
EventDisable("command", EVENTALL);
}
All that does is disable the event even when the value of the command is higher than 0.
What is wrong with that code?
if(command<=0);
{
EventDisable("command", EVENTALL);
}
variable-=variable>0;
if(M_punch_number_var<=0);
{
EventDisable("punch", EVENTALL);
}
Users browsing this forum: No registered users and 1 guest