Help please cmds/dialog
#4

pawn Код:
stock CheckPassword(playerid, password[])
{
    if(!strcmp(password, "ergi", false))
    {
        return true;
    }
    return false;
}
Password wasn't a string btw, forgot.

I have no idea why it says undefined symbol if you didn't remove password.

Ohh, and if you forgot how to use the stock, which you might have, do this:

pawn Код:
if(CheckPassword(playerid, passstring))
{
    //If he entered the password and got it correct, do something here
}
Reply


Messages In This Thread
Help please cmds/dialog - by ergan - 25.07.2012, 10:00
Re: Help please cmds/dialog - by Kindred - 25.07.2012, 10:39
Re: Help please cmds/dialog - by ergan - 25.07.2012, 10:50
Re: Help please cmds/dialog - by Kindred - 25.07.2012, 10:55
Re: Help please cmds/dialog - by ergan - 25.07.2012, 10:59
Re: Help please cmds/dialog - by Kindred - 25.07.2012, 11:02
Re: Help please cmds/dialog - by ergan - 25.07.2012, 11:11

Forum Jump:


Users browsing this thread: 1 Guest(s)