![]() |
|
[Pawn] I cannot find the erorr here! - Printable Version +- open.mp forum (https://forum.open.mp) +-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) +--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) +--- Thread: [Pawn] I cannot find the erorr here! (/showthread.php?tid=2197) |
I cannot find the erorr here! - Scylla - 2021-07-30 I have been getting this error and I don't know where this is happening. This error was really long time ago so I stopped coding. Now I want to continue it, and still I'm getting this error and it sucks. Error: Code: \CF.pwn(125) : error 010: invalid function or declaration
\CF.pwn(483) : error 017: undefined symbol "DIALOG_LOGIN"
\CF.pwn(487) : error 017: undefined symbol "DIALOG_REGISTER"
\CF.pwn(1105) : error 017: undefined symbol "DIALOG_REGISTER"
\CF.pwn(1110) : error 017: undefined symbol "DIALOG_REGISTER"
\CF.pwn(1126) : error 017: undefined symbol "DIALOG_LOGIN"
\CF.pwn(1138) : error 017: undefined symbol "DIALOG_LOGIN"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.Line 125 - 129: Code: enum
{
? ? ? ?DIALOG_REGISTER = 0,
? ? ? ?DIALOG_LOGIN,
};Line 483: Code: ShowPlayerDialogEx(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FFFF00}Login to proceed", "{FFFFFF}This account is registered... Please login to continue with your account.", "Enter", "Close");My includes: Code: #include "a_samp"
#include "YSI\y_ini"
#include "YSI\y_timers"
#include "sscanf2"
#include "progress"
#include "zcmd"
#include "mSelection"
#include "weapon-config"
#include "streamer"
#include "foreach"Please help! RE: I cannot find the erorr here! - Banditul - 2021-07-30 Delete the comma , after DIALOG_LOGIN in enum Edit: Last value in enum doesn't need a comma RE: I cannot find the erorr here! - Scylla - 2021-07-30 (2021-07-30, 09:23 AM)Banditul Wrote: Delete the comma , after DIALOG_LOGIN in enum I tried, still give the same error. Y_Less said it has to do something before the line. And I cant really find it. Here is my code before line 125 - 129. https://pastebin.com/G7p3ZTfM RE: I cannot find the erorr here! - Scylla - 2021-07-30 I fixed it guys turns out there was some invalid words on line 12. Thanks. Im stupid. |