15.05.2011, 18:36
this probably isnt the best example but here you go:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)// this is the switch that chooses which dialog the response was from
{
case dialogid: // this is where you put the id of dialog
{
// this is where you put tthe code that happens when the player responds to the dialog
}
}
}