09.12.2013, 22:52
pawn Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == gTextDraw)
{
new Msg[100];
format(Msg, 1000, "%sTEXTOOO\n", Msg);
format(Msg, 1000, "%sTEXTOOO\n", Msg);
ShowPlayerDialog(playerid, fghj, DIALOG_STYLE_MSGBOX, "TEXTOOO", Msg, "Ok", "Fechar");
}else{
TextDrawShowForPlayer(playerid, gTextDraw);
SelectTextDraw(playerid, 0xFF4040AA);
}
return 1;
}