Need help fast.
#1

Archive Please
Reply
#2

Please. Need help fast. Will rep who ever helps me first
Reply
#3

No, there is not. You just re-show the dialog if the response is positive (they pressed the first button).

pawn Код:
else if (dialogid == 3)//Sex
{
    if(!response) return ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Rigester", "Male \nFemale", "Ok", "Leave");
   
    new name[MAX_PLAYER_NAME], file[50];
    GetPlayerName(playerid, name, sizeof(name));
    format(file, sizeof(file), SERVER_USER_FILE, name);
   
    if (listitem == 0) dini_IntSet(file, "Gender",PlayerInfo[playerid][pGender] = 1);
    else dini_IntSet(file, "Gender",PlayerInfo[playerid][pGender] = 0);
   
    SendClientMessage(playerid,COLOR_YELLOW, "[SYSTEM]: Successfully logged in!");
    SendClientMessage(playerid,COLOR_YELLOW, "Welcome to OG-RP. This is a heavy RP script.");
    gPlayerLogged[playerid] = 1;
}
EDIT: I wouldn't post if I refreshed the page and saw that double post. FOLLOW the Forum Rules if you want to get help the next time..
Reply
#4

Great help. Repped
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)