OnDialogResponse question
#4

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..
}
Reply


Messages In This Thread
OnDialogResponse question - by kamiliuxliuxliux - 03.06.2014, 09:20
Re: OnDialogResponse question - by Konstantinos - 03.06.2014, 09:34
Re: OnDialogResponse question - by kamiliuxliuxliux - 03.06.2014, 09:45
Re: OnDialogResponse question - by Konstantinos - 03.06.2014, 09:57
Re: OnDialogResponse question - by kamiliuxliuxliux - 03.06.2014, 10:01

Forum Jump:


Users browsing this thread: 1 Guest(s)