Advertisement
Guest User

SetTimer

a guest
Jun 17th, 2010
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 3.20 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. forward MyTimer();
  8.  
  9. #if defined FILTERSCRIPT
  10.  
  11. public OnFilterScriptInit()
  12. {
  13.     print("\n--------------------------------------");
  14.     print(" Blank Filterscript by your name here");
  15.     print("--------------------------------------\n");
  16.     return 1;
  17. }
  18.  
  19. public OnFilterScriptExit()
  20. {
  21.     return 1;
  22. }
  23.  
  24. #else
  25.  
  26. main()
  27. {
  28.     print("\n----------------------------------");
  29.     print(" Blank Gamemode by your name here");
  30.     print("----------------------------------\n");
  31. }
  32.  
  33. #endif
  34.  
  35. public OnGameModeInit()
  36. {
  37.     SetTimer("MyTimer",10000,0);
  38.     return 1;
  39. }
  40.  
  41. public OnGameModeExit()
  42. {
  43.     return 1;
  44. }
  45.  
  46. public OnPlayerRequestClass(playerid, classid)
  47. {
  48.     return 1;
  49. }
  50.  
  51. public OnPlayerConnect(playerid)
  52. {
  53.     return 1;
  54. }
  55.  
  56. public OnPlayerDisconnect(playerid, reason)
  57. {
  58.     return 1;
  59. }
  60.  
  61. public OnPlayerSpawn(playerid)
  62. {
  63.     return 1;
  64. }
  65.  
  66. public OnPlayerDeath(playerid, killerid, reason)
  67. {
  68.     return 1;
  69. }
  70.  
  71. public OnVehicleSpawn(vehicleid)
  72. {
  73.     return 1;
  74. }
  75.  
  76. public OnVehicleDeath(vehicleid, killerid)
  77. {
  78.     return 1;
  79. }
  80.  
  81. public OnPlayerText(playerid, text[])
  82. {
  83.     return 1;
  84. }
  85.  
  86. public OnPlayerCommandText(playerid, cmdtext[])
  87. {
  88.     return 0;
  89. }
  90.  
  91. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  92. {
  93.     return 1;
  94. }
  95.  
  96. public OnPlayerExitVehicle(playerid, vehicleid)
  97. {
  98.     return 1;
  99. }
  100.  
  101. public OnPlayerStateChange(playerid, newstate, oldstate)
  102. {
  103.     return 1;
  104. }
  105.  
  106. public OnPlayerEnterCheckpoint(playerid)
  107. {
  108.     return 1;
  109. }
  110.  
  111. public OnPlayerLeaveCheckpoint(playerid)
  112. {
  113.     return 1;
  114. }
  115.  
  116. public OnPlayerEnterRaceCheckpoint(playerid)
  117. {
  118.     return 1;
  119. }
  120.  
  121. public OnPlayerLeaveRaceCheckpoint(playerid)
  122. {
  123.     return 1;
  124. }
  125.  
  126. public OnRconCommand(cmd[])
  127. {
  128.     return 1;
  129. }
  130.  
  131. public OnPlayerRequestSpawn(playerid)
  132. {
  133.     return 1;
  134. }
  135.  
  136. public OnObjectMoved(objectid)
  137. {
  138.     return 1;
  139. }
  140.  
  141. public OnPlayerObjectMoved(playerid, objectid)
  142. {
  143.     return 1;
  144. }
  145.  
  146. public OnPlayerPickUpPickup(playerid, pickupid)
  147. {
  148.     return 1;
  149. }
  150.  
  151. public OnVehicleMod(playerid, vehicleid, componentid)
  152. {
  153.     return 1;
  154. }
  155.  
  156. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  157. {
  158.     return 1;
  159. }
  160.  
  161. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  162. {
  163.     return 1;
  164. }
  165.  
  166. public OnPlayerSelectedMenuRow(playerid, row)
  167. {
  168.     return 1;
  169. }
  170.  
  171. public OnPlayerExitedMenu(playerid)
  172. {
  173.     return 1;
  174. }
  175.  
  176. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  177. {
  178.     return 1;
  179. }
  180.  
  181. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  182. {
  183.     return 1;
  184. }
  185.  
  186. public OnRconLoginAttempt(ip[], password[], success)
  187. {
  188.     return 1;
  189. }
  190.  
  191. public OnPlayerUpdate(playerid)
  192. {
  193.     return 1;
  194. }
  195.  
  196. public OnPlayerStreamIn(playerid, forplayerid)
  197. {
  198.     return 1;
  199. }
  200.  
  201. public OnPlayerStreamOut(playerid, forplayerid)
  202. {
  203.     return 1;
  204. }
  205.  
  206. public OnVehicleStreamIn(vehicleid, forplayerid)
  207. {
  208.     return 1;
  209. }
  210.  
  211. public OnVehicleStreamOut(vehicleid, forplayerid)
  212. {
  213.     return 1;
  214. }
  215.  
  216. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  217. {
  218.     return 1;
  219. }
  220.  
  221. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  222. {
  223.     return 1;
  224. }
  225.  
  226. public MyTimer()
  227. {
  228.     SendClientMessageToAll(0xFFFF00AA,"10 seconds has passed");
  229. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement