10.03.2011, 11:14
Can you tell me where i need to put it? in OnDialogResponse when player have a dialog login?
pawn Code:
case DIALOG_LOGOWANIE:
{
if(!response)Kick(playerid);
if(response)
{
INI_ParseFile(PlayerFile(playerid), "GetPlayerPassword");
new PlayerPass[129];
GetPVarString(playerid, "pPass", PlayerPass, 129);
if(!inputtext[0])
{
SendClientMessage(playerid, COLOR_RED, "* You need to insert your password here.");
}else{
OnPlayerLogin(playerid, inputtext);
}
