25.08.2017, 08:57
To start of, where are you setting "Commands[playerid] == 1" to 1?
I've edited the code a bit, take a look if this is working for you
I've edited the code a bit, take a look if this is working for you
pawn Код:
CMD:cmds(playerid, params[])
{
if(Commands[playerid]==1 && Menu[playerid] == 0)
{
Menu[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);
TextDrawShowForPlayer(playerid, Textdraw106);
}
return 1;
}
if(Menu[playerid] == 1)
{
if(Commands[playerid]==1)
{
if(strval(text)==1)
{
SendClientMessage(playerid, -1, "{00FFFF}Coming Soon");
Menu[playerid] = 0;
}
}
return 1;
}
}
return 1;
}