21.12.2010, 07:35
pawn Код:
if (dialogid == SKINYAKUZA)
{
if(response)
{
if(strcmp(inputtext, "mypass", true) == 0)
{
YAKUZA[playerid] = 1;
SendClientMessage(playerid,COLOR_RED,"WELCOME!");
}
else
{
SendClientMessage(playerid,COLOR_RED,"ERROR: BAD PASSWORD!");
ForceClassSelection(playerid);
}
}
return 1;
}