24.04.2010, 11:00
Is it possible to change name of OnDialogResponse to something else like OnDR.
I know one way and that is using pointer (in c++).
But is it possible to to so on Pawn ?
Or maybe by editing samp.inc ?
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
OnDR(playerid, dialogid, response, listitem, inputtext[]);
return 1;
}
stock OnDR(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
Originally Posted by [HiC
TheKiller [Stuntp.com] ]
pawn Код:
|
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;
}
#define OnDR OnDialogResponse
Originally Posted by Don Correlli
Quote:
Correct: pawn Код:
pawn Код:
|