01.11.2014, 14:00
I have a dialog and I would like it to show something different on each rank.
That thing will be put under OnDialogResponse, but is it correct if I use it this way?
That thing will be put under OnDialogResponse, but is it correct if I use it this way?
pawn Код:
if(dialogid == SOME_DIALOG)
{
if(response)
{
switch(listitem)
{
if(Rank 1)
{
ShowPlayerDialog( etc. etc....);
}
else if(Rank 2)
{
ShowPlayerDialog( etc. etc....);
}
}
}
return 1;
}