Advertisement
Guest User

test pickupu

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