new
dRegister[8][80] =
{
"Welcome!\n\n",
"Rules\n\n",
"1. ... blah blah blah\n",
"2. blah blah blah blah blah blah blah blah blah blah\n",
"3. blah blah blah blah blah blah blah blah..................\n",
"4. rules here.... blah blah blah................... blah blah\n",
"5. rules here.... blah blah blah blah blah blah blah blah blah blah blah blah\n\n",
"Register your account!\n" }
},
dLogin[2][34] =
{
"your account is registred\n",
"please login into your account" }
};
// Usage example
/* Line errors */ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", dRegister[8][80], "OK", "");
// Errors
// error 032: array index out of bounds (variable "dRegister")
// error 032: array index out of bounds (variable "dRegister")
// ... same for dLogin
#define REG_TEXT "Welcome!\n\nRules\n\n\ 1. Rule text 1\n\ 2. Rule text 2\n\ 3. Rule text 3\n\ 4. Rule text 4\n\ 5. Rule text 5\n\n\ Register your account!\n"
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", REG_TEXT, "OK", "");
Try this.
Код:
#define REG_TEXT "Welcome!\n\nRules\n\n\ 1. Rule text 1\n\ 2. Rule text 2\n\ 3. Rule text 3\n\ 4. Rule text 4\n\ 5. Rule text 5\n\n\ Register your account!\n" pawn Код:
|
#define REG_TEXT "Welcome!\n\nRules\n\n1. Rule text 1\n2. Rule text 2\n3. Rule text 3\n4. Rule text 4\n5. Rule text 5\n\nRegister your account!\n"