Where?
#1

Hi
Can somebody tell me where to put those things:

pawn Код:
enum PlayerInfo {
    email[50]//And all other you laready have
}
new pInfo[MAX_PLAYERS][PlayerInfo];
FOr this i know this need to put under PlayerREgister
right?
pawn Код:
ShowPlayerDialog(playerid,1461,DIALOG_STYLE_INPUT,"Email","Enter your email","OK","Cancel");
And this where?
OnDiaogResponse?

pawn Код:
if(dialogid == 1461)
{
    if(!response) return Kick(playerid);
    format(pInfo[playerid][email],50,"%s",inputtext);
    return 1;
}
Reply
#2

Global variables on top of your script..
And dialogs functions under OnDialogResponse
Reply
#3

Hey bro
i have those errors for this

pawn Код:
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1055) : error 021: symbol already defined: "pInfo"
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1162) : error 008: must be a constant expression; assumed zero
F:\Users\Daniel\Desktop\GamingClub RP\gamemodes\DreamWorld.pwn(1162) : error 021: symbol already defined: "PlayerInfo"
for this
pawn Код:
enum PlayerInfo {
    email[50]//And all other you laready have
}
new pInfo[MAX_PLAYERS][PlayerInfo];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)