Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 6.46 KB | None | 0 0
  1. /*
  2.  
  3.            ___ ___ _ _
  4.           | o \ o \ U |
  5.           |   /  _/   |  By R4nd4ll
  6.           |_|\\_| |_n_|
  7.  
  8. */
  9.  
  10.  
  11. //--------------Defines--------------
  12. #define FILTERSCRIPT
  13. #include <a_samp>
  14. #if defined FILTERSCRIPT
  15. //-----------------------------------
  16.  
  17.  
  18. //--------------Colors-------------
  19. #define COLOR_RED 0xE51212
  20. #define COLOR_LGREEN 0x7CFF00
  21. #define COLOR_YELLOW 0xf4ea00
  22. //---------------------------------
  23.  
  24.  
  25. new Menu:Tuto;
  26.  
  27. //-------------------------------------------------------------------------
  28. public OnFilterScriptInit()
  29. {
  30.     print("\n--------------------------------------");
  31.     print(" RPH (Roleplay Help) by R4nd4ll");
  32.     print("--------------------------------------\n");
  33.     Tuto = CreateMenu("Roleplay Rules help", 1, 84, 184, 500, 500);
  34.     SetMenuColumnHeader(Tuto, 0, "[Your server name] Rules");
  35.     AddMenuItem(Tuto, 0, "DM");
  36.     AddMenuItem(Tuto, 0, "MG");
  37.     AddMenuItem(Tuto, 0, "PG");
  38.     AddMenuItem(Tuto, 0, "RK");
  39.     AddMenuItem(Tuto, 0, "SK");
  40.     AddMenuItem(Tuto, 0, "KoS");
  41.     AddMenuItem(Tuto, 0, "CS");
  42.     AddMenuItem(Tuto, 0, "QS");
  43.     AddMenuItem(Tuto, 0, "[LEO] RT");
  44.     AddMenuItem(Tuto, 0, "/me Usage");
  45.     AddMenuItem(Tuto, 0, "/do Usage");
  46.     return 1;
  47. }
  48.  
  49. public OnPlayerSelectedMenuRow(playerid, row)
  50. {
  51.      if(GetPlayerMenu(playerid) == Tuto)
  52.      {
  53.           switch(row)
  54.           {
  55.                case 0: //DM
  56.                {
  57.     SendClientMessage(playerid, COLOR_RED,"DM - Deatmatching:");
  58.     SendClientMessage(playerid, COLOR_YELLOW,"Deatmatching is basically killing a player without any valid roleplay reason.");
  59.     SendClientMessage(playerid,COLOR_LGREEN,"E.G : Killing someone only because you wanted to do that, You don't know him ICly");
  60.     SendClientMessage(playerid,COLOR_LGREEN,"And you don't have a valid reason to kill him.");
  61.                }
  62.                case 1: //MG
  63.                {
  64.     SendClientMessage(playerid,COLOR_RED,"MG - MetaGaming");
  65.     SendClientMessage(playerid,COLOR_YELLOW,"Metagaming is mixing both OOC and IC informations together.");
  66.     SendClientMessage(playerid,COLOR_YELLOW,"Or using informations that you gained OOCly to gain advantages ICly.");
  67.     SendClientMessage(playerid,COLOR_LGREEN,"E.G : RPing that you know a player's name ICly only because you");
  68.     SendClientMessage(playerid,COLOR_LGREEN,"Saw his name above his head on his nametag.");
  69.  
  70.                }
  71.                case 2: //PG
  72.                {
  73.     SendClientMessage(playerid,COLOR_RED,"PG - PowerGaming");
  74.     SendClientMessage(playerid,COLOR_YELLOW,"Powergaming is roleplaying without giving someone any chances to resist [E.G 1].");
  75.     SendClientMessage(playerid,COLOR_YELLOW,"Or RPing situations/actions that are NOT possible in real life [E.G 2].");
  76.     SendClientMessage(playerid,COLOR_LGREEN,"E.G 1 : /me punches Harris on his nose, Then he fells down knocked out on the ground");
  77.     SendClientMessage(playerid,COLOR_LGREEN,"^ Here you didn't use /do to ask if the operation succeed or failed");
  78.     SendClientMessage(playerid,COLOR_LGREEN,"E.G 2 : /me uses his superpowers, Then flies away so no one can catch him. ");
  79.                }
  80.                case 3: //RK
  81.                {
  82.     SendClientMessage(playerid,COLOR_RED,"RK - RevengeKilling");
  83.     SendClientMessage(playerid,COLOR_YELLOW,"Revenge killing is basically killing someone because he killed you.");
  84.     SendClientMessage(playerid,COLOR_LGREEN,"Tip : Remember that you lose the last 30 minutes of your memory when you die.");
  85.                }
  86.                case 4: //SK
  87.                {
  88.     SendClientMessage(playerid,COLOR_RED,"SK - SpawnKilling");
  89.     SendClientMessage(playerid,COLOR_YELLOW,"SpawnKilling is killing a player right after he joins\\gets out of hospital");
  90.                }
  91.                case 5: //KoS
  92.                {
  93.     SendClientMessage(playerid,COLOR_RED,"KoS - Killing on Sight");
  94.     SendClientMessage(playerid,COLOR_YELLOW,"Kill on Sight means that when you come up to someone and you kill him");
  95.     SendClientMessage(playerid,COLOR_YELLOW,"without roleplaying before shooting him or without saying any word");
  96.     SendClientMessage(playerid,COLOR_LGREEN,"Tip : RP with someone before you start shooting at him/her.");
  97.                }
  98.                case 6: //CS
  99.                {
  100.     SendClientMessage(playerid,COLOR_RED,"CS - Crack Shooting");
  101.     SendClientMessage(playerid,COLOR_YELLOW,"Crack Shooting is using crouch(C button) to cancel the animation of shooting to get the ability to shoot faster.");
  102.                }
  103.                case 7: //QS
  104.                {
  105.      SendClientMessage(playerid,COLOR_RED,"QS - Quick Swapping");
  106.      SendClientMessage(playerid,COLOR_YELLOW,"Quick Swapping is quickly swapping your weapon");
  107.      SendClientMessage(playerid,COLOR_YELLOW,"Thus making a gun go automatically reloaded without an animation");
  108.                }
  109.                case 8: //[LEO] RT
  110.                {
  111.     SendClientMessage(playerid,COLOR_RED,"RT - Rush Tazing");
  112.     SendClientMessage(playerid,COLOR_YELLOW,"Rushtazing is tazing a suspect who is shooting or aiming at you.");
  113.     SendClientMessage(playerid,COLOR_YELLOW,"Simply, you won't risk your life doing it, in Real Life, you would respond with fire.");
  114.                }
  115.                case 9: ///me Usage
  116.                {
  117.     SendClientMessage(playerid,COLOR_RED,"/me Usage");
  118.     SendClientMessage(playerid,COLOR_YELLOW,"You can use /me to tell the others what are you doing.");
  119.     SendClientMessage(playerid,COLOR_LGREEN,"E.G : /me reaches for his cigarettes pack from his right pocket.");
  120.                }
  121.                case 10: ///do Usage
  122.                {
  123.     SendClientMessage(playerid,COLOR_RED,"/do Usage");
  124.     SendClientMessage(playerid,COLOR_YELLOW,"You can use /do to describe something you've just Roleplayed. [E.G 1]");
  125.     SendClientMessage(playerid,COLOR_YELLOW,"You can use it too to avoid PG (Forcing players into an RP situation). [E.G 2]");
  126.     SendClientMessage(playerid,COLOR_LGREEN,"E.G 1 : /do the cigarettes pack color is red.");
  127.     SendClientMessage(playerid,COLOR_LGREEN,"E.G 2 : /me attempts to punch Randall on his nose.");
  128.     SendClientMessage(playerid,COLOR_LGREEN,"/do Success\\Fail ?");
  129.                }
  130.           }
  131.      }
  132.      return 1;
  133. }
  134. public OnPlayerCommandText(playerid, cmdtext[])
  135. {
  136.     if(strcmp(cmdtext, "/rphelp", true) == 0)
  137.     {
  138.          ShowMenuForPlayer(Menu:Tuto, playerid);
  139.          return 1;
  140.     }
  141.     return 0;
  142. }
  143.  
  144. public OnFilterScriptExit()
  145. {
  146.     return 1;
  147. }
  148. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement