2nd Problem :/
#5

pawn Код:
new Float:area51random[][4] = //4.. X, Y, Z, A
{
    // Positions, (X, Y, Z and Facing Angle)
    {155.7807,1903.4863,18.6700,268.1238},
    {210.1140,1838.3635,17.6406,353.6646},
    {221.7679,1860.6051,13.1470,50.0417},
    {202.8862,1872.8151,13.1406,238.6468},
    {244.7581,1933.3304,17.6481,147.8027},
    {243.1046,1863.9373,11.4609,24.2361},
    {246.9140,1860.9084,14.0840,351.8174},
    {259.4326,1852.4431,8.7578,105.5351}
};

//OnPlayerSelectedMenuRow
if(GetPlayerMenu(playerid) == DM)
    {
        switch(row)
        {
            case 0:
            {
                GameTextForPlayer(playerid,"~r~Welcome to Area51 DM",3000,4);
                TogglePlayerControllable(playerid, 1);
                HideMenuForPlayer(DM, playerid);
                new rspawn = random(sizeof(area51random));
                SetPlayerPos(playerid, RandomSpawn[rspawn][0], RandomSpawn[rspawn][1], RandomSpawn[rspawn][2]);
                SetPlayerFacingAngle(playerid, RandomSpawn[rspawn][3]);
            }
        }
    }
        //next case..
Reply


Messages In This Thread
2nd Problem :/ - by fie - 28.07.2011, 18:16
Re: 2nd Problem :/ - by Jay. - 28.07.2011, 18:25
Re: 2nd Problem :/ - by fie - 28.07.2011, 18:41
Re: 2nd Problem :/ - by Jay. - 28.07.2011, 18:43
Re: 2nd Problem :/ - by Laronic - 28.07.2011, 18:44

Forum Jump:


Users browsing this thread: 1 Guest(s)