Guest User

Untitled

a guest
Nov 11th, 2012
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. //
  2. // Kūrė MoDe
  3. //
  4.  
  5. #include <a_samp>
  6.  
  7. new Text: pavadinimas;
  8.  
  9. new spalvos[] = {
  10. 0xAFAFAFAA,
  11. 0x33AA33AA,
  12. 0xAA3333AA,
  13. 0xFFFF00AA,
  14. 0xFFFFFFAA,
  15. 0x0000BBAA,
  16. 0x33CCFFAA,
  17. 0xFF9900AA,
  18. 0xAA3333AA,
  19. 0x10F441AA,
  20. 0xFF00FFFF,
  21. 0x000080AA,
  22. 0xF0F8FFAA,
  23. 0xDC143CAA,
  24. 0x6495EDAA,
  25. 0xFFE4C4AA,
  26. 0x7FFF00AA,
  27. 0xA52A2AAA,
  28. 0xFF7F50AA,
  29. 0xB8860BAA,
  30. 0xADFF2FAA,
  31. 0x4B00B0AA,
  32. 0xFFFF82AA,
  33. 0x7CFC00AA,
  34. 0x20B2AAAA,
  35. 0x32CD32AA,
  36. 0x191970AA,
  37. 0x800000AA,
  38. 0x808000AA,
  39. 0xFF4500AA,
  40. 0xFFC0CBAA,
  41. 0x2E8B57AA,
  42. 0x00FF7FAA,
  43. 0xFF6347AA,
  44. 0x9ACD32AA,
  45. 0x83BFBFAA,
  46. 0x8B008BAA
  47. };
  48.  
  49. forward timer();
  50.  
  51. public OnFilterScriptInit()
  52. {
  53. print( "\n-------------------------------------------------------" );
  54. print( " Keičiantis spalvą serverio pavadinimas užsikrovė By MoDe" );
  55. print( "-------------------------------------------------------\n" );
  56. pavadinimas = TextDrawCreate( 40.200022, 424.853424, "Pavadinimas" );
  57. TextDrawLetterSize( pavadinimas, 0.449999, 1.600000 );
  58. TextDrawAlignment( pavadinimas, 1 );
  59. TextDrawColor( pavadinimas, -1 );
  60. TextDrawSetShadow( pavadinimas, 0 );
  61. TextDrawSetOutline( pavadinimas, 1 );
  62. TextDrawBackgroundColor( pavadinimas, 255 );
  63. TextDrawFont( pavadinimas, 1 );
  64. TextDrawSetProportional( pavadinimas, 1 );
  65. SetTimer( "timer", 1000, true );
  66. return 1;
  67. }
  68.  
  69. public timer()
  70. {
  71. TextDrawColor( pavadinimas, spalvos[random(38)] );
  72. TextDrawShowForAll( pavadinimas );
  73. }
  74.  
  75. public OnFilterScriptExit()
  76. {
  77. TextDrawDestroy( pavadinimas );
  78. return 1;
  79. }
  80.  
  81. public OnPlayerRequestClass(playerid, classid)
  82. {
  83. TextDrawShowForAll( pavadinimas );
  84. return 1;
  85. }
  86.  
  87. public OnPlayerConnect(playerid)
  88. {
  89. return 1;
  90. }
  91.  
  92. public OnPlayerDisconnect(playerid, reason)
  93. {
  94. return 1;
  95. }
  96.  
  97. public OnPlayerSpawn(playerid)
  98. {
  99. return 1;
  100. }
  101.  
  102. public OnPlayerDeath(playerid, killerid, reason)
  103. {
  104. return 1;
  105. }
  106.  
  107. public OnVehicleSpawn(vehicleid)
  108. {
  109. return 1;
  110. }
  111.  
  112. public OnVehicleDeath(vehicleid, killerid)
  113. {
  114. return 1;
  115. }
  116.  
  117. public OnPlayerText(playerid, text[])
  118. {
  119. return 1;
  120. }
  121.  
  122. public OnPlayerCommandText(playerid, cmdtext[])
  123. {
  124. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  125. {
  126. // Do something here
  127. return 1;
  128. }
  129. return 0;
  130. }
  131.  
  132. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  133. {
  134. return 1;
  135. }
  136.  
  137. public OnPlayerExitVehicle(playerid, vehicleid)
  138. {
  139. return 1;
  140. }
  141.  
  142. public OnPlayerStateChange(playerid, newstate, oldstate)
  143. {
  144. return 1;
  145. }
  146.  
  147. public OnPlayerEnterCheckpoint(playerid)
  148. {
  149. return 1;
  150. }
  151.  
  152. public OnPlayerLeaveCheckpoint(playerid)
  153. {
  154. return 1;
  155. }
  156.  
  157. public OnPlayerEnterRaceCheckpoint(playerid)
  158. {
  159. return 1;
  160. }
  161.  
  162. public OnPlayerLeaveRaceCheckpoint(playerid)
  163. {
  164. return 1;
  165. }
  166.  
  167. public OnRconCommand(cmd[])
  168. {
  169. return 1;
  170. }
  171.  
  172. public OnPlayerRequestSpawn(playerid)
  173. {
  174. return 1;
  175. }
  176.  
  177. public OnObjectMoved(objectid)
  178. {
  179. return 1;
  180. }
  181.  
  182. public OnPlayerObjectMoved(playerid, objectid)
  183. {
  184. return 1;
  185. }
  186.  
  187. public OnPlayerPickUpPickup(playerid, pickupid)
  188. {
  189. return 1;
  190. }
  191.  
  192. public OnVehicleMod(playerid, vehicleid, componentid)
  193. {
  194. return 1;
  195. }
  196.  
  197. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  198. {
  199. return 1;
  200. }
  201.  
  202. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  203. {
  204. return 1;
  205. }
  206.  
  207. public OnPlayerSelectedMenuRow(playerid, row)
  208. {
  209. return 1;
  210. }
  211.  
  212. public OnPlayerExitedMenu(playerid)
  213. {
  214. return 1;
  215. }
  216.  
  217. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  218. {
  219. return 1;
  220. }
  221.  
  222. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  223. {
  224. return 1;
  225. }
  226.  
  227. public OnRconLoginAttempt(ip[], password[], success)
  228. {
  229. return 1;
  230. }
  231.  
  232. public OnPlayerUpdate(playerid)
  233. {
  234. return 1;
  235. }
  236.  
  237. public OnPlayerStreamIn(playerid, forplayerid)
  238. {
  239. return 1;
  240. }
  241.  
  242. public OnPlayerStreamOut(playerid, forplayerid)
  243. {
  244. return 1;
  245. }
  246.  
  247. public OnVehicleStreamIn(vehicleid, forplayerid)
  248. {
  249. return 1;
  250. }
  251.  
  252. public OnVehicleStreamOut(vehicleid, forplayerid)
  253. {
  254. return 1;
  255. }
  256.  
  257. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  258. {
  259. return 1;
  260. }
  261.  
  262. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  263. {
  264. return 1;
  265. }
Advertisement
Add Comment
Please, Sign In to add comment