Geting the player's ID from inputtext
#2

pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Login", "Enter your password below:", "Login", "Cancel");

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(response)
    {
      if(dialogid == 1)
      {
        // do something
        printf("PlayerID %d clicked on dialog 1", playerid);
        }
    }
    return 1;
}
Is this what you mean?

Reply


Messages In This Thread
Geting the player's ID from inputtext - by ||123|| - 17.06.2010, 16:37
Re: Geting the player's ID from inputtext - by Virtual1ty - 17.06.2010, 16:40
Re: Geting the player's ID from inputtext - by ||123|| - 17.06.2010, 16:45
Re: Geting the player's ID from inputtext - by PotH3Ad - 17.06.2010, 18:23

Forum Jump:


Users browsing this thread: 3 Guest(s)