31.01.2012, 21:56
LOL i found another mistake in this code.
pawn Код:
if(dialogid == SUBMENU)
{
if(!response) return 1;
if(response)
{
switch(listitem)
{
case 0:
{
if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
SendClientMessageEx(playerid, COLOR_WHITE,"Submarine is now currently {00FF00} DOCKED");
SubDocked[playerid] = 0;
}
}
case 1:
{
if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
SendClientMessageEx(playerid, COLOR_WHITE,"Submarine is now currently {FF0000} UN-DOCKED");
SubDocked[playerid] = 1;
}
}
}
}
}