Advertisement
jlalt

e

Sep 12th, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 4.02 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. // Welcome To Djamel Test Server Hope You Will like It
  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. {
  35.     // Don't use these lines if it's a filterscript
  36.     SetGameModeText("Blank Script");
  37.     AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  38.     return 1;
  39. }
  40.  
  41. public OnGameModeExit()
  42. {
  43.     return 1;
  44. }
  45.  
  46. public OnPlayerRequestClass(playerid, classid)
  47. {
  48.     SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  49.     SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  50.     SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  51.     return 1;
  52. }
  53.  
  54. static playersconnected;
  55.  
  56. public OnPlayerConnect(playerid)
  57. {
  58.     SendClientMessage(playerid, 0xFF0037FF," Welcome To Djamel's Test Server");
  59.     playersconnected++;
  60.     new string[50];
  61.     format(string, sizeof string ,"There are currenty %d peopel in the server.", playersconnected);
  62.     SendClientMessageToAll(0x2C5766AA,string);
  63.     return 1;
  64. }
  65.  
  66. public OnPlayerDisconnect(playerid, reason)
  67. {
  68.     playersconnected--;
  69.     new String[50];
  70.     format(String, sizeof String ,"There are currenty %d peopel in the server.", playersconnected);
  71.     SendClientMessageToAll(0x2C5766AA,String);
  72.     return 1;
  73.  
  74. }
  75.  
  76.  
  77. public OnPlayerSpawn(playerid)
  78. {
  79.     return 1;
  80. }
  81.  
  82. public OnPlayerDeath(playerid, killerid, reason)
  83. {
  84.     return 1;
  85. }
  86.  
  87. public OnVehicleSpawn(vehicleid)
  88. {
  89.     return 1;
  90. }
  91.  
  92. public OnVehicleDeath(vehicleid, killerid)
  93. {
  94.     return 1;
  95. }
  96.  
  97. public OnPlayerText(playerid, text[])
  98. {
  99.     return 1;
  100. }
  101.  
  102. public OnPlayerCommandText(playerid, cmdtext[])
  103. {
  104.     if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  105.     {
  106.         // Do something here
  107.         return 1;
  108.     }
  109.     return 0;
  110. }
  111.  
  112. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  113. {
  114.     return 1;
  115. }
  116.  
  117. public OnPlayerExitVehicle(playerid, vehicleid)
  118. {
  119.     return 1;
  120. }
  121.  
  122. public OnPlayerStateChange(playerid, newstate, oldstate)
  123. {
  124.     return 1;
  125. }
  126.  
  127. public OnPlayerEnterCheckpoint(playerid)
  128. {
  129.     return 1;
  130. }
  131.  
  132. public OnPlayerLeaveCheckpoint(playerid)
  133. {
  134.     return 1;
  135. }
  136.  
  137. public OnPlayerEnterRaceCheckpoint(playerid)
  138. {
  139.     return 1;
  140. }
  141.  
  142. public OnPlayerLeaveRaceCheckpoint(playerid)
  143. {
  144.     return 1;
  145. }
  146.  
  147. public OnRconCommand(cmd[])
  148. {
  149.     return 1;
  150. }
  151.  
  152. public OnPlayerRequestSpawn(playerid)
  153. {
  154.     return 1;
  155. }
  156.  
  157. public OnObjectMoved(objectid)
  158. {
  159.     return 1;
  160. }
  161.  
  162. public OnPlayerObjectMoved(playerid, objectid)
  163. {
  164.     return 1;
  165. }
  166.  
  167. public OnPlayerPickUpPickup(playerid, pickupid)
  168. {
  169.     return 1;
  170. }
  171.  
  172. public OnVehicleMod(playerid, vehicleid, componentid)
  173. {
  174.     return 1;
  175. }
  176.  
  177. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  178. {
  179.     return 1;
  180. }
  181.  
  182. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  183. {
  184.     return 1;
  185. }
  186.  
  187. public OnPlayerSelectedMenuRow(playerid, row)
  188. {
  189.     return 1;
  190. }
  191.  
  192. public OnPlayerExitedMenu(playerid)
  193. {
  194.     return 1;
  195. }
  196.  
  197. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  198. {
  199.     return 1;
  200. }
  201.  
  202. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  203. {
  204.     return 1;
  205. }
  206.  
  207. public OnRconLoginAttempt(ip[], password[], success)
  208. {
  209.     return 1;
  210. }
  211.  
  212. public OnPlayerUpdate(playerid)
  213. {
  214.     return 1;
  215. }
  216.  
  217. public OnPlayerStreamIn(playerid, forplayerid)
  218. {
  219.     return 1;
  220. }
  221.  
  222. public OnPlayerStreamOut(playerid, forplayerid)
  223. {
  224.     return 1;
  225. }
  226.  
  227. public OnVehicleStreamIn(vehicleid, forplayerid)
  228. {
  229.     return 1;
  230. }
  231.  
  232. public OnVehicleStreamOut(vehicleid, forplayerid)
  233. {
  234.     return 1;
  235. }
  236.  
  237. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  238. {
  239.     return 1;
  240. }
  241.  
  242. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  243. {
  244.     return 1;
  245. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement