08.07.2013, 17:00
ShowPlayerDialogEx causes a crash in the compiler, idk why.
The define is...
What can I do to get rid of the crash? Change ShowPlayerDialogEx to ShowPlayerDialog?
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; }