Need help here fast!
#1

Why am'i having a error?

The line
pawn Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
    if(playertextid == RegisterPassword[playerid])
    {
        ShowPlayerDialog(playerid, dialog_register_1, DIALOG_STYLE_PASSWORD, "Please enter a password below to register", "Please provide a strong password:", "Continue", "Cancel");
    }
    return 1;
}
The error
Код:
C:\Users\Hadjinoor-PC\Desktop\Tutorial\gamemodes\Prima.pwn(308) : error 017: undefined symbol "dialog_register_1"
And i have this on the top of the script
pawn Код:
#define dialog_regiser_1 1
EDIT: Delete this, problem fixed.
Reply
#2

PHP код:
#define dialog_regiser_1 1 
-_- Spelling mistake
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)