[pawn]#define SAVE_CLICKEDPLAYERID \"Save_Click\"
public
OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
SetPVarInt(playerid, SAVE_CLICKEDPLAYERID, clickedplayerid);
return 1;
}
public
OnDialogResponse(playerid, dialogid, response, listitem, inputtext[ ])
{
new
clickedplayerid = GetPVarInt(playerid, SAVE_CLICKEDPLAYERID);
/* ......
if(IsPlayerAdmin(playerid))
{
printf(\"clickedplayerid: %d\", clickedplayerid);
return 1;
}*/
return 0;
}[/pawn]