Advertisement
DJTunes

Credit System Filterscript

Dec 28th, 2012
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 3.23 KB | None | 0 0
  1.  
  2. //----------------------------------------------------------------------------------------//
  3. //------------------------------Credit System By DJTunes----------------------------------//
  4. //----------------------------------------------------------------------------------------//
  5. //                                     CREDITS
  6. //                          DJTunes - Creating the filterscript
  7. //----------------------------------------------------------------------------------------//
  8. #define FILTERSCRIPT // Keep this defined to cause errors
  9. //----------------------------------------------------------------------------------------//
  10. //Includes
  11. #include <a_samp>
  12. //----------------------------------------------------------------------------------------//
  13. //Defines
  14. #if defined FILTERSCRIPT
  15. //Color Defines
  16. #define red 0xFF0000AA
  17. //----------------------------------------------------------------------------------------//
  18. public OnFilterScriptInit()
  19. {
  20.     print("\n-----------------------------------------");
  21.     print("Credit System by DJTunes...... LOAD COMPLETED!");
  22.     print("-------------------------------------------\n");
  23.     return 1;
  24. }
  25. //----------------------------------------------------------------------------------------//
  26. public OnFilterScriptExit()
  27. {
  28.     print("\n-----------------------------------------");
  29.     print("Credit System by DJTunes...... UNLOAD COMPLETED!");
  30.     print("-------------------------------------------\n");
  31.     return 1;
  32. }
  33. //----------------------------------------------------------------------------------------//
  34. //Recommended That You Do Not Do Anything With The Following 2 Lines
  35. #else
  36. #endif
  37. //----------------------------------------------------------------------------------------//
  38. //This section contains the whole idea of the credit system
  39. public OnPlayerConnect(playerid)
  40. {
  41.     SendClientMessage(playerid,0xFF0000AA,"|~Credits~|"); //If you want to make it say something else, and not "|~Credits~|", then you can only edit "|~Credits~|"
  42.     SendClientMessage(playerid,0xFF0000AA,"|~Credit System by DJTunes~|"); //It's recommended, and it'd be really nice if you'd credit me if you're using this filterscript on your server because you're using a release by me.
  43.     SendClientMessage(playerid,0xFF0000AA,"|~EDIT HERE by NAME OF CREATOR~|"); //If you don't want EDIT HERE... showing up enter your custom text between "|~", and the symbols "~|" after the word "CREATOR".
  44.     SendClientMessage(playerid,0xFF0000AA,"|~EDIT HERE by NAME OF CREATOR~|"); //Instructions for changing one line above this
  45.     SendClientMessage(playerid,0xFF0000AA,"|~EDIT HERE by NAME OF CREATOR~|"); //Instructions for changing one line above this
  46.     SendClientMessage(playerid,0xFF0000AA,"|~EDIT HERE by NAME OF CREATOR~|"); //Instructions for changing one line above this
  47.     SendClientMessage(playerid,0xFF0000AA,"|~EDIT HERE by NAME OF CREATOR~|"); //Instructions for changing one line above this
  48.     //If you want to add more credits so you're fair in the game of SA-MP just add the line above this and edit the text (Instructions above)
  49.     return 1;
  50. }
  51. //----------------------------------------------------------------------------------------//
  52. //Credit System made by DJTunes
  53. //If you find bugs report to me on SA-MP Forums where this topic is located at
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement