PHP Code:
function onBla() {
if (timeout) {
bla!
}
}
why this isnt working?
for example:
PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
if (player.chat == "Test") {
onTestTime();
settimer(0.05);
}
}
function onTimeout() {
settimer(.05);
}
function onTestTime() {
sendtorc("works?");
if (timeout) {
settimer(.05);
sendtorc("timeout?");
}
onTestTime();
settimer(0.05);
}
I know, the script itself is useless, but it MUST have a timeout, doesnt it? So, it sends the "works?" like a spam, but NO "timeout?"
someone can explain why?