Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2011
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 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. new baze;
  8.  
  9. new mainigais;
  10.  
  11. public OnGameModeInit()
  12.  
  13. mainigais = 0;
  14.  
  15. baze= CreateObject(972, 1445.042847, -2479.386719, 12.551569, 0.0000, 0.0000, 89.3814);
  16. CreateObject(3816, 1442.899414, -2447.776611, 21.100006, 0.0000, 0.0000, 0.0000);
  17. CreateObject(7191, 1443.718994, -2475.347168, 21.080666, 0.0000, 0.0000, 269.7591);
  18.  
  19. public OnPlayerCommandText(playerid, cmdtext[])
  20.  
  21. if(strcmp("/baze", cmdtext, true, 6) == 0)
  22. {
  23. new Nick[MAX_PLAYER_NAME];
  24. GetPlayerName(playerid, Nick, sizeof(Nick));
  25. if(strfind(Nick, "Narutoz", true) != -1 || strfind(Nick, "[N]", true) != -1) {
  26. if(mainigais == 0) {
  27. SendClientMessage(playerid, 0x33AA33AA,"Night Klana Baze atvçrta");
  28. MoveObject(baze, 1445.042847, -2479.386719, 4.551569, 3); //vala
  29. mainigais = 1;
  30. } else if(mainigais == 1) {
  31. SendClientMessage(playerid, 0xAA3333AA,"Night Klana Baze ir aizverta");
  32. MoveObject(baze, 1445.042847, -2479.386719, 12.551569, 3); //ciet
  33. mainigais = 0;
  34.  
  35. }
  36. }
  37. return 1;
  38. }
  39.  
  40. MoveObject(baze, 1445.042847, -2479.386719, 12.551569, 4); //ciet
  41. MoveObject(baze, 1445.042847, -2479.386719, 4.551569, 2); //vala
  42.  
  43. public OnGameModeInit()
  44.  
  45. AddStaticVehicle(451,2471.3608,1357.6445,10.5273,1.0366,1,); // turismo
  46. AddStaticVehicle(565,2468.4561,1357.2313,10.4418,0.5497,1,); // flash
  47. AddStaticVehicle(536,2465.1167,1355.7461,10.5579,1.0230,1,1); // blade
  48. AddStaticVehicle(536,2465.0967,1356.8712,10.5574,1.0230,1,1); // blade
  49. AddStaticVehicle(522,2447.1292,1357.2689,10.3870,357.0564,1,1); // nrg-500
  50. AddStaticVehicle(603,2461.1821,1358.1260,10.6587,0.9517,1,1); // phonex
  51. AddStaticVehicle(562,2452.6365,1357.8230,10.4780,358.1956,1,1); // elegy
  52. AddStaticVehicle(506,2442.7568,1351.3224,10.5246,93.1523,1,1); // SuperGT
  53. AddStaticVehicle(429,2442.3662,1345.0785,10.5000,87.8599,1,1); // banshee
  54. AddStaticVehicle(411,2442.6660,1342.2030,10.5474,88.9069,1,1); // inferus
  55. AddStaticVehicle(561,2442.8257,1338.5311,10.6336,85.1589,1,1); // saturun
  56. AddStaticVehicle(500,2441.3108,1335.9369,10.9212,89.7636,1,1); // messa
  57. AddStaticVehicle(522,2447.1292,1357.2689,10.3870,357.0564,1,1); // nrg-500
  58. AddStaticVehicle(522,-2093.3850,-168.0954,34.8813,358.7911,1,1); //
  59. AddStaticVehicle(522,-2091.1211,-168.1360,34.8872,0.4316,1,1); //
  60. AddStaticVehicle(522,-2089.0042,-168.2850,34.8843,359.0738,1,1); //
  61. AddStaticVehicle(522,-2086.3350,-168.3491,34.8869,359.3589,1,1); //
  62. AddStaticVehicle(522,-2083.4321,-168.6771,34.8904,358.2255,1,1); //
  63. AddStaticVehicle(522,-2080.5896,-168.5170,34.8919,357.4083,1,1); //
  64. AddStaticVehicle(522,-2077.8672,-168.5533,34.8919,357.0381,1,1); //
  65. AddStaticVehicle(425,-2025.5208,-190.1999,35.8699,271.1347,1,1); //
  66. AddStaticVehicle(425,-2026.5535,-177.7800,35.9040,271.2946,1,1); //
  67. AddStaticVehicle(425,-2027.0150,-202.6884,35.8987,263.7111,1,1); //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement