Advertisement
Guest User

Untitled

a guest
Jul 19th, 2017
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
REBOL 9.64 KB | None | 0 0
  1. //Under OnGameModeInit
  2. CreateObject(5871, 557.94140625, -2503.3564453125, 3.8667411804199, 0, 0, 0);
  3. CreateObject(9324, 497.1748046875, -2489.83203125, 7.166898727417, 0, 0, 0);
  4. CreateObject(3640, 615.4814453125, -2477.40625, 5.5182886123657, 0, 0, 0);
  5. CreateObject(3640, 615.416015625, -2493.498046875, 5.5182886123657, 0, 0, 179.36279296875);
  6. CreateObject(3606, 492.853515625, -2512.4912109375, 4.2361660003662, 0, 0, 90.670166015625);
  7. CreateObject(3587, 564.2900390625, -2492.208984375, 3.3588376045227, 0, 0, 179.99450683594);
  8. CreateObject(3587, 572.04052734375, -2474.6923828125, 3.6088376045227, 0, 0, 0);
  9. CreateObject(3406, 631.9052734375, -2515.123046875, -1.25, 0, 0, 0);
  10. CreateObject(3406, 640.4072265625, -2515.0302734375, -1.25, 0, 0, 0);
  11. CreateObject(3406, 648.9072265625, -2514.9716796875, -1.25, 0, 0, 0);
  12. CreateObject(3406, 656.4072265625, -2514.919921875, -1.25, 0, 0, 0);
  13. CreateObject(3406, 664.9072265625, -2514.861328125, -1.25, 0, 0, 0);
  14. CreateObject(3406, 667.8232421875, -2509.2578125, -1.25, 0, 0, 90);
  15. CreateObject(3406, 667.7431640625, -2518.7568359375, -1.25, 0, 0, 90);
  16. CreateObject(3406, 674.9892578125, -2519.01171875, -1.25, 0, 0, 90);
  17. CreateObject(3406, 675.0419921875, -2510.2607421875, -1.25, 0, 0, 90);
  18. CreateObject(3406, 670.9072265625, -2514.919921875, -1.25, 0, 0, 0);
  19. CreateObject(1622, 611.49475097656, -2498.0559082031, 7.0097665786743, 0, 0, 85.3544921875);
  20. CreateObject(1616, 630.89019775391, -2521.8100585938, 4.2199416160583, 0, 0, 242.88586425781);
  21. CreateObject(1616, 631.18237304688, -2506.0495605469, 4.2199416160583, 0, 0, 183.33618164063);
  22. CreateObject(10183, 577.71942138672, -2536.4125976563, 0.67691278457642, 0, 0, 225.02099609375);
  23. CreateObject(10183, 537.69616699219, -2536.2937011719, 0.67691278457642, 0, 0, 225.01647949219);
  24. CreateObject(10183, 507.67681884766, -2536.2666015625, 0.67691278457642, 0, 0, 225.01647949219);
  25. CreateObject(11494, 616.42266845703, -2533.1845703125, 0.49278831481934, 0, 0, 314.34533691406);
  26. CreateObject(11494, 601.92022705078, -2533.1667480469, 0.49278831481934, 0, 0, 314.3408203125);
  27. CreateObject(11494, 604.5947265625, -2475.92578125, 0.99278831481934, 0, 0, 314.3408203125);
  28. CreateObject(11494, 580.46887207031, -2476.5151367188, 0.99278831481934, 0, 0, 314.3408203125);
  29. CreateObject(11494, 556.61328125, -2490.5458984375, 0.74278831481934, 0, 0, 314.3408203125);
  30. CreateObject(17950, 516.8056640625, -2490.5537109375, 3.2580370903015, 0, 0, 179.99450683594);
  31. CreateObject(17950, 492.6171875, -2525.41796875, 3.0080370903015, 0, 0, 269.31884765625);
  32. CreateObject(621, 546.50823974609, -2494.3166503906, 0.75736808776855, 0, 0, 0);
  33. CreateObject(652, 608.18499755859, -2529.7229003906, 0.51905822753906, 0, 0, 0);
  34. CreateObject(648, 629.74536132813, -2509.25390625, -11.466355323792, 0, 0, 90);
  35. CreateObject(648, 628.13238525391, -2519.3562011719, -9.7163553237915, 0, 0, 180);
  36. CreateObject(4206, 567.03552246094, -2500.9284667969, 0, 0, 0, 0);
  37. CreateObject(4206, 572.55914306641, -2513.7570800781, 0.75515174865723, 0, 0, 0);
  38. CreateObject(2896, 589.66809082031, -2479.6708984375, 0.87238883972168, 0, 0, 94);
  39. CreateObject(2895, 589.55090332031, -2478.9311523438, 1.220803976059, 0, 0, 0);
  40. CreateObject(2895, 589.62298583984, -2480.6789550781, 1.220803976059, 0, 0, 0);
  41. CreateObject(2895, 589.58081054688, -2479.6796875, 1.220803976059, 0, 0, 0);
  42. CreateObject(2895, 589.54913330078, -2478.9304199219, 1.220803976059, 0, 0, 0);
  43. CreateObject(2895, 589.57977294922, -2479.6789550781, 1.220803976059, 0, 0, 0);
  44. CreateObject(2895, 589.84973144531, -2480.1767578125, 1.220803976059, 0, 0, 0);
  45. CreateObject(2895, 589.62023925781, -2480.6772460938, 1.220803976059, 0, 0, 0);
  46. CreateObject(2895, 589.63616943359, -2480.4262695313, 1.220803976059, 0, 0, 0);
  47. CreateObject(2895, 589.61083984375, -2480.6589355469, 1.220803976059, 0, 0, 0);
  48. CreateObject(2895, 589.57781982422, -2479.6765136719, 1.220803976059, 0, 0, 0);
  49. CreateObject(2895, 589.54620361328, -2478.9265136719, 1.220803976059, 0, 0, 0);
  50. CreateObject(2895, 589.5458984375, -2478.92578125, 1.220803976059, 0, 0, 0);
  51. CreateObject(18275, 624.40588378906, -2513.9748535156, 3.2321553230286, 0, 0, 90);
  52. CreateObject(8879, 557.7568359375, -2476.580078125, 7.5095062255859, 0, 0, 270);
  53. CreateObject(8879, 585.48059082031, -2477.4682617188, 7.5095062255859, 0, 0, 90);
  54. CreateObject(1383, 535.97741699219, -2500.4619140625, 33.537670135498, 0, 0, 0);
  55. CreateObject(1384, 536.13220214844, -2500.4604492188, 65.839874267578, 0, 0, 300);
  56. CreateObject(11401, 570.11322021484, -2480.5388183594, 67.073600769043, 0, 0, 31.759765625);
  57. CreateObject(3406, 667.74591064453, -2501.4956054688, -1.25, 0, 0, 90);
  58. CreateObject(3406, 667.70861816406, -2492.984375, -1.25, 0, 0, 90);
  59. CreateObject(3406, 667.67150878906, -2484.4736328125, -1.25, 0, 0, 90);
  60. CreateObject(3406, 665.97247314453, -2484.3588867188, -1.25, 0, 0, 90);
  61. CreateObject(3406, 669.48065185547, -2484.3376464844, -1.25, 0, 0, 90);
  62. CreateObject(3406, 671.474609375, -2484.1826171875, -1.25, 0, 0, 90);
  63. CreateObject(3406, 671.54949951172, -2475.400390625, -1.25, 0, 0, 90);
  64. CreateObject(3406, 669.80395507813, -2475.5354003906, -1.25, 0, 0, 90);
  65. CreateObject(3406, 667.8095703125, -2475.689453125, -1.25, 0, 0, 90);
  66. CreateObject(3406, 666.06469726563, -2475.8244628906, -1.25, 0, 0, 90);
  67. CreateObject(3406, 664.0703125, -2475.978515625, -1.25, 0, 0, 90);
  68. CreateObject(3406, 663.99542236328, -2484.7607421875, -1.25, 0, 0, 90);
  69. CreateObject(3406, 673.23724365234, -2484.2963867188, -1.25, 0, 0, 90);
  70. CreateObject(3406, 673.31121826172, -2475.513671875, -1.25, 0, 0, 90);
  71. CreateObject(3406, 673.310546875, -2475.513671875, -1.25, 0, 0, 90);
  72. CreateObject(3406, 662.01647949219, -2478.5029296875, -1.25, 0, 0, 90);
  73. CreateObject(3406, 675.00927734375, -2478.0458984375, -1.25, 0, 0, 90);
  74. CreateObject(3406, 669.70556640625, -2492.888671875, -1.25, 0, 0, 90);
  75. CreateObject(9237, 671.97943115234, -2478.255859375, 8.806248664856, 0, 0, 0);
  76.     AddStaticVehicleEx(493,  678.6874, -2520.9312, -0.5576, 180.2246,  0,   3, 30); //
  77.     AddStaticVehicleEx(493,  678.8776, -2507.5920, -0.1471, 181.4262,  0,   3, 30); //
  78.     AddStaticVehicleEx(493,  671.6619, -2505.8042, -0.5633, 178.3826,  0,   3, 30); //
  79.     AddStaticVehicleEx(493,  671.4127, -2521.2651, -0.4229, 176.3081,  0,   3, 30); //
  80.     AddStaticVehicleEx(454,  655.5681, -2518.4937, -0.1640, 272.8220,  0,   3, 30); //
  81.     AddStaticVehicleEx(454,  643.6176, -2511.0989, 0.3203,  268.3996,  0,   3, 30); //
  82.     AddStaticVehicleEx(522,  611.3416, -2530.8333, 1.0685,  181.8445,  0,   3, 30); //
  83.     AddStaticVehicleEx(522,  606.7530, -2533.4346, 1.0073,  180.0131,  0,   3, 30); //
  84.     AddStaticVehicleEx(411,  602.1667, -2531.8281, 1.2064,  180.2108,  0,   3, 30); //
  85.     AddStaticVehicleEx(545,  616.8144, -2533.7300, 1.1737,    0.2098,  0,   3, 30); //
  86.     AddStaticVehicleEx(411,  603.8627, -2476.0796, 1.4796,  355.5945,  0,   3, 30); //
  87.     AddStaticVehicleEx(402,  580.8259, -2473.8489, 1.9085,  184.2298,  0,   3, 30); //
  88.     AddStaticVehicleEx(568,  556.7496, -2492.0981, 1.4845,  178.0820,  0,   3, 30); //
  89.     AddStaticVehicleEx(603,  492.8487, -2524.9175, 1.0596,   86.4573,  0,   3, 30); //
  90.     AddStaticVehicleEx(411,  516.9986, -2490.5581, 1.4880,  181.0462,  0,   3, 30); //
  91.     AddStaticVehicleEx(411,  520.1181, -2535.1758, 1.1414,  181.1938,  0,   3, 30); //
  92.     AddStaticVehicleEx(411,  531.1279, -2536.6919, 1.1142,  182.5465,  0,   3, 30); //
  93.     AddStaticVehicleEx(411,  550.4778, -2535.8484, 1.1184,    0.2899,  0,   3, 30); //
  94.     AddStaticVehicleEx(493,  678.6874, -2520.9312, -0.5576, 180.2246,  0,   3, 30); //
  95.     AddStaticVehicleEx(493,  678.8776, -2507.5920, -0.1471, 181.4262,  0,   3, 30); //
  96.     AddStaticVehicleEx(493,  671.6619, -2505.8042, -0.5633, 178.3826,  0,   3, 30); //
  97.     AddStaticVehicleEx(493,  671.4127, -2521.2651, -0.4229, 176.3081,  0,   3, 30); //
  98.     AddStaticVehicleEx(454,  655.5681, -2518.4937, -0.1640, 272.8220,  0,   3, 30); //
  99.     AddStaticVehicleEx(454,  643.6176, -2511.0989, 0.3203,  268.3996,  0,   3, 30); //
  100.     AddStaticVehicleEx(522,  611.3416, -2530.8333, 1.0685,  181.8445,  0,   3, 30); //
  101.     AddStaticVehicleEx(522,  606.7530, -2533.4346, 1.0073,  180.0131,  0,   3, 30); //
  102.     AddStaticVehicleEx(411,  602.1667, -2531.8281, 1.2064,  180.2108,  0,   3, 30); //
  103.     AddStaticVehicleEx(545,  616.8144, -2533.7300, 1.1737,    0.2098,  0,   3, 30); //
  104.     AddStaticVehicleEx(411,  603.8627, -2476.0796, 1.4796,  355.5945,  0,   3, 30); //
  105.     AddStaticVehicleEx(402,  580.8259, -2473.8489, 1.9085,  184.2298,  0,   3, 30); //
  106.     AddStaticVehicleEx(568,  556.7496, -2492.0981, 1.4845,  178.0820,  0,   3, 30); //
  107.     AddStaticVehicleEx(603,  492.8487, -2524.9175, 1.0596,   86.4573,  0,   3, 30); //
  108.     AddStaticVehicleEx(411,  516.9986, -2490.5581, 1.4880,  181.0462,  0,   3, 30); //
  109.     AddStaticVehicleEx(411,  520.1181, -2535.1758, 1.1414,  181.1938,  0,   3, 30); //
  110.     AddStaticVehicleEx(411,  531.1279, -2536.6919, 1.1142,  182.5465,  0,   3, 30); //
  111.     AddStaticVehicleEx(411,  550.4778, -2535.8484, 1.1184,    0.2899,  0,   3, 30); //
  112. //In admin script add
  113. new VipArea[6] = { 629,-2515,1,89,0,0 //X,Y,Z,Angle,Interior,VirtualWorld
  114. };
  115. //Under OnPlayerCommandPerformed
  116. CMD:viparea(playerid,params[])
  117. {
  118.     #pragma unused params
  119.     if(AccInfo[playerid][pVip] >= 1)
  120.     {
  121.         SendCommandToAdmins(playerid,"VipArea");
  122.         SetPlayerPos(playerid, VipArea[0], VipArea[1], VipArea[2]);
  123.         SetPlayerFacingAngle(playerid, VipArea[3]);
  124.         SetPlayerInterior(playerid, VipArea[4]);
  125.         SetPlayerVirtualWorld(playerid, VipArea[5]);
  126.         return GameTextForPlayer(playerid,"Welcome to our VIP Area!",1000,3);
  127.         }
  128.         else
  129.         {
  130.         new string[100];
  131.         format(string, sizeof(string),"%s has used /viparea (no admin or vip)", PlayerName2(playerid));
  132.         MessageToAdmins(red,string);
  133.     }
  134.     return SendClientMessage(playerid,red, "ERROR: You're not a VIP!");
  135. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement