Advertisement
Guest User

PSM

a guest
Dec 14th, 2013
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.02 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. //#define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6.  
  7.  
  8. public OnGameModeInit()
  9. {
  10. CreateObject(5532, 1480.44617, -1499.22217, 20.52780, 0.00000, 0.00000, 180.00000, 50000.0);
  11. CreateObject(11547, 1481.22583, -1547.58533, 15.34470, 0.00000, 0.00000, 85.00000, 50000.0);
  12. CreateObject(16360, 1466.81433, -1545.66492, 12.53330, 0.00000, 0.00000, 85.00000, 50000.0);
  13. CreateObject(1676, 1472.86658, -1548.27979, 14.08590, 0.00000, 0.00000, 86.00000, 50000.0);
  14. CreateObject(1676, 1473.06970, -1545.43372, 14.09580, 0.00000, 0.00000, 86.00000, 50000.0);
  15. CreateObject(1676, 1478.45032, -1548.60925, 14.12970, 0.00000, 0.00000, 84.00000, 50000.0);
  16. CreateObject(1676, 1478.68604, -1546.03589, 14.09200, 0.00000, 0.00000, 85.00000, 50000.0);
  17. CreateObject(1676, 1483.90417, -1549.22375, 14.09200, 0.00000, 0.00000, 84.00000, 50000.0);
  18. CreateObject(1676, 1484.08630, -1546.76306, 14.12630, 0.00000, 0.00000, 85.00000, 50000.0);
  19. CreateObject(1676, 1489.36951, -1549.56628, 14.07670, 0.00000, 0.00000, 84.00000, 50000.0);
  20. CreateObject(1676, 1489.73071, -1547.11841, 14.15140, 0.00000, 0.00000, 86.00000, 50000.0);
  21. CreateObject(983, 1479.27649, -1547.17163, 13.18870, 0.00000, 0.00000, -4.00000, 50000.0);
  22. CreateObject(983, 1477.84082, -1546.95898, 13.20580, 0.00000, 0.00000, 175.00000, 50000.0);
  23. CreateObject(983, 1473.70508, -1546.80286, 13.25559, 0.00000, 0.00000, -4.00000, 50000.0);
  24. CreateObject(983, 1472.37122, -1546.65125, 13.12855, 0.00000, 0.00000, -4.00000, 50000.0);
  25. CreateObject(983, 1483.31506, -1547.74084, 13.23478, 0.00000, 0.00000, -4.00000, 50000.0);
  26. CreateObject(983, 1484.63647, -1547.79443, 13.22274, 0.00000, 0.00000, -6.00000, 50000.0);
  27. CreateObject(983, 1488.84827, -1548.04419, 13.25220, 0.00000, 0.00000, -6.00000, 50000.0);
  28. CreateObject(983, 1490.13660, -1548.37866, 13.25042, 0.00000, 0.00000, -6.00000, 50000.0);
  29. CreateObject(17534, 1443.81128, -1566.21802, 18.23347, 0.00000, 0.00000, 0.00000, 50000.0);
  30. CreateObject(1495, 1460.84875, -1573.08008, 12.54340, 0.00000, 0.00000, 89.00000, 50000.0);
  31. CreateObject(1495, 1460.86780, -1571.59180, 12.54340, 0.00000, 0.00000, 91.00000, 50000.0);
  32. CreateObject(8841, 1549.02881, -1548.51331, 15.82790, 0.00000, 0.00000, 91.00000, 50000.0);
  33. CreateObject(10183, 1541.61841, -1547.16528, 12.54440, 0.00000, 0.00000, 316.00000, 50000.0);
  34. CreateObject(10183, 1555.57483, -1548.05188, 12.53800, 0.00000, 0.00000, 136.00000, 50000.0);
  35. CreateObject(1257, 1549.11816, -1570.01221, 13.46003, 0.00000, 0.00000, -269.00000, 50000.0);
  36. CreateObject(3472, 1441.36023, -1580.50171, 12.53360, 0.00000, 0.00000, 0.00000, 50000.0);
  37. CreateObject(3472, 1466.60181, -1580.42944, 12.52523, 0.00000, 0.00000, 0.00000, 50000.0);
  38. CreateObject(3472, 1485.72412, -1580.80981, 12.52446, 0.00000, 0.00000, 0.00000, 50000.0);
  39. CreateObject(3472, 1513.57068, -1580.77490, 12.52530, 0.00000, 0.00000, 0.00000, 50000.0);
  40. CreateObject(3472, 1532.51282, -1580.99585, 12.53369, 0.00000, 0.00000, 0.00000, 50000.0);
  41. CreateObject(3472, 1553.06787, -1580.61084, 12.52761, 0.00000, 0.00000, 0.00000, 50000.0);
  42. CreateObject(3749, 1500.10156, -1579.35059, 18.23846, 0.00000, 0.00000, 0.00000, 50000.0);
  43. CreateObject(19076, 1491.10608, -1584.40601, 12.53541, 0.00000, 0.00000, 0.00000, 50000.0);
  44. CreateObject(19076, 1509.61877, -1583.46741, 12.53996, 0.00000, 0.00000, 0.00000, 50000.0);
  45. CreateObject(19058, 1490.56250, -1586.03662, 13.13302, 0.00000, 0.00000, 0.00000, 50000.0);
  46. CreateObject(19057, 1492.93823, -1585.48083, 13.24143, 0.00000, 0.00000, 0.00000, 50000.0);
  47. CreateObject(19056, 1492.52002, -1583.23169, 13.13052, 0.00000, 0.00000, 0.00000, 50000.0);
  48. CreateObject(19055, 1489.66736, -1583.72998, 13.06400, 0.00000, 0.00000, 0.00000, 50000.0);
  49. CreateObject(19058, 1507.67090, -1582.87427, 13.12845, 0.00000, 0.00000, 0.00000, 50000.0);
  50. CreateObject(19057, 1508.14807, -1584.97888, 13.14115, 0.00000, 0.00000, 0.00000, 50000.0);
  51. CreateObject(19056, 1510.38989, -1584.75439, 13.21704, 0.00000, 0.00000, 0.00000, 50000.0);
  52. CreateObject(19055, 1510.54468, -1582.76990, 13.12120, 0.00000, 0.00000, 0.00000, 50000.0);
  53. CreateObject(1340, 1515.32849, -1566.97473, 13.48140, 0.00000, 0.00000, 270.00000, 50000.0);
  54. CreateObject(1341, 1518.99255, -1566.42676, 13.45810, 0.00000, 0.00000, 271.00000, 50000.0);
  55. CreateObject(1342, 1521.90222, -1566.92822, 13.52920, 0.00000, 0.00000, -89.00000, 50000.0);
  56. CreateObject(9076, 1515.65527, -1486.47791, 26.40080, 0.00000, 0.00000, 87.00000, 50000.0);
  57. CreateObject(7586, 1553.15393, -1505.05286, 18.65444, 0.00000, 0.00000, 0.00000, 50000.0);
  58. CreateObject(1595, 1453.73486, -1566.18018, 25.33211, 0.00000, 0.00000, 0.00000, 50000.0);
  59. CreateObject(9193, 1492.07642, -1555.28320, 17.22830, 0.00000, 0.00000, 113.00000, 50000.0);
  60. CreateObject(8394, 1500.37708, -1578.78577, 35.90924, 0.00000, 0.00000, 0.00000, 50000.0);
  61. CreateObject(4239, 1525.80676, -1577.74805, 32.95140, 0.00000, 0.00000, -54.00000, 50000.0);
  62. CreateObject(1267, 1526.00732, -1578.86572, 28.13820, 0.00000, 0.00000, -55.00000, 50000.0);
  63. CreateObject(6977, 1476.74890, -1520.27820, 12.32620, 0.00000, 0.00000, 84.00000, 50000.0);
  64. CreateObject(11431, 1506.88733, -1542.91577, 13.90600, 0.00000, 0.00000, -4.00000, 50000.0);
  65. CreateObject(11431, 1512.81018, -1543.42456, 13.84859, 0.00000, 0.00000, -4.00000, 50000.0);
  66. CreateObject(983, 1510.25806, -1546.66357, 13.20580, 0.00000, 0.00000, -4.00000, 50000.0);
  67. CreateObject(983, 1511.96741, -1546.68970, 13.15580, 0.00000, 0.00000, -4.00000, 50000.0);
  68. CreateObject(983, 1504.29346, -1546.30322, 13.17059, 0.00000, 0.00000, -4.00000, 50000.0);
  69. CreateObject(983, 1505.98828, -1546.50806, 13.11617, 0.00000, 0.00000, -4.00000, 50000.0);
  70. CreateVehicle(402, 1541.3110, -1529.6489, 13.2562, -90.0000, -1, -1, 100);
  71. CreateVehicle(418, 1540.9269, -1539.5775, 13.6261, -91.0000, -1, -1, 100);
  72. CreateVehicle(424, 1541.8770, -1554.7426, 13.2069, -90.0000, -1, -1, 100);
  73. CreateVehicle(439, 1542.3938, -1565.3751, 13.4716, -90.0000, -1, -1, 100);
  74. CreateVehicle(451, 1556.2935, -1560.5081, 13.2193, -271.0000, -1, -1, 100);
  75. CreateVehicle(463, 1555.6139, -1550.4786, 13.1409, 91.0000, -1, -1, 100);
  76. CreateVehicle(470, 1555.5313, -1544.9293, 13.3241, 90.0000, -1, -1, 100);
  77. CreateVehicle(411, 1555.2062, -1535.5646, 13.2038, 91.0000, -1, -1, 100);
  78.  
  79. }
  80.  
  81. public OnGameModeExit()
  82. {
  83. return 1;
  84. }
  85.  
  86.  
  87. public OnPlayerConnect(playerid)
  88. {
  89.  
  90. RemoveBuildingForPlayer(playerid, 4026, 1497.7969, -1543.7109, 17.5547, 0.25);
  91. RemoveBuildingForPlayer(playerid, 4218, 1497.7031, -1546.6172, 43.9922, 0.25);
  92. RemoveBuildingForPlayer(playerid, 4016, 1497.7969, -1543.7109, 17.5547, 0.25);
  93. return 1;
  94. }
  95.  
  96. public OnPlayerDisconnect(playerid, reason)
  97. {
  98. return 1;
  99. }
  100.  
  101. public OnPlayerCommandText(playerid, cmdtext[])
  102. {
  103. if(!strcmp(cmdtext, "/pershingsquaremall", true))
  104. {
  105. SendClientMessage(playerid, 0xFFFFFFFF, "-----------|Pershing Square Mall|-------------");
  106. SendClientMessage(playerid, 0xFFFFFFFF, "Pershing Square Mall was made by Rocker3410");
  107. SendClientMessage(playerid, 0xFFFFFFFF, "----------------------------------------------");
  108. SendClientMessage(playerid, 0xFFFFFFFF, "Do not take credits for this map!");
  109. SendClientMessage(playerid, 0xFFFFFFFF, "----------------------------------------------");
  110. SendClientMessage(playerid, 0xFFFFFFFF, "You can edit only if you have the permissions from rocker3410!");
  111. SendClientMessage(playerid, 0xFFFFFFFF, "----------------------------------------------");
  112. return 1;
  113. // Returning 1 informs the server that the command has been processed.
  114. // OnPlayerCommandText won't be called in other scripts.
  115. }
  116. return 0;
  117. // Returning 0 informs the server that the command hasn't been processed by this script.
  118. // OnPlayerCommandText will be called in other scripts until one returns 1.
  119. // If no scripts return 1, the 'SERVER: Unknown Command' message will be shown.
  120. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement