Guest User

Untitled

a guest
Apr 7th, 2020
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.62 KB | None | 0 0
  1. //=======================Domination Roleplay==================================//
  2. // Domination Roleplay Sva Prava Zadrzana 2020 ©
  3. // Vlasnik Remaa Mapper Pavilion Scripter Remaa & Pavilion!
  4. // Zabranjeno Svako Kopiranje Gamemoda I Koriscenje U Svoje Svrhe!
  5. // Zabranjeno Koriscenje Ime Servera Domination RolePlay!
  6. // Copyright is not allowed !
  7. //
  8. //==============================Include=======================================//
  9. #include <a_samp>
  10. new Text:TDEditor_TD[9];
  11.  
  12. //==============================Define========================================//
  13. #define IME_SERVERA "DOMINATION ROLEPLAY"
  14. //==============================Varijable=====================================//
  15. #if defined FILTERSCRIPT
  16.  
  17. #else
  18. #endif
  19. main()
  20. {
  21. print("\n----------------------------------");
  22. printf(" Ime Servera : %s",IME_SERVERA);
  23. print("----------------------------------\n");
  24. }
  25. public OnGameModeInit()
  26. {
  27. TDEditor_TD[0] = TextDrawCreate(449.375000, 1.000020, "D_O_M_I_N_A_T_I_O_N");
  28. TextDrawLetterSize(TDEditor_TD[0], 0.400000, 1.600000);
  29. TextDrawAlignment(TDEditor_TD[0], 1);
  30. TextDrawColor(TDEditor_TD[0], -16776961);
  31. TextDrawSetShadow(TDEditor_TD[0], 0);
  32. TextDrawSetOutline(TDEditor_TD[0], 1);
  33. TextDrawBackgroundColor(TDEditor_TD[0], 255);
  34. TextDrawFont(TDEditor_TD[0], 1);
  35. TextDrawSetProportional(TDEditor_TD[0], 1);
  36. TextDrawSetShadow(TDEditor_TD[0], 0);
  37.  
  38. TDEditor_TD[1] = TextDrawCreate(-4.375000, 451.333343, "box");
  39. TextDrawLetterSize(TDEditor_TD[1], 0.000000, -2.500000);
  40. TextDrawTextSize(TDEditor_TD[1], 651.000000, 0.000000);
  41. TextDrawAlignment(TDEditor_TD[1], 1);
  42. TextDrawColor(TDEditor_TD[1], -1);
  43. TextDrawUseBox(TDEditor_TD[1], 1);
  44. TextDrawBoxColor(TDEditor_TD[1], 255);
  45. TextDrawSetShadow(TDEditor_TD[1], 0);
  46. TextDrawSetOutline(TDEditor_TD[1], 0);
  47. TextDrawBackgroundColor(TDEditor_TD[1], 255);
  48. TextDrawFont(TDEditor_TD[1], 1);
  49. TextDrawSetProportional(TDEditor_TD[1], 1);
  50. TextDrawSetShadow(TDEditor_TD[1], 0);
  51.  
  52. TDEditor_TD[2] = TextDrawCreate(11.875000, 433.250091, "DM_RP");
  53. TextDrawLetterSize(TDEditor_TD[2], 0.400000, 1.600000);
  54. TextDrawAlignment(TDEditor_TD[2], 1);
  55. TextDrawColor(TDEditor_TD[2], 65535);
  56. TextDrawSetShadow(TDEditor_TD[2], 0);
  57. TextDrawSetOutline(TDEditor_TD[2], 0);
  58. TextDrawBackgroundColor(TDEditor_TD[2], 255);
  59. TextDrawFont(TDEditor_TD[2], 1);
  60. TextDrawSetProportional(TDEditor_TD[2], 1);
  61. TextDrawSetShadow(TDEditor_TD[2], 0);
  62.  
  63. TDEditor_TD[3] = TextDrawCreate(290.000000, 190.000000, "");
  64. TextDrawLetterSize(TDEditor_TD[3], 0.400000, 1.600000);
  65. TextDrawAlignment(TDEditor_TD[3], 1);
  66. TextDrawColor(TDEditor_TD[3], -1);
  67. TextDrawSetShadow(TDEditor_TD[3], 0);
  68. TextDrawSetOutline(TDEditor_TD[3], 0);
  69. TextDrawBackgroundColor(TDEditor_TD[3], 255);
  70. TextDrawFont(TDEditor_TD[3], 1);
  71. TextDrawSetProportional(TDEditor_TD[3], 1);
  72. TextDrawSetShadow(TDEditor_TD[3], 0);
  73.  
  74. TDEditor_TD[4] = TextDrawCreate(62.500000, 433.833312, "box");
  75. TextDrawLetterSize(TDEditor_TD[4], 0.000000, 2.437500);
  76. TextDrawTextSize(TDEditor_TD[4], 60.000000, 0.000000);
  77. TextDrawAlignment(TDEditor_TD[4], 1);
  78. TextDrawColor(TDEditor_TD[4], -1);
  79. TextDrawUseBox(TDEditor_TD[4], 1);
  80. TextDrawBoxColor(TDEditor_TD[4], -16776961);
  81. TextDrawSetShadow(TDEditor_TD[4], 0);
  82. TextDrawSetOutline(TDEditor_TD[4], 0);
  83. TextDrawBackgroundColor(TDEditor_TD[4], 255);
  84. TextDrawFont(TDEditor_TD[4], 1);
  85. TextDrawSetProportional(TDEditor_TD[4], 1);
  86. TextDrawSetShadow(TDEditor_TD[4], 0);
  87.  
  88. TDEditor_TD[5] = TextDrawCreate(593.750000, 434.416870, "DM_RP");
  89. TextDrawLetterSize(TDEditor_TD[5], 0.400000, 1.600000);
  90. TextDrawAlignment(TDEditor_TD[5], 1);
  91. TextDrawColor(TDEditor_TD[5], 65535);
  92. TextDrawSetShadow(TDEditor_TD[5], 0);
  93. TextDrawSetOutline(TDEditor_TD[5], 0);
  94. TextDrawBackgroundColor(TDEditor_TD[5], 255);
  95. TextDrawFont(TDEditor_TD[5], 1);
  96. TextDrawSetProportional(TDEditor_TD[5], 1);
  97. TextDrawSetShadow(TDEditor_TD[5], 0);
  98.  
  99. TDEditor_TD[6] = TextDrawCreate(587.724487, 434.116577, "box");
  100. TextDrawLetterSize(TDEditor_TD[6], 0.000000, 4.937500);
  101. TextDrawTextSize(TDEditor_TD[6], 585.099487, 0.000000);
  102. TextDrawAlignment(TDEditor_TD[6], 1);
  103. TextDrawColor(TDEditor_TD[6], -1);
  104. TextDrawUseBox(TDEditor_TD[6], 1);
  105. TextDrawBoxColor(TDEditor_TD[6], -16776961);
  106. TextDrawSetShadow(TDEditor_TD[6], 0);
  107. TextDrawSetOutline(TDEditor_TD[6], 0);
  108. TextDrawBackgroundColor(TDEditor_TD[6], 255);
  109. TextDrawFont(TDEditor_TD[6], 1);
  110. TextDrawSetProportional(TDEditor_TD[6], 1);
  111. TextDrawSetShadow(TDEditor_TD[6], 0);
  112.  
  113. TDEditor_TD[7] = TextDrawCreate(67.500000, 431.600006, "Ukoliko_Imate_Neko_Pitanje_/pitaj_Ako_Primetite_Igraca_Koji_Vara_/Report");
  114. TextDrawLetterSize(TDEditor_TD[7], 0.400000, 1.600000);
  115. TextDrawAlignment(TDEditor_TD[7], 1);
  116. TextDrawColor(TDEditor_TD[7], -1);
  117. TextDrawSetShadow(TDEditor_TD[7], 0);
  118. TextDrawSetOutline(TDEditor_TD[7], 1);
  119. TextDrawBackgroundColor(TDEditor_TD[7], 255);
  120. TextDrawFont(TDEditor_TD[7], 1);
  121. TextDrawSetProportional(TDEditor_TD[7], 1);
  122. TextDrawSetShadow(TDEditor_TD[7], 0);
  123.  
  124. TDEditor_TD[8] = TextDrawCreate(498.125000, 18.500019, "R_O_L_E_P_L_A_Y");
  125. TextDrawLetterSize(TDEditor_TD[8], 0.400000, 1.600000);
  126. TextDrawAlignment(TDEditor_TD[8], 1);
  127. TextDrawColor(TDEditor_TD[8], -16776961);
  128. TextDrawSetShadow(TDEditor_TD[8], 50);
  129. TextDrawSetOutline(TDEditor_TD[8], 1);
  130. TextDrawBackgroundColor(TDEditor_TD[8], 255);
  131. TextDrawFont(TDEditor_TD[8], 2);
  132. TextDrawSetProportional(TDEditor_TD[8], 1);
  133. TextDrawSetShadow(TDEditor_TD[8], 50);//
  134. //------------------------------------------------------------------------//
  135. SetGameModeText("DM:RP v.0.0.1"); // IME MODA
  136. AddPlayerClass(171,1489.2786,-1719.5940,8.2416,356.0935,0,0,0,0,0,0); // Spawn Igraca by Rema
  137. }
  138. return 1;
  139. }
  140.  
  141. public OnGameModeExit()
  142. {
  143. return 1;
  144. }
  145.  
  146. public OnPlayerRequestClass(playerid, classid)
  147. {
  148. SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  149. SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  150. SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  151. return 1;
  152. }
  153.  
  154. public OnPlayerConnect(playerid)
  155. {
  156. return 1;
  157. }
  158.  
  159. public OnPlayerDisconnect(playerid, reason)
  160. {
  161. return 1;
  162. }
  163.  
  164. public OnPlayerSpawn(playerid)
  165. {
  166. return 1;
  167. }
  168.  
  169. public OnPlayerDeath(playerid, killerid, reason)
  170. {
  171. return 1;
  172. }
  173.  
  174. public OnVehicleSpawn(vehicleid)
  175. {
  176. return 1;
  177. }
  178.  
  179. public OnVehicleDeath(vehicleid, killerid)
  180. {
  181. return 1;
  182. }
  183.  
  184. public OnPlayerText(playerid, text[])
  185. {
  186. return 1;
  187. }
  188.  
  189. public OnPlayerCommandText(playerid, cmdtext[])
  190. {
  191. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  192. {
  193. // Do something here
  194. return 1;
  195. }
  196. return 0;
  197. }
  198.  
  199. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  200. {
  201. return 1;
  202. }
  203.  
  204. public OnPlayerExitVehicle(playerid, vehicleid)
  205. {
  206. return 1;
  207. }
  208.  
  209. public OnPlayerStateChange(playerid, newstate, oldstate)
  210. {
  211. return 1;
  212. }
  213.  
  214. public OnPlayerEnterCheckpoint(playerid)
  215. {
  216. return 1;
  217. }
  218.  
  219. public OnPlayerLeaveCheckpoint(playerid)
  220. {
  221. return 1;
  222. }
  223.  
  224. public OnPlayerEnterRaceCheckpoint(playerid)
  225. {
  226. return 1;
  227. }
  228.  
  229. public OnPlayerLeaveRaceCheckpoint(playerid)
  230. {
  231. return 1;
  232. }
  233.  
  234. public OnRconCommand(cmd[])
  235. {
  236. return 1;
  237. }
  238.  
  239. public OnPlayerRequestSpawn(playerid)
  240. {
  241. return 1;
  242. }
  243.  
  244. public OnObjectMoved(objectid)
  245. {
  246. return 1;
  247. }
  248.  
  249. public OnPlayerObjectMoved(playerid, objectid)
  250. {
  251. return 1;
  252. }
  253.  
  254. public OnPlayerPickUpPickup(playerid, pickupid)
  255. {
  256. return 1;
  257. }
  258.  
  259. public OnVehicleMod(playerid, vehicleid, componentid)
  260. {
  261. return 1;
  262. }
  263.  
  264. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  265. {
  266. return 1;
  267. }
  268.  
  269. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  270. {
  271. return 1;
  272. }
  273.  
  274. public OnPlayerSelectedMenuRow(playerid, row)
  275. {
  276. return 1;
  277. }
  278.  
  279. public OnPlayerExitedMenu(playerid)
  280. {
  281. return 1;
  282. }
  283.  
  284. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  285. {
  286. return 1;
  287. }
  288.  
  289. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  290. {
  291. return 1;
  292. }
  293.  
  294. public OnRconLoginAttempt(ip[], password[], success)
  295. {
  296. return 1;
  297. }
  298.  
  299. public OnPlayerUpdate(playerid)
  300. {
  301. return 1;
  302. }
  303.  
  304. public OnPlayerStreamIn(playerid, forplayerid)
  305. {
  306. return 1;
  307. }
  308.  
  309. public OnPlayerStreamOut(playerid, forplayerid)
  310. {
  311. return 1;
  312. }
  313.  
  314. public OnVehicleStreamIn(vehicleid, forplayerid)
  315. {
  316. return 1;
  317. }
  318.  
  319. public OnVehicleStreamOut(vehicleid, forplayerid)
  320. {
  321. return 1;
  322. }
  323.  
  324. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  325. {
  326. return 1;
  327. }
  328.  
  329. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  330. {
  331. return 1;
  332. }
  333. //============================VLASNIK DOMINATION ROLEPLAY=====================//
Advertisement
Add Comment
Please, Sign In to add comment