27.10.2009, 15:03
Код:
public OnPlayerSelectedMenuRow(playerid, row) { new Menu:current; current = GetPlayerMenu(playerid); if(current == All) { switch(row) { case 0: ShowMenuForPlayer(Stunts, playerid); case 1: ShowMenuForPlayer(MiniMissions, playerid); case 2: ShowMenuForPlayer(Parkour, playerid); case 3: ShowMenuForPlayer(Deathmatch, playerid); } } if(current == Stunts) { switch(row) { case 0:{ GameTextForPlayer(playerid, "~y~Desert Airport", 1500, 4); SetPlayerPos(playerid, 404.4408,2436.4902,16.5000); } case 1:{ GameTextForPlayer(playerid, "~y~Small Jump", 1500, 4); SetPlayerPos(playerid, 915.9943,2485.3667,298.3679); } case 2:{ GameTextForPlayer(playerid, "~y~San Fierro Island", 1500, 4); SetPlayerPos(playerid,-2970.1814,485.1497,4.9110); } case 3:{ GameTextForPlayer(playerid, "~y~Los Santos Airport", 1500, 4); SetPlayerPos(playerid, 1367.1967,-2444.1541,13.5547); } case 4:{ GameTextForPlayer(playerid, "~y~Mt. Chiliad", 1500, 4); SetPlayerPos(playerid,-2358.6538,-1635.3477,483.7031); } } } return 1; }