21.09.2017, 11:35
How to i can make If someone pressed LMB OR The KEY_FIRE The textdraws removed?
PHP код:
CMD:cmds(playerid, params[])
{
InMenu[playerid] = 1;
{
TextDrawShowForPlayer(playerid, Textdraw66);
TextDrawShowForPlayer(playerid, Textdraw67);
TextDrawShowForPlayer(playerid, Textdraw68);
TextDrawShowForPlayer(playerid, Textdraw69);
TextDrawShowForPlayer(playerid, Textdraw70);
TextDrawShowForPlayer(playerid, Textdraw71);
TextDrawShowForPlayer(playerid, Textdraw72);
TextDrawShowForPlayer(playerid, Textdraw73);
TextDrawShowForPlayer(playerid, Textdraw74);
TextDrawShowForPlayer(playerid, Textdraw75);
TextDrawShowForPlayer(playerid, Textdraw76);
TextDrawShowForPlayer(playerid, Textdraw77);
TextDrawShowForPlayer(playerid, Textdraw78);
TextDrawShowForPlayer(playerid, Textdraw79);
TextDrawShowForPlayer(playerid, Textdraw80);
TextDrawShowForPlayer(playerid, Textdraw81);
TextDrawShowForPlayer(playerid, Textdraw82);
TextDrawShowForPlayer(playerid, Textdraw83);
TextDrawShowForPlayer(playerid, Textdraw84);
TextDrawShowForPlayer(playerid, Textdraw85);
TextDrawShowForPlayer(playerid, Textdraw86);
TextDrawShowForPlayer(playerid, Textdraw87);
TextDrawShowForPlayer(playerid, Textdraw88);
TextDrawShowForPlayer(playerid, Textdraw89);
TextDrawShowForPlayer(playerid, Textdraw90);
TextDrawShowForPlayer(playerid, Textdraw91);
TextDrawShowForPlayer(playerid, Textdraw92);
TextDrawShowForPlayer(playerid, Textdraw93);
TextDrawShowForPlayer(playerid, Textdraw94);
TextDrawShowForPlayer(playerid, Textdraw95);
TextDrawShowForPlayer(playerid, Textdraw96);
TextDrawShowForPlayer(playerid, Textdraw97);
TextDrawShowForPlayer(playerid, Textdraw98);
TextDrawShowForPlayer(playerid, Textdraw99);
TextDrawShowForPlayer(playerid, Textdraw100);
TextDrawShowForPlayer(playerid, Textdraw101);
TextDrawShowForPlayer(playerid, Textdraw102);
TextDrawShowForPlayer(playerid, Textdraw103);
TextDrawShowForPlayer(playerid, Textdraw104);
TextDrawShowForPlayer(playerid, Textdraw105);
}
return 1;
}