29.03.2011, 01:35
Код:
if (dialogid == PHINT) // Property House Interiors { if (response == 1) // OK { switch (listitem) { case 0: // { SetPlayerPos(playerid, 222.9534, 1287.7649, 1082.1406); SetPlayerInterior(playerid, 1); } case 1: { SetPlayerPos(playerid, 261.0827,1284.6899,1080.2578); SetPlayerInterior(playerid,4); } case 2: { SetPlayerPos(playerid, 260.6734,1237.7909,1084.2578); SetPlayerInterior(playerid,9); } case 3: { SetPlayerPos(playerid, 376.7426,1417.3226,1081.3281); SetPlayerInterior(playerid,15); } case 4: { SetPlayerPos(playerid, 295.2874,1473.2769,1080.2578); SetPlayerInterior(playerid,15); } case 5: { SetPlayerPos(playerid, 327.9431,1478.3801,1084.4375); SetPlayerInterior(playerid,15); } case 6: { SetPlayerPos(playerid, 2270.1050,-1210.3917,1047.5625); SetPlayerInterior(playerid,10); } case 7: { SetPlayerPos(playerid, 447.1211,1397.8444,1084.3047); SetPlayerInterior(playerid,2); } case 8: { SetPlayerPos(playerid, 2196.0063,-1204.6326,1049.0234); SetPlayerInterior(playerid,6); } case 9: { SetPlayerPos(playerid, 235.3416,1187.2882,1080.2578); SetPlayerInterior(playerid,3); } case 10: { SetPlayerPos(playerid, 490.9987,1399.4164,1080.2578); SetPlayerInterior(playerid,2); } case 11: { SetPlayerPos(playerid, 227.1212,1114.1840,1080.9972); SetPlayerInterior(playerid,5); } case 12: { SetPlayerPos(playerid, 225.6624,1022.5345,1084.0145); SetPlayerInterior(playerid,7); } case 13: { SetPlayerPos(playerid, 963.8746,-52.8705,1001.1246); SetPlayerInterior(playerid,3); } case 14: { SetPlayerPos(playerid, -2159.122802,641.517517,1052.381713); SetPlayerInterior(playerid,1); } } } else // CANCEL { } return 1; }