Advertisement
Guest User

Test.pwn

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