13.04.2012, 14:43
why isn't working the input ?
y typed other numbers of pPinKod and isn't working, if my pinkod is 2222 and me type 1111, succes is why ?
how to create on the pPinKod, if the player haves pPinKod 2222 to enter only 2222 and other to kick him ?
y typed other numbers of pPinKod and isn't working, if my pinkod is 2222 and me type 1111, succes is why ?
how to create on the pPinKod, if the player haves pPinKod 2222 to enter only 2222 and other to kick him ?
Код:
if(dialogid == 136)
{
if(response)
{
{
if(strval(inputtext) == PlayerInfo[playerid][pPinKod])
{
SendClientMessage(playerid,COLOR_WHITE,"INFO:Uspesno se logiravte na Admin Panelot.");
}
if(PlayerInfo[playerid][pAdmin] >= 1337)
{
SendClientMessage(playerid, COLOR_RED, "HELLO :) ");
//ShowPlayerDialog(playerid, 137, DIALOG_STYLE_INPUT,"Head Panel","Vnesete go Pinot na Head Panelot!","Ok","Izlezi");
}
else
{
SendClientMessage(playerid,COLOR_GREY,"GRESKA:Pogresna lozinka.");
Kick(playerid);
return 1;
}
}
}
}


