Can't work dialog request

Started by , Tue 02/03/2004 13:58:46

Previous topic - Next topic

Brushguy

In my global script, I have this line:

function dialog_request (1);
  ObjectOff (8);
  ObjectOff (9);

But when I run the game, I get this error message:

Error (line 43); PE03:  Parse error at '1'


What do I do?

jetlag

try this.
function dialog_request (int r) {
 if (r==1){
 ObjectOff (8);
 ObjectOff (9);
 }
}

?????????????????????????

SMF spam blocked by CleanTalk