Include editing question ?
#4

Quote:
Originally Posted by [HiC
TheKiller [Stuntp.com] ]
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  OnDR(playerid, dialogid, response, listitem, inputtext[]);
  return 1;
}

stock OnDR(playerid, dialogid, response, listitem, inputtext[])
{
 
  return 1;
}
That will give you an error (error 029: invalid expression, assumed zero).

Correct:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  OnDR(playerid, dialogid, response, listitem, inputtext);
  return 1;
}

stock OnDR(playerid, dialogid, response, listitem, inputtext[])
{
  return 1;
}
But you can just do this:
pawn Код:
#define OnDR OnDialogResponse
Reply


Messages In This Thread
Include editing question ? - by Mina - 24.04.2010, 11:00
Re: Include editing question ? - by [HiC]TheKiller - 24.04.2010, 11:06
Re: Include editing question ? - by Mina - 24.04.2010, 16:14
Re: Include editing question ? - by Correlli - 24.04.2010, 16:16
Re: Include editing question ? - by Mina - 24.04.2010, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)