09.08.2011, 17:58
I've making a FS where you can change the weather but when i compiling, there's error:
C:\Documents and Settings\'Censure'\Desktop\'censure'\kucni\filters cripts\'censure'(122) : error 017: undefined symbol "DIALOG_BASE"
C:\Documents and Settings\'censure'\Desktop\'censure'\kucni\filters cripts\'censure'(194) : error 017: undefined symbol "DIALOG_BASE"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
But i have on the top of the script:
Error is showing at these lines:
Please help.
C:\Documents and Settings\'Censure'\Desktop\'censure'\kucni\filters cripts\'censure'(122) : error 017: undefined symbol "DIALOG_BASE"
C:\Documents and Settings\'censure'\Desktop\'censure'\kucni\filters cripts\'censure'(194) : error 017: undefined symbol "DIALOG_BASE"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
But i have on the top of the script:
Quote:
#define MAX_DIALOGS (15) #define DIALOG_BASE (324) |
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/vremenska", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid, DIALOG_BASE + 2, DIALOG_STYLE_LIST, "Vremenska prognoza by 'censure' ", "Oluja\nKisa\nGrmljavina\nSneg\nSunce", "Izaberi", "Izadji"); <------- This line return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) //the callback { if (dialogid == DIALOG_BASE + 2) <--------- This line 2 Errors. |