Dialog help
#2

A better way would be to use OnPlayerClickPlayer.
Then you could do:
pawn Код:
public OnPlayerClickPlayer(playerid, clickedid, source)
{
     // Whatever ifs you used to check if player is ALLOWED TO click, example
     if( is_player_allowed_to_choose_an_admin_to_talk_to[ playerid ] == 1 )
     {
           if( PlayerEnum[ clickedid ][ admin_var ] > 0 )
           {
                // Do all that sending of messages
            }
     }
 return 1;
}
This is way much better, suggesting.
Reply


Messages In This Thread
Dialog help - by mahdi499 - 04.05.2013, 15:29
Re: Dialog help - by RajatPawar - 04.05.2013, 15:34
Re: Dialog help - by mahdi499 - 04.05.2013, 15:37
Re: Dialog help - by RajatPawar - 04.05.2013, 15:41

Forum Jump:


Users browsing this thread: 1 Guest(s)