OnPlayerSelectedRow causes multiple errors
#5

Quote:
Originally Posted by -Sneaky-
Посмотреть сообщение
Код:
public OnPlayerSelectedMenuRow(playerid, row)
{
    if(GetPlayerMenu(playerid) == Menu)
    {
    	switch(row)
        {
        	case 0:
        	{
        	    SetPlayerPos(playerid,2081.1968,1232.8430,10.8203);
        	    TogglePlayerControllable(playerid, true);
        	}

        	case 1:
        	{
        	    SetPlayerPos(playerid,1751.0615,-1594.7960,13.5410);
        	    TogglePlayerControllable(playerid, true);
        	}

        	case 2:
        	{
        	    SetPlayerPos(playerid,-2153.8379,1051.2831,80.0000);
        	    TogglePlayerControllable(playerid, true);
        	}
    	    }
	}
	return 1;
}
Thank you very much mate.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)