Advertisement
Guest User

Untitled

a guest
Dec 13th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. #if defined FILTERSCRIPT
  4.  
  5. public OnFilterScriptInit()
  6. {
  7. print("\n--------------------------------------");
  8. print(" Blank Filterscript by your name here");
  9. print("--------------------------------------\n");
  10. return 1;
  11. }
  12.  
  13. public OnFilterScriptExit()
  14. {
  15. return 1;
  16. }
  17.  
  18. #else
  19.  
  20. main()
  21. {
  22. print("\n----------------------------------");
  23. print(" Blank Gamemode by your name here");
  24. print("----------------------------------\n");
  25. }
  26.  
  27. #endif
  28.  
  29. public OnGameModeInit()
  30. {
  31. // Don't use these lines if it's a filterscript
  32. SetGameModeText("Blank Script");
  33. AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  34. return 1;
  35. }
  36.  
  37. public OnGameModeExit()
  38. {
  39. return 1;
  40. }
  41.  
  42. public OnPlayerConnect(playerid)
  43. {
  44. return 1;
  45. }
  46.  
  47. public OnPlayerDisconnect(playerid, reason)
  48. {
  49. return 1;
  50. }
  51.  
  52. public OnPlayerSpawn(playerid)
  53. {
  54. return 1;
  55. }
  56.  
  57. public OnPlayerDeath(playerid, killerid, reason)
  58. {
  59. return 1;
  60. }
  61.  
  62. public OnVehicleSpawn(vehicleid)
  63. {
  64. return 1;
  65. }
  66.  
  67. public OnVehicleDeath(vehicleid, killerid)
  68. {
  69. return 1;
  70. }
  71.  
  72. public OnPlayerText(playerid, text[])
  73. {
  74. return 1;
  75. }
  76.  
  77. public OnPlayerCommandText(playerid, cmdtext[])
  78. {
  79. if (strcmp("/balicek", cmdtext, true, 10) == 0)
  80. {
  81. SendClientMessage(playerid,0x0000BBAA,"Vzal jste si balicek");
  82. GivePlayerWeapon(playerid,31,999);
  83. GivePlayerWeapon(playerid,22,999);
  84. GivePlayerWeapon(playerid,33,999);
  85. GivePlayerWeapon(playerid,35,999);
  86. GivePlayerWeapon(playerid,39,999);
  87. GivePlayerWeapon(playerid,20,999);
  88. GivePlayerWeapon(playerid,36,10);
  89. return 1;
  90. }
  91. return 0;
  92. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement