Thanks for answering.

I tried this in lite-c and c-script.

It's still the same problem.

I can't call a function with more than one parameter.

I tried this and it doesn't work
Code:
function createp(var a, var b){
temp.x=a;
temp.y=b;
...
}

createp(10,50);




But curiously it works with with one parameter when calling the function which is declared with two parameters.
Code:
function createp(var a, var b){
temp.x=a;
temp.y=b;
...
}

createp(10);





Last edited by scrooge313; 01/20/08 02:30.