Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.57 KB | None | 0 0
  1. #include <a_samp>
  2. #include <zcmd>
  3. #include <streamer>
  4. #include <a_samp>
  5. #include <streamer>
  6. #include <YSI\y_ini>
  7. #define banf "/banned/%s.ini"
  8. //============================================================================//
  9. #define BELA 0xFFFFFFAA
  10. #define SIVA 0xBFC0C2FF
  11. new Text:Textdraw0;
  12. new Text:Textdraw1;
  13. //============================================================================//
  14. native WP_Hash(buffer[],len,const str[]);
  15. //============================================================================//
  16. #pragma tabsize 0
  17. //============================================================================//
  18. #define COL_GREEN "{6EF83C}"
  19. #define COL_RED "{F81414}"
  20. #define COL_EASY "{FFF1AF}"
  21. #define COL_WHITE "{FFFFFF}"
  22. #define COL_BLACK "{0E0101}"
  23. #define COL_GREY "{C3C3C3}"
  24. #define COL_YELLOW "{F3FF02}"
  25. #define COL_ORANGE "{FFAF00}"
  26. #define COL_LIME "{B7FF00}"
  27. #define COL_CYAN "{00FFEE}"
  28. #define COL_LIGHTBLUE "{00C0FF}"
  29. #define COL_BLUE "{0049FF}"
  30. #define COL_MAGENTA "{F300FF}"
  31. #define COL_VIOLET "{B700FF}"
  32. #define COL_PINK "{FF00EA}"
  33. #define COL_MARONE "{A90202}"
  34. #define COL_CMD "{B8FF02}"
  35. #define COL_PARAM "{3FCD02}"
  36. #define COL_SERVER "{AFE7FF}"
  37. #define COL_VALUE "{A3E4FF}"
  38. #define COL_RULE "{F9E8B7}"
  39. #define COL_RULE2 "{FBDF89}"
  40. #define COL_RWHITE "{FFFFFF}"
  41. #define COL_LGREEN "{C9FFAB}"
  42. #define COL_LRED "{FFA1A1}"
  43. #define COL_LRED2 "{C77D87}"
  44. //BOJE
  45. #define COLOR_SYSTEM 0xF5FF9FAA
  46. #define COLOR_ADMINISTRATOR 0xa0d3ffAA
  47. #define COLOR_YELLOW2 0xF5DEB3AA
  48. #define COLOR_LIGHTBLUE "{00CED1}"
  49.  
  50. #define dregister 2011
  51. #define dlogin 2012
  52. #define UserPath "Users/%s.ini"
  53. //Ostali defineovi
  54. #define SCM SendClientMessage
  55.  
  56.  
  57. //============================================================================//
  58. stock Path(playerid)
  59. {
  60. new str[128],name[MAX_PLAYER_NAME];
  61. GetPlayerName(playerid,name,sizeof(name));
  62. format(str,sizeof(str),UserPath,name);
  63. return str;
  64. }
  65.  
  66. public OnGameModeInit()
  67.  
  68. {
  69.  
  70. Textdraw0 = TextDrawCreate(565.000000, 2.000000, "NM");
  71. TextDrawBackgroundColor(Textdraw0, 255);
  72. TextDrawFont(Textdraw0, 2);
  73. TextDrawLetterSize(Textdraw0, 0.340000, 2.100001);
  74. TextDrawColor(Textdraw0, 347857151);
  75. TextDrawSetOutline(Textdraw0, 1);
  76. TextDrawSetProportional(Textdraw0, 1);
  77.  
  78. Textdraw1 = TextDrawCreate(549.000000, 17.000000, "NidzaMapping");
  79. TextDrawBackgroundColor(Textdraw1, 255);
  80. TextDrawFont(Textdraw1, 1);
  81. TextDrawLetterSize(Textdraw1, 0.220000, 0.699999);
  82. TextDrawColor(Textdraw1, -1027621121);
  83. TextDrawSetOutline(Textdraw1, 1);
  84. TextDrawSetProportional(Textdraw1, 1);
  85. //============================================================================//
  86. SetGameModeText("Nidza Mapping");
  87. AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  88. //============================================================================//Mape stavljas tu!
  89. //====================//Kupovina: Farbe,spreja,stiropora,dinamika//===========//
  90. CreateDynamicObject(18981, 1701.50000, -1570.02185, 12.04590, 0.00000, 90.00000, 0.00000);
  91. CreateDynamicObject(18981, 1676.47925, -1570.13123, 12.04590, 0.00000, 90.00000, 0.00000);
  92. CreateDynamicObject(14409, 1687.18091, -1571.50757, 10.96610, 0.00000, 0.00000, 900.00000);
  93. new donjizid = CreateDynamicObject(19377, 1691.24036, -1564.57495, 14.06558, 0.00000, 90.00000, 0.00000);
  94. SetDynamicObjectMaterial(donjizid, 0, 13724, "docg01_lahills", "ston10S", 0xFFFFFF);
  95. CreateDynamicObject(19366, 1685.17932, -1569.72705, 12.07750, 34.50000, 0.00000, 0.00000);
  96. CreateDynamicObject(19366, 1675.55115, -1561.36365, 12.67590, 0.00000, 0.00000, 0.00000);
  97. new donjizid1 = CreateDynamicObject(19377, 1680.73901, -1564.57458, 14.06560, 0.00000, 90.00000, 0.00000);
  98. SetDynamicObjectMaterial(donjizid1, 0, 13724, "docg01_lahills", "ston10S", 0xFFFFFF);
  99. CreateDynamicObject(19366, 1675.55115, -1567.78723, 12.67590, 0.00000, 0.00000, 0.00000);
  100. CreateDynamicObject(19366, 1675.55225, -1564.57715, 12.67590, 0.00000, 0.00000, 0.00000);
  101. CreateDynamicObject(19366, 1677.24243, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
  102. CreateDynamicObject(19366, 1680.45300, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
  103. CreateDynamicObject(19366, 1683.66345, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
  104. CreateDynamicObject(19366, 1691.69299, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
  105. CreateDynamicObject(19366, 1694.90295, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
  106. CreateDynamicObject(19366, 1691.69299, -1569.30408, 12.67790, 0.00000, 0.00000, 90.00000);
  107. CreateDynamicObject(19366, 1690.78955, -1569.30615, 12.67590, 0.00000, 0.00000, 90.00000);
  108. CreateDynamicObject(19366, 1689.27185, -1569.72705, 12.07350, 34.50000, 0.00000, 0.00000);
  109.  
  110. //============================================================================//
  111.  
  112. return 1;
  113.  
  114. }
  115.  
  116. public OnGameModeExit()
  117. {
  118. TextDrawHideForAll(Textdraw0);
  119. TextDrawHideForAll(Textdraw1);
  120. return 1;
  121. }
  122.  
  123. public OnPlayerRequestClass(playerid, classid)
  124. {
  125. SetSpawnInfo(playerid, 0, 0, 1228.31018, -1347.65271, 13.68364, 0,0, 0, 0, 0, 0,0);// Tu stavis koridate od 1228 do 8364
  126. SpawnPlayer(playerid);
  127. return 1;
  128.  
  129.  
  130. }
  131. public OnPlayerConnect(playerid)
  132. {
  133. TextDrawShowForPlayer(playerid, Textdraw0);
  134. TextDrawShowForPlayer(playerid, Textdraw1);
  135. //============================================================================// obirsani objekti tu
  136. //====================//Kupovina: Farbe,spreja,stiropora,dinamika//===========//
  137. //============================================================================//
  138. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement