dialog question
#1

i have a /admins command which shows all admins in a listbox.
but i have a question.
how can i make that if i click on a admin that the statistics show?
Or rather what must i do in OnDialogResponse?
Reply
#2

please help, i dont know how work this.
Reply
#3

https://sampwiki.blast.hk/wiki/OnDialogResponse
Example:
Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  if(dialogid == 1) //change 1 to your dialog ID
  {
    if(!response) SendClientMessage(playerid, 0xFFFFFFFF, "You canceled!");
    ....
    return 1;
  }
  return 0;
}
Reply
#4

lol
the problem is i must get the ids of the admins, and i dont know how, because i made a listbox for all admins who are in the server..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)