WIERD !!! O_O
#9

The link I gave you explains this. The cases describes the actions to do when you select a menu row, so if you select the first menu row, case 0 will be taken.
pawn Код:
if(CurrentMenu == teleportmenu)
{
    switch(row)
    {
        case 0: //Grove Street //First row
        {
            SetPlayerPos(playerid, 2493.9133, -1682.3986, 13.3382);// These are the actions which will be taken when you select the first row.
            SetPlayerInterior(playerid, 0);
            SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to Grove Street");
        }
        case 1: //Starfish Tower
        {
            SetPlayerPos(playerid, 1541.2833, -1362.4741, 329.6457);
            SetPlayerInterior(playerid, 0);
            SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to the top of Starfish Tower");
        }
        case 2: //Wheel Arch Angels
        {
            SetPlayerPos(playerid, -2705.5503, 206.1621, 4.1797);
            SetPlayerInterior(playerid, 0);
            SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to the Wheel Arch Angels tuning-shop");
        }
        case 3: //Jizzys
        {
            SetPlayerPos(playerid, -2617.5156, 1390.6353, 7.1105);
            SetPlayerInterior(playerid, 0);
            SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to Jizzy's Nightclub!");
        }
        case 4: //4Dragons
        {
            SetPlayerPos(playerid, 2028.5538, 1008.3543, 10.8203);
            SetPlayerInterior(playerid, 0);
            SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to the Four Dragons Casino");
        }
        case 5: //Com-a-Lot
        {
            SetPlayerPos(playerid, 2169.1838, 1122.5426, 12.6107);
            SetPlayerInterior(playerid, 0);
            SendClientMessage(playerid, 0xFFFFFFFF, "Welcome to the Come-a-Lot casino!");
        }
    }
}
Reply


Messages In This Thread
WIERD !!! O_O - by [Lsrcr]Rafa - 28.08.2010, 10:11
Re: WIERD !!! O_O - by LifeStyle - 28.08.2010, 10:17
Re: WIERD !!! O_O - by R@ger - 28.08.2010, 10:17
Re: WIERD !!! O_O - by Macluawn - 28.08.2010, 10:18
Re: WIERD !!! O_O - by [Lsrcr]Rafa - 28.08.2010, 10:23
Re: WIERD !!! O_O - by [Lsrcr]Rafa - 28.08.2010, 10:26
Re: WIERD !!! O_O - by Adil - 28.08.2010, 10:28
Re: WIERD !!! O_O - by [Lsrcr]Rafa - 28.08.2010, 11:14
Re: WIERD !!! O_O - by Adil - 28.08.2010, 11:22

Forum Jump:


Users browsing this thread: 3 Guest(s)