Hi folks,
As i´m translating a large C-script code into Lite-C, i came into a weird error regarding function parameters.
The following code gives a '"G" undeclared identifier' error:
Code:
function PORTRAIT_DIALOG(var* G,var* B)
{
 if(G==0)
 {
  LUCY_CONTROL(22);
  PLAYER_CONTROLface(22);
  UNKNOWCONTROLface(B);
  return;
  }
...


It´s weird bacuse i have other functions with even more parameters... what´s wrong? Changing 'G' to lowercase or other name doesn´t do a thing, should i declare those variables somewhere else?
By the way: the function by itself (i placed it inside one of the Lite-C examples) works fine and give no errors... why?
No variables of any kind uses 'G' (and renaming it simply doesn´t work).
Any help is appreciated... thanks in advance.