Should I change "ShowPlayerDialogEx" to "ShowPlayerDialog"?
#1

ShowPlayerDialogEx causes a crash in the compiler, idk why.
The define is...
Код:
// Anti Dialog ID spoofing
#define         ShowPlayerDialogEx(%0, %1, %2, %3, %4, %5, %6)              ShowPlayerDialog(%0, %1, %2, %3, %4, %5, %6) \
	SetPVarInt(%0, "dialog", %1)
stock ShowPlayerDialogEx(playerid, dialogid, style, caption[], info[], button1[], button2[]) {
	SetPVarInt(playerid, "dialog", dialogid);
	ShowPlayerDialog(playerid, dialogid, style, caption, info, button1, button2);

	return 1;
}
What can I do to get rid of the crash? Change ShowPlayerDialogEx to ShowPlayerDialog?
Reply


Messages In This Thread
Should I change "ShowPlayerDialogEx" to "ShowPlayerDialog"? - by Grooty - 08.07.2013, 17:00
Re: Should I change "ShowPlayerDialogEx" to "ShowPlayerDialog"? - by SuperViper - 08.07.2013, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)