The simplest way is to use a flag as in:
If instead you only want to drawtext... on the last instance that the original conditional was true so previous drawtext... objects are erased, don't use the Flag routine and have a unique tag ID for the drawtext.... This will force drawtext... object to be overwritten by the new instance of drawtext....
PHP Code:
var Flag=0; //or false or whatever
function main(){
if(high (-1) > high (0) && Flag == 0){
drawtext...
Flag = 1; //now the conditional will no longer evaluate to true since Flag is a global variable and retains the newly assigned value
}
}
Comment