Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ___ ___ _ _
- | o \ o \ U |
- | / _/ | By R4nd4ll
- |_|\\_| |_n_|
- */
- //--------------Defines--------------
- #define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- //-----------------------------------
- //--------------Colors-------------
- #define COLOR_RED 0xE51212
- #define COLOR_LGREEN 0x7CFF00
- #define COLOR_YELLOW 0xf4ea00
- //---------------------------------
- new Menu:Tuto;
- //-------------------------------------------------------------------------
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" RPH (Roleplay Help) by R4nd4ll");
- print("--------------------------------------\n");
- Tuto = CreateMenu("Roleplay Rules help", 1, 84, 184, 500, 500);
- SetMenuColumnHeader(Tuto, 0, "[Your server name] Rules");
- AddMenuItem(Tuto, 0, "DM");
- AddMenuItem(Tuto, 0, "MG");
- AddMenuItem(Tuto, 0, "PG");
- AddMenuItem(Tuto, 0, "RK");
- AddMenuItem(Tuto, 0, "SK");
- AddMenuItem(Tuto, 0, "KoS");
- AddMenuItem(Tuto, 0, "CS");
- AddMenuItem(Tuto, 0, "QS");
- AddMenuItem(Tuto, 0, "[LEO] RT");
- AddMenuItem(Tuto, 0, "/me Usage");
- AddMenuItem(Tuto, 0, "/do Usage");
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- if(GetPlayerMenu(playerid) == Tuto)
- {
- switch(row)
- {
- case 0: //DM
- {
- SendClientMessage(playerid, COLOR_RED,"DM - Deatmatching:");
- SendClientMessage(playerid, COLOR_YELLOW,"Deatmatching is basically killing a player without any valid roleplay reason.");
- SendClientMessage(playerid,COLOR_LGREEN,"E.G : Killing someone only because you wanted to do that, You don't know him ICly");
- SendClientMessage(playerid,COLOR_LGREEN,"And you don't have a valid reason to kill him.");
- }
- case 1: //MG
- {
- SendClientMessage(playerid,COLOR_RED,"MG - MetaGaming");
- SendClientMessage(playerid,COLOR_YELLOW,"Metagaming is mixing both OOC and IC informations together.");
- SendClientMessage(playerid,COLOR_YELLOW,"Or using informations that you gained OOCly to gain advantages ICly.");
- SendClientMessage(playerid,COLOR_LGREEN,"E.G : RPing that you know a player's name ICly only because you");
- SendClientMessage(playerid,COLOR_LGREEN,"Saw his name above his head on his nametag.");
- }
- case 2: //PG
- {
- SendClientMessage(playerid,COLOR_RED,"PG - PowerGaming");
- SendClientMessage(playerid,COLOR_YELLOW,"Powergaming is roleplaying without giving someone any chances to resist [E.G 1].");
- SendClientMessage(playerid,COLOR_YELLOW,"Or RPing situations/actions that are NOT possible in real life [E.G 2].");
- SendClientMessage(playerid,COLOR_LGREEN,"E.G 1 : /me punches Harris on his nose, Then he fells down knocked out on the ground");
- SendClientMessage(playerid,COLOR_LGREEN,"^ Here you didn't use /do to ask if the operation succeed or failed");
- SendClientMessage(playerid,COLOR_LGREEN,"E.G 2 : /me uses his superpowers, Then flies away so no one can catch him. ");
- }
- case 3: //RK
- {
- SendClientMessage(playerid,COLOR_RED,"RK - RevengeKilling");
- SendClientMessage(playerid,COLOR_YELLOW,"Revenge killing is basically killing someone because he killed you.");
- SendClientMessage(playerid,COLOR_LGREEN,"Tip : Remember that you lose the last 30 minutes of your memory when you die.");
- }
- case 4: //SK
- {
- SendClientMessage(playerid,COLOR_RED,"SK - SpawnKilling");
- SendClientMessage(playerid,COLOR_YELLOW,"SpawnKilling is killing a player right after he joins\\gets out of hospital");
- }
- case 5: //KoS
- {
- SendClientMessage(playerid,COLOR_RED,"KoS - Killing on Sight");
- SendClientMessage(playerid,COLOR_YELLOW,"Kill on Sight means that when you come up to someone and you kill him");
- SendClientMessage(playerid,COLOR_YELLOW,"without roleplaying before shooting him or without saying any word");
- SendClientMessage(playerid,COLOR_LGREEN,"Tip : RP with someone before you start shooting at him/her.");
- }
- case 6: //CS
- {
- SendClientMessage(playerid,COLOR_RED,"CS - Crack Shooting");
- SendClientMessage(playerid,COLOR_YELLOW,"Crack Shooting is using crouch(C button) to cancel the animation of shooting to get the ability to shoot faster.");
- }
- case 7: //QS
- {
- SendClientMessage(playerid,COLOR_RED,"QS - Quick Swapping");
- SendClientMessage(playerid,COLOR_YELLOW,"Quick Swapping is quickly swapping your weapon");
- SendClientMessage(playerid,COLOR_YELLOW,"Thus making a gun go automatically reloaded without an animation");
- }
- case 8: //[LEO] RT
- {
- SendClientMessage(playerid,COLOR_RED,"RT - Rush Tazing");
- SendClientMessage(playerid,COLOR_YELLOW,"Rushtazing is tazing a suspect who is shooting or aiming at you.");
- SendClientMessage(playerid,COLOR_YELLOW,"Simply, you won't risk your life doing it, in Real Life, you would respond with fire.");
- }
- case 9: ///me Usage
- {
- SendClientMessage(playerid,COLOR_RED,"/me Usage");
- SendClientMessage(playerid,COLOR_YELLOW,"You can use /me to tell the others what are you doing.");
- SendClientMessage(playerid,COLOR_LGREEN,"E.G : /me reaches for his cigarettes pack from his right pocket.");
- }
- case 10: ///do Usage
- {
- SendClientMessage(playerid,COLOR_RED,"/do Usage");
- SendClientMessage(playerid,COLOR_YELLOW,"You can use /do to describe something you've just Roleplayed. [E.G 1]");
- SendClientMessage(playerid,COLOR_YELLOW,"You can use it too to avoid PG (Forcing players into an RP situation). [E.G 2]");
- SendClientMessage(playerid,COLOR_LGREEN,"E.G 1 : /do the cigarettes pack color is red.");
- SendClientMessage(playerid,COLOR_LGREEN,"E.G 2 : /me attempts to punch Randall on his nose.");
- SendClientMessage(playerid,COLOR_LGREEN,"/do Success\\Fail ?");
- }
- }
- }
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext, "/rphelp", true) == 0)
- {
- ShowMenuForPlayer(Menu:Tuto, playerid);
- return 1;
- }
- return 0;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement