Dialog Canceling Seletion whit ''ESC''
#8

Sigh. Please learn English.


If the textdraw ID passed to OnPlayerClickTextDraw is INVALID_TEXT_DRAW and you don't want it to be closed, re-call SelectTextDraw there, but be aware of recursions.

pawn Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    if(clickedid == INVALID_TEXT_DRAW && some_condition)
    {
        SelectTextDraw(playerid, color);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
TexDraw Canceling Seletion whit ''ESC'' - by Henix - 11.04.2013, 04:10
Re: Dialog Canceling Seletion whit ''ESC'' - by Faisal_khan - 11.04.2013, 04:15
Re: Dialog Canceling Seletion whit ''ESC'' - by Henix - 11.04.2013, 07:00
Re: Dialog Canceling Seletion whit ''ESC'' - by FalconX - 11.04.2013, 07:04
Re: Dialog Canceling Seletion whit ''ESC'' - by Luis- - 11.04.2013, 07:07
Re: Dialog Canceling Seletion whit ''ESC'' - by park4bmx - 11.04.2013, 07:15
Re: Dialog Canceling Seletion whit ''ESC'' - by park4bmx - 11.04.2013, 07:38
Re: Dialog Canceling Seletion whit ''ESC'' - by MP2 - 11.04.2013, 07:53
Re: Dialog Canceling Seletion whit ''ESC'' - by Henix - 11.04.2013, 17:02
Re: Dialog Canceling Seletion whit ''ESC'' - by Faisal_khan - 11.04.2013, 17:10

Forum Jump:


Users browsing this thread: 3 Guest(s)