PHP Code:
#pragma semicolon 1
--->
PHP Code:
#pragma semicolon 0
You have set id on some of the events you cant even use id on, you cant use id on some events..
you should use something like this
PHP Code:
YourFunction( )
{
new id = read_data( 2 )
set_task( 0.5, "SecondFunction", id )
}
SecondFunction( id ) {
// your code
}
__________________