SAMP Gitlab CI Test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

232 lines
3.5 KiB

  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. //#define FILTERSCRIPT
  4. #include <a_samp>
  5. #if defined FILTERSCRIPT
  6. public OnFilterScriptInit()
  7. {
  8. print("\n--------------------------------------");
  9. print(" Blank Filterscript by your name here");
  10. print("--------------------------------------\n");
  11. return 1;
  12. }
  13. public OnFilterScriptExit()
  14. {
  15. return 1;
  16. }
  17. #else
  18. main()
  19. {
  20. print("\n----------------------------------");
  21. print(" Blank Gamemode by your name here");
  22. print("----------------------------------\n");
  23. }
  24. #endif
  25. public OnGameModeInit()
  26. {
  27. // Don't use these lines if it's a filterscript
  28. SetGameModeText("Blank Script");
  29. AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  30. return 1;
  31. }
  32. public OnGameModeExit()
  33. {
  34. return 1;
  35. }
  36. public OnPlayerRequestClass(playerid, classid)
  37. {
  38. SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  39. SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  40. SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  41. return 1;
  42. }
  43. public OnPlayerConnect(playerid)
  44. {
  45. return 1;
  46. }
  47. public OnPlayerDisconnect(playerid, reason)
  48. {
  49. return 1;
  50. }
  51. public OnPlayerSpawn(playerid)
  52. {
  53. return 1;
  54. }
  55. public OnPlayerDeath(playerid, killerid, reason)
  56. {
  57. return 1;
  58. }
  59. public OnVehicleSpawn(vehicleid)
  60. {
  61. return 1;
  62. }
  63. public OnVehicleDeath(vehicleid, killerid)
  64. {
  65. return 1;
  66. }
  67. public OnPlayerText(playerid, text[])
  68. {
  69. return 1;
  70. }
  71. public OnPlayerCommandText(playerid, cmdtext[])
  72. {
  73. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  74. {
  75. // Do something here
  76. return 1;
  77. }
  78. return 0;
  79. }
  80. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  81. {
  82. return 1;
  83. }
  84. public OnPlayerExitVehicle(playerid, vehicleid)
  85. {
  86. return 1;
  87. }
  88. public OnPlayerStateChange(playerid, newstate, oldstate)
  89. {
  90. return 1;
  91. }
  92. public OnPlayerEnterCheckpoint(playerid)
  93. {
  94. return 1;
  95. }
  96. public OnPlayerLeaveCheckpoint(playerid)
  97. {
  98. return 1;
  99. }
  100. public OnPlayerEnterRaceCheckpoint(playerid)
  101. {
  102. return 1;
  103. }
  104. public OnPlayerLeaveRaceCheckpoint(playerid)
  105. {
  106. return 1;
  107. }
  108. public OnRconCommand(cmd[])
  109. {
  110. return 1;
  111. }
  112. public OnPlayerRequestSpawn(playerid)
  113. {
  114. return 1;
  115. }
  116. public OnObjectMoved(objectid)
  117. {
  118. return 1;
  119. }
  120. public OnPlayerObjectMoved(playerid, objectid)
  121. {
  122. return 1;
  123. }
  124. public OnPlayerPickUpPickup(playerid, pickupid)
  125. {
  126. return 1;
  127. }
  128. public OnVehicleMod(playerid, vehicleid, componentid)
  129. {
  130. return 1;
  131. }
  132. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  133. {
  134. return 1;
  135. }
  136. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  137. {
  138. return 1;
  139. }
  140. public OnPlayerSelectedMenuRow(playerid, row)
  141. {
  142. return 1;
  143. }
  144. public OnPlayerExitedMenu(playerid)
  145. {
  146. return 1;
  147. }
  148. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  149. {
  150. return 1;
  151. }
  152. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  153. {
  154. return 1;
  155. }
  156. public OnRconLoginAttempt(ip[], password[], success)
  157. {
  158. return 1;
  159. }
  160. public OnPlayerUpdate(playerid)
  161. {
  162. return 1;
  163. }
  164. public OnPlayerStreamIn(playerid, forplayerid)
  165. {
  166. return 1;
  167. }
  168. public OnPlayerStreamOut(playerid, forplayerid)
  169. {
  170. return 1;
  171. }
  172. public OnVehicleStreamIn(vehicleid, forplayerid)
  173. {
  174. return 1;
  175. }
  176. public OnVehicleStreamOut(vehicleid, forplayerid)
  177. {
  178. return 1;
  179. }
  180. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  181. {
  182. return 1;
  183. }
  184. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  185. {
  186. return 1;
  187. }