13.05.2009, 15:21
Yes, you placed the brackets on the wrong place, so the script thought that he was ''on another place''
Here is the new code, that'll works
Here is the new code, that'll works

pawn Код:
public OnPlayerSelectedMenuRow(playerid, row)
{
new Menu:current;
current = GetPlayerMenu(playerid);
if(current == TPM)
{
switch(row)
{
case 0:
{
ShowMenuForPlayer(TPS,playerid);
}
case 1:
{
ShowMenuForPlayer(TPL,playerid);
}
}
}
if(current == TPS)
{
switch(row)
{
case 0:
{
SetPlayerPos(playerid,1122.145020, -2576.983398, 313.387695);
}
case 1:
{
SetPlayerPos(playerid,2682.959961, -2606.618408, 499.154022);
}
case 2:
{
SetPlayerPos(playerid,-1339.989502, -362.349243, 3505.428711);
}
}
}
if(current == TPL)
{
switch(row)
{
case 0:
{
SetPlayerPos(playerid,-2379.5391,-1613.2455,497.6486);
}
case 1:
{
SetPlayerPos(playerid,-1635.6250,1203.2758,7.1797);
}
case 2:
{
SetPlayerPos(playerid,-1990.4949,289.1101,34.1410);
}
case 3:
{
SetPlayerPos(playerid,-2623.9255,1409.7347,7.0938);
}
case 4:
{
SetPlayerPos(playerid,-2694.4810,217.2300,4.1797);
}
}
}
return 1;
}

