11.04.2013, 07:53
(
Последний раз редактировалось MP2; 11.04.2013 в 09:22.
)
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.
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;
}