gotenks wrote:but why do you have an if at all? it'd work the same if you removed the if statement all together, and just let the code execute,
just my stance against dirty programming
Because it will disable the callvote timelimit command for other than x values where x is below 0 or eq 0 or greater than 1, so dnt call it dirty programming
if (timel <= 0) or (timel > 1) then
et.trap_SendServerCommand(cno, "cpm "^1You can vote only for end the map!\n"" )
return 1
end
To be fair to Gotenks, its not immediately obvious what is going on without carefully scrutinising all the code in this thread. Also if you are using timelimit 1 to end the map, then tbh you should be using:
U meant to be fair with English, coz the code is not complicated. He didnt just read it as my prev posts about the logical problem, but well spotted, i just copied the code from my other mod and merged into current problem.