25.12.2013, 22:18
(
Последний раз редактировалось LeGGGeNNdA; 25.12.2013 в 22:52.
)
Screenshots
Code
A Command to go inside the Bar
Enjoy
Code
Код:
RemoveBuildingForPlayer(playerid, 717, 1476.9844, -1381.4609, 61.6797, 0.25); CreateObject(3851, 1486.03, -1376.46, 63.34, 0.00, 0.00, 0.00); CreateObject(19379, 1479.70, -1375.45, 61.43, 0.00, 90.00, 0.00); CreateObject(19379, 1479.71, -1385.03, 61.43, 0.00, 90.00, 0.00); CreateObject(19379, 1479.71, -1386.35, 61.42, 0.00, 90.00, 0.00); CreateObject(3851, 1480.39, -1391.55, 63.34, 0.00, 0.00, 269.99); CreateObject(19362, 1486.03, -1383.70, 60.19, 0.00, 0.00, 0.00); CreateObject(19362, 1486.03, -1383.70, 63.62, 0.00, 0.00, 0.00); CreateObject(19362, 1486.03, -1386.90, 63.62, 0.00, 0.00, 0.00); CreateObject(19362, 1486.03, -1386.90, 60.19, 0.00, 0.00, 0.00); CreateObject(19362, 1486.03, -1390.08, 63.62, 0.00, 0.00, 0.00); CreateObject(19362, 1486.03, -1390.08, 60.19, 0.00, 0.00, 0.00); CreateObject(19362, 1473.17, -1391.55, 63.60, 0.00, 0.00, 270.16); CreateObject(19362, 1473.17, -1391.55, 60.19, 0.00, 0.00, 270.16); CreateObject(19362, 1470.00, -1391.55, 63.60, 0.00, 0.00, 270.16); CreateObject(19362, 1470.00, -1391.55, 60.19, 0.00, 0.00, 270.16); CreateObject(19362, 1466.80, -1391.56, 63.60, 0.00, 0.00, 270.16); CreateObject(19362, 1466.80, -1391.56, 60.19, 0.00, 0.00, 270.16); CreateObject(19362, 1465.82, -1391.56, 63.60, 0.00, 0.00, 270.16); CreateObject(19362, 1465.82, -1391.56, 60.19, 0.00, 0.00, 270.16); CreateObject(19362, 1464.30, -1390.04, 63.62, 0.00, 0.00, 0.00); CreateObject(19377, 1481.36, -1370.84, 60.09, 0.00, 0.00, 90.00); CreateObject(19377, 1471.84, -1370.84, 60.09, 0.00, 0.00, 90.00); CreateObject(19377, 1469.04, -1370.83, 60.09, 0.00, 0.00, 90.00); CreateObject(19362, 1464.30, -1390.04, 60.19, 0.00, 0.00, 0.00); CreateObject(19362, 1464.30, -1375.28, 63.62, 0.00, 0.00, 0.00); CreateObject(19362, 1464.31, -1386.86, 63.62, 0.00, 0.00, 0.00); CreateObject(19362, 1464.31, -1386.86, 60.19, 0.00, 0.00, 0.00); CreateObject(19362, 1464.30, -1375.28, 60.19, 0.00, 0.00, 0.00); CreateObject(19362, 1464.30, -1372.18, 63.62, 0.00, 0.00, 0.00); CreateObject(19362, 1464.30, -1372.18, 60.19, 0.00, 0.00, 0.00); CreateObject(16151, 1478.71, -1371.98, 61.83, 0.00, 0.00, 89.58); CreateObject(3851, 1464.32, -1381.09, 63.34, 0.00, 0.00, 0.00); CreateObject(1432, 1467.60, -1373.08, 61.51, 0.00, 0.00, -0.34); CreateObject(1432, 1467.56, -1378.61, 61.51, 0.00, 0.00, -0.34); CreateObject(1432, 1471.76, -1378.64, 61.51, 0.00, 0.00, -0.34); CreateObject(1432, 1467.54, -1384.15, 61.51, 0.00, 0.00, -0.34); CreateObject(1432, 1471.64, -1384.14, 61.51, 0.00, 0.00, -0.34); CreateObject(1432, 1467.42, -1389.28, 61.51, 0.00, 0.00, -0.34); CreateObject(1432, 1471.56, -1389.26, 61.51, 0.00, 0.00, -0.34); CreateObject(1703, 1476.21, -1376.19, 61.41, 0.00, 0.00, 0.00); CreateObject(1703, 1478.25, -1379.87, 61.41, 0.00, 0.00, 180.34); CreateObject(1703, 1483.03, -1379.87, 61.41, 0.00, 0.00, 180.34); CreateObject(1703, 1481.01, -1376.16, 61.41, 0.00, 0.00, 0.00); CreateObject(1827, 1477.15, -1378.08, 61.41, 0.00, 0.00, 0.00); CreateObject(1827, 1482.03, -1378.09, 61.41, 0.00, 0.00, 0.00); CreateObject(1703, 1476.20, -1386.72, 61.41, 0.00, 0.00, 0.10); CreateObject(1703, 1478.23, -1390.24, 61.41, 0.00, 0.00, 180.34); CreateObject(1827, 1477.17, -1388.58, 61.41, 0.00, 0.00, 0.00); CreateObject(1703, 1482.89, -1390.24, 61.41, 0.00, 0.00, 180.34); CreateObject(1827, 1481.92, -1388.57, 61.41, 0.00, 0.00, 0.00); CreateObject(1703, 1480.86, -1386.65, 61.41, 0.00, 0.00, 0.10); CreateObject(19377, 1481.36, -1375.97, 65.32, 0.00, 90.00, 90.00); CreateObject(19377, 1481.36, -1386.46, 65.32, 0.00, 90.00, 90.00); CreateObject(19126, 1485.75, -1371.05, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1485.72, -1373.64, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1485.73, -1376.48, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1485.74, -1379.34, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1485.78, -1382.30, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1485.77, -1385.14, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1485.79, -1387.82, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1485.79, -1390.92, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1482.61, -1391.31, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1478.77, -1391.31, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1475.29, -1391.32, 62.22, 0.00, 0.00, 0.00); CreateObject(19126, 1471.78, -1391.33, 62.22, 0.00, 0.00, 68.94); CreateObject(19126, 1468.02, -1391.33, 62.22, 0.00, 0.00, 68.94); CreateObject(19126, 1464.62, -1391.29, 62.22, 0.00, 0.00, 68.94); CreateObject(19126, 1464.61, -1387.47, 62.22, 0.00, 0.00, 68.94); CreateObject(19126, 1464.58, -1383.73, 62.22, 0.00, 0.00, 68.94); CreateObject(19126, 1464.57, -1380.21, 62.22, 0.00, 0.00, 68.94); CreateObject(19126, 1464.57, -1376.57, 62.22, 0.00, 0.00, 68.94); CreateObject(19126, 1464.58, -1372.62, 62.22, 0.00, 0.00, 68.94); CreateObject(19377, 1471.75, -1386.46, 65.32, 0.00, 90.00, 90.00); CreateObject(19377, 1469.01, -1386.45, 65.30, 0.00, 90.00, 90.00); CreateObject(19377, 1471.80, -1375.98, 65.32, 0.00, 90.00, 90.00); CreateObject(19377, 1469.01, -1376.01, 65.30, 0.00, 90.00, 90.00); CreateObject(1557, 1470.90, -1370.86, 61.33, 0.00, 0.00, 0.00); CreateObject(1557, 1473.93, -1370.86, 61.33, 0.00, 0.00, 179.88); CreateObject(19172, 1469.82, -1391.47, 63.53, 0.00, 0.00, 180.24); CreateObject(19174, 1468.09, -1370.93, 63.46, 0.00, 0.00, 0.00); CreateObject(19175, 1485.95, -1387.09, 63.87, 0.00, 0.00, 270.15);
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp("/gotobar", cmdtext, true) == 0) { SetPlayerPos(playerid, 1472.2490, -1371.6003, 62.4375); SetPlayerFacingAngle(playerid, 180); SendClientMessage(playerid, 0x00FFFFAA, "You have been Teleported to Los Santos Bar."); } return 1; } Credits for command go to NukeTripper.