05.11.2016, 14:12
Hello
When i try to use this command i got "Unknown Command" idk why
i tired of complie it and recomplie
When i try to use this command i got "Unknown Command" idk why
PHP код:
CMD:Shop(playerid, params[])
{
if(Showing[playerid] == 1)
{
Showing[playerid] = 0;
TextDrawHideForPlayer(playerid, Shopping[0]);
TextDrawHideForPlayer(playerid, Shopping[1]);
TextDrawHideForPlayer(playerid, Shopping[2]);
TextDrawHideForPlayer(playerid, Shopping[3]);
TextDrawHideForPlayer(playerid, Shopping[4]);
TextDrawHideForPlayer(playerid, Shopping[5]);
TextDrawHideForPlayer(playerid, Shopping[6]);
TextDrawHideForPlayer(playerid, Shopping[7]);
TextDrawHideForPlayer(playerid, Shopping[8]);
TextDrawHideForPlayer(playerid, Shopping[9]);
TextDrawHideForPlayer(playerid, Shopping[10]);
TextDrawHideForPlayer(playerid, Shopping[11]);
TextDrawHideForPlayer(playerid, Shopping[12]);
TextDrawHideForPlayer(playerid, Shopping[13]);
TextDrawHideForPlayer(playerid, Shopping[14]);
TextDrawHideForPlayer(playerid, Shopping[15]);
TextDrawHideForPlayer(playerid, Shopping[16]);
TextDrawHideForPlayer(playerid, Shopping[17]);
TextDrawHideForPlayer(playerid, Shopping[18]);
TextDrawHideForPlayer(playerid, Shopping[19]);
TextDrawHideForPlayer(playerid, Shopping[20]);
TextDrawHideForPlayer(playerid, Shopping[21]);
TextDrawHideForPlayer(playerid, Shopping[22]);
TextDrawHideForPlayer(playerid, Shopping[23]);
}
else
{
Showing[playerid] = 1;
TextDrawShowForPlayer(playerid, Shopping[0]);
TextDrawShowForPlayer(playerid, Shopping[1]);
TextDrawShowForPlayer(playerid, Shopping[2]);
TextDrawShowForPlayer(playerid, Shopping[3]);
TextDrawShowForPlayer(playerid, Shopping[4]);
TextDrawShowForPlayer(playerid, Shopping[5]);
TextDrawShowForPlayer(playerid, Shopping[6]);
TextDrawShowForPlayer(playerid, Shopping[7]);
TextDrawShowForPlayer(playerid, Shopping[8]);
TextDrawShowForPlayer(playerid, Shopping[9]);
TextDrawShowForPlayer(playerid, Shopping[10]);
TextDrawShowForPlayer(playerid, Shopping[11]);
TextDrawShowForPlayer(playerid, Shopping[12]);
TextDrawShowForPlayer(playerid, Shopping[13]);
TextDrawShowForPlayer(playerid, Shopping[14]);
TextDrawShowForPlayer(playerid, Shopping[15]);
TextDrawShowForPlayer(playerid, Shopping[16]);
TextDrawShowForPlayer(playerid, Shopping[17]);
TextDrawShowForPlayer(playerid, Shopping[18]);
TextDrawShowForPlayer(playerid, Shopping[19]);
TextDrawShowForPlayer(playerid, Shopping[20]);
TextDrawShowForPlayer(playerid, Shopping[21]);
TextDrawShowForPlayer(playerid, Shopping[22]);
TextDrawShowForPlayer(playerid, Shopping[23]);
SelectTextDraw(playerid, 0x00FF00FF);
}
return 1;
}