21.12.2010, 07:32
PHP код:
if (dialogid == SKINYAKUZA)
{
if(response)
{
if(inputtext == mypass)
{
YAKUZA[playerid] = 1;
SendClientMessage(playerid,COLOR_RED,"WELCOME!");
}
else
{
SendClientMessage(playerid,COLOR_RED,"ERROR: BAD PASSWORD!");
ForceClassSelection(playerid);
}
}
return 1;
}