05.02.2011, 12:26
pawn Код:
public OnPlayerSelectedMenuRow(playerid, row)
{
new Menu:CurrentMenu = GetPlayerMenu(playerid);
if(CurrentMenu == grovenuke)
{
switch(row)
{
case 0:
{
if(ballascode[playerid] == 1)
{
//code
}
else
{
//code
}
}
}
}
if(CurrentMenu == grovenuke)
{
switch(row)
{
case 0:
{
if(grovecode[playerid] == 1)
{
//code
}
}
}
}
return 1;
}