03.06.2014, 09:57
You can loop through the players and compare their names but I find sscanf easier:
pawn Код:
// In OnDialogResponse:
new
ID;
sscanf(inputtext, "r", ID);
if (IsPlayerConnected(ID))
{
// code..
}