Advertisement
Guest User

Server Details by FrakyX

a guest
Feb 7th, 2014
781
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // This is the first script I made!
  2. // If forund anything wrong. Please tell me!
  3.  
  4. #include <a_samp>
  5. #include <zcmd>
  6.  
  7. #define DIALOG_HELP 100
  8. #define FILTERSCRIPT
  9.  
  10. public OnFilterScriptInit()
  11. {
  12.     print("\n--------------------------------------");
  13.     print("Server Details by FrakyX - Loaded!");
  14.     print("--------------------------------------\n");
  15.     return 1;
  16. }
  17. public OnFilterScriptExit()
  18. {
  19.     print("\n--------------------------------------");
  20.     print("Server Details by FrakyX - Unloaded");
  21.     print("--------------------------------------\n");
  22.     return 1;
  23. }
  24. public OnPlayerCommandText(playerid, cmdtext[])
  25. {
  26.     if (strcmp("/server", cmdtext, true, 10) == 0)
  27.     {
  28.         new helpinfo[126];
  29.         strcat(helpinfo, "[X] San Fierro COps N Robbers.  \n", sizeof(helpinfo));
  30.         strcat(helpinfo, "Server Made by FrakyX.  \n", sizeof(helpinfo));
  31.         strcat(helpinfo, "Server Forums www.xcnr.freeforums.org.  \n", sizeof(helpinfo));
  32.  
  33.         ShowPlayerDialog(playerid, DIALOG_HELP, DIALOG_STYLE_MSGBOX, "Server", helpinfo, "Ok", "Cancel");
  34.         return 1;
  35.     }
  36.     return 0;
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement