Error please help.
#1

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:
Quote:

#define MAX_DIALOGS (15)
#define DIALOG_BASE (324)

Error is showing at these lines:

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.

Please help.
Reply


Messages In This Thread
Error please help. - by TiCa - 09.08.2011, 17:58
Re: Error please help. - by Sascha - 09.08.2011, 17:59
Re: Error please help. - by xLewisx - 09.08.2011, 18:00
Re: Error please help. - by TiCa - 09.08.2011, 18:00
Re: Error please help. - by MadeMan - 09.08.2011, 18:55
Re: Error please help. - by TiCa - 09.08.2011, 19:43
Re: Error please help. - by MadeMan - 09.08.2011, 19:52
Re : Error please help. - by Soumi - 09.08.2011, 20:03
Re: Error please help. - by TiCa - 10.08.2011, 11:20
Re: Error please help. - by Riddick94 - 10.08.2011, 11:28
Re: Error please help. - by TiCa - 11.08.2011, 09:23
Re: Error please help. - by Darnell - 11.08.2011, 10:14
Re: Error please help. - by TiCa - 11.08.2011, 11:00
Re: Error please help. - by Darnell - 11.08.2011, 11:09

Forum Jump:


Users browsing this thread: 1 Guest(s)