29.10.2015, 13:25
PHP код:
else if(clickedid == TeleMenu_p1[5])
{
TextDrawShowForPlayer(playerid, TeleMenu_p2[0]);
TextDrawShowForPlayer(playerid, TeleMenu_p2[1]);
TextDrawShowForPlayer(playerid, TeleMenu_p2[2]);
TextDrawShowForPlayer(playerid, TeleMenu_p2[3]);
TextDrawShowForPlayer(playerid, TeleMenu_p2[4]);
TextDrawShowForPlayer(playerid, TeleMenu_p2[5]);
TextDrawShowForPlayer(playerid, TeleMenu_p2[6]);
SelectTextDraw(playerid, 0xA3B4C5FF);
SendClientMessage(playerid, -1, "Proximo MENU");
return 1;
}
PHP код:
else if(clickedid == TeleMenu_p2[5])
{
TextDrawShowForPlayer(playerid, TeleMenu_p1[0]);
TextDrawShowForPlayer(playerid, TeleMenu_p1[1]);
TextDrawShowForPlayer(playerid, TeleMenu_p1[2]);
TextDrawShowForPlayer(playerid, TeleMenu_p1[3]);
TextDrawShowForPlayer(playerid, TeleMenu_p1[4]);
TextDrawShowForPlayer(playerid, TeleMenu_p1[5]);
TextDrawShowForPlayer(playerid, TeleMenu_p1[6]);
SelectTextDraw(playerid, 0xA3B4C5FF);
SendClientMessage(playerid, -1, "Voltou ao MENU");
return 1;
}