2 IF's and only 1 else..
#4

Quote:
Originally Posted by Jonny5
Посмотреть сообщение
its elseif not else if
What?

Quote:
Originally Posted by Dan.
Посмотреть сообщение
pawn Код:
if(strcmp(inputtext, parool, false) != 0)
                {
                    SendClientMessage(playerid, C_BLUE, "SERVER: Wrong password!");
                    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_PASSWORD, "..:::Logging in:::..","{FF0000}Wrong password!", "Login", "Leave");
                }
                else if(!strlen(inputtext))
                {
                    SendClientMessage(playerid, C_BRED, "You entered an empty password!");
                    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_PASSWORD, "..:::Logging in:::..","{FF0000}You entered an empty password!", "Login", "Leave");
                }
                else
                {
                    SendClientMessage(playerid, C_BLUE, "SERVER: You are logged in!");
                }
I don't see any function that loads player data in here.
Reply


Messages In This Thread
2 IF's and only 1 else.. - by Dan. - 21.04.2012, 10:43
Re: 2 IF's and only 1 else.. - by Dan. - 21.04.2012, 10:55
Re: 2 IF's and only 1 else.. - by Jonny5 - 21.04.2012, 12:48
Re: 2 IF's and only 1 else.. - by Cypress - 21.04.2012, 12:52

Forum Jump:


Users browsing this thread: 3 Guest(s)