OnPlayerSelectedRow causes multiple errors
#3

Oh okay.

Here's the code since this is my first time using this.

pawn Код:
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);
        }
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)