Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ______ _ _ ______
- //| ___ \ | | | |___ /
- //| |_/ / |__ __ _ _ __ | |_ ___ _ __ ___ / /
- //| __/| '_ \ / _` | '_ \| __/ _ \| '_ ` _ \ / /
- //| | | | | | (_| | | | | || (_) | | | | | |./ /___
- //\_| |_| |_|\__,_|_| |_|\__\___/|_| |_| |_|\_____/
- #define FILTERSCRIPT
- #define WHITE 0xFFFFFFAA
- #include <a_samp>
- #if defined FILTERSCRIPT
- #define RPGUIDE 1
- #define HELP1 2
- #define HELP2 3
- #define HELP3 4
- #define HELP4 5
- #define HELP5 6
- #define CREDITS 7
- public OnFilterScriptInit()
- {
- print(" Roleplay Guide loading - 39%");
- print(" Roleplay Guide loading - 77%");
- print(" Roleplay Guide loading - 82%");
- print(" Roleplay Guide loaded - 100%");
- print("\n--------------------------------------");
- print(" Roleplay Guide by PhantomZ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("\n--------------------------------------");
- print(" Roleplay Guide Exited ");
- print("--------------------------------------\n");
- return 1;
- }
- #else
- #endif
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, WHITE, "You may Check for a Roleplay guide by typing /roleplayguide ");
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/roleplayguide", cmdtext, true, 10) == 0)
- {
- ShowPlayerDialog(playerid, RPGUIDE, DIALOG_STYLE_LIST, "Roleplay Guide - By AlexzzPro","MetaGaming\nPowergaming\nDeathmatch\nRoleplay\nRevengeKill\nCredits","Choose","Close");
- return 1;
- }
- return 0;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == RPGUIDE)
- {
- if(response)
- {
- if(listitem == 0)
- {
- ShowPlayerDialog(playerid, HELP1, DIALOG_STYLE_MSGBOX, "Metagaming Term","You are using OOC knowledge in In Character!\nExample: You see someones name tag, and say: Hello Tom Weaver! Even if you never meet him icly","Okey","Close");
- }
- if(listitem == 1)
- {
- ShowPlayerDialog(playerid, HELP2, DIALOG_STYLE_MSGBOX, "Powergaming Term","Having un-natural powers in in character\nExample: You jump from a high building, without hurting yourself","Okey","Close");
- }
- if(listitem == 2)
- {
- ShowPlayerDialog(playerid, HELP3, DIALOG_STYLE_MSGBOX, "Deathmatch","You go around killing people without a good/vaild reason ICLY\nExample: No example needed","Okey","close");
- }
- if(listitem == 3)
- {
- ShowPlayerDialog(playerid, HELP4, DIALOG_STYLE_MSGBOX, "Roleplay","Roleplaying shortened RP means taking on the role of a character and acting it out in-game through emotes\n Really easy to learn, Just act as you would in real-life\nExample: No example needed","Okey","Close");
- }
- if(listitem == 4)
- {
- ShowPlayerDialog(playerid, HELP5, DIALOG_STYLE_MSGBOX, "RevengeKill","If you get killed by someone, You go back to the same spot, and kill the person again\nBut when you die, you loose 30 minutes of your memory\nExample: No example needed","Okey","Close");
- }
- if(listitem == 5)
- {
- ShowPlayerDialog(playerid, CREDITS, DIALOG_STYLE_MSGBOX, "Credits","Credits for making this is: PhantomZ","Okey","Close");
- }
- }
- }
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement