[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 Line 125 - 129: Code: enum 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" 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. |