25.07.2012, 10:55
pawn Код:
stock CheckPassword(playerid, password[])
{
if(!strcmp(password, "ergi", false))
{
return true;
}
return false;
}
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
}