07.05.2014, 09:31
(
Last edited by JoeMercury; 07/05/2014 at 12:09 PM.
Reason: updating
)
Quote:
Before we start again, I want to tell you that I use an include "easydialog" for my dialogs because I used to have few problems with just 3 dialogs and the dialogids differ from each other. If you don't want to use it, then you can simply switch to the old method.
|
Code:
error 017: undefined symbol "ShowDialog"
Meanwhile I am experimenting with the code in the vain hope I will stumble on something. Is there no coding bible for this script?
---update---
I am back, here is how I got your code to compile.
I added the constants at the top of the script;
Code:
#define DIALOG_LOGIN 1 #define DIALOG_REGISTER 2
Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", "Type in your password below to log in.", "Login", "Leave"); //or this ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", "Type in a password below to register an account.", "Register", "Leave");
The code compiled and when I run this on my server, I get the "File or Function not found" error. I assume this is the "server.db" since that is the only external file. I have no problem making the table and fields but what folder is it reading this from?