Advertisement
Janchuks

[v0.5] Roleplay Guide

Feb 5th, 2013
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 5.00 KB | None | 0 0
  1. // ______ _                 _                   ______
  2. //| ___ \ |               | |                 |___  /
  3. //| |_/ / |__   __ _ _ __ | |_ ___  _ __ ___     / /
  4. //|  __/| '_ \ / _` | '_ \| __/ _ \| '_ ` _ \   / /
  5. //| |   | | | | (_| | | | | || (_) | | | | | |./ /___
  6. //\_|   |_| |_|\__,_|_| |_|\__\___/|_| |_| |_|\_____/
  7.  
  8. #define FILTERSCRIPT
  9. #define WHITE 0xFFFFFFAA
  10. #include <a_samp>
  11. #if defined FILTERSCRIPT
  12.  
  13. #define RPGUIDE 1
  14. #define HELP1 2
  15. #define HELP2 3
  16. #define HELP3 4
  17. #define HELP4 5
  18. #define HELP5 6
  19. #define CREDITS 7
  20.  
  21. public OnFilterScriptInit()
  22. {
  23.     print(" Roleplay Guide loading - 39%");
  24.     print(" Roleplay Guide loading - 77%");
  25.     print(" Roleplay Guide loading - 82%");
  26.     print(" Roleplay Guide loaded - 100%");
  27.     print("\n--------------------------------------");
  28.     print(" Roleplay Guide by PhantomZ");
  29.     print("--------------------------------------\n");
  30.     return 1;
  31. }
  32.  
  33. public OnFilterScriptExit()
  34. {
  35.     print("\n--------------------------------------");
  36.     print(" Roleplay Guide Exited ");
  37.     print("--------------------------------------\n");
  38.     return 1;
  39. }
  40.  
  41. #else
  42.  
  43. #endif
  44.  
  45. public OnPlayerConnect(playerid)
  46. {
  47.     SendClientMessage(playerid, WHITE, "You may Check for a Roleplay guide by typing /roleplayguide ");
  48.     return 1;
  49. }
  50.  
  51. public OnPlayerCommandText(playerid, cmdtext[])
  52. {
  53.     if (strcmp("/roleplayguide", cmdtext, true, 10) == 0)
  54.     {
  55.         ShowPlayerDialog(playerid, RPGUIDE, DIALOG_STYLE_LIST, "Roleplay Guide - By AlexzzPro","MetaGaming\nPowergaming\nDeathmatch\nRoleplay\nRevengeKill\nCredits","Choose","Close");
  56.         return 1;
  57.     }
  58.     return 0;
  59. }
  60.  
  61.  
  62. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  63. {
  64.     if(dialogid == RPGUIDE)
  65.     {
  66.         if(response)
  67.         {
  68.             if(listitem == 0)
  69.             {
  70.                 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");
  71.             }
  72.             if(listitem == 1)
  73.             {
  74.                 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");
  75.             }
  76.             if(listitem == 2)
  77.             {
  78.                 ShowPlayerDialog(playerid, HELP3, DIALOG_STYLE_MSGBOX, "Deathmatch","You go around killing people without a good/vaild reason ICLY\nExample: No example needed","Okey","close");
  79.             }
  80.             if(listitem == 3)
  81.             {
  82.                 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");
  83.             }
  84.             if(listitem == 4)
  85.             {
  86.                 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");
  87.             }
  88.             if(listitem == 5)
  89.             {
  90.                 ShowPlayerDialog(playerid, CREDITS, DIALOG_STYLE_MSGBOX, "Credits","Credits for making this is: PhantomZ","Okey","Close");
  91.             }
  92.         }
  93.     }
  94. }
  95. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  96. {
  97.     return 1;
  98. }
  99.  
  100. public OnPlayerExitVehicle(playerid, vehicleid)
  101. {
  102.     return 1;
  103. }
  104.  
  105. public OnPlayerStateChange(playerid, newstate, oldstate)
  106. {
  107.     return 1;
  108. }
  109.  
  110. public OnPlayerEnterCheckpoint(playerid)
  111. {
  112.     return 1;
  113. }
  114.  
  115. public OnPlayerLeaveCheckpoint(playerid)
  116. {
  117.     return 1;
  118. }
  119.  
  120. public OnPlayerEnterRaceCheckpoint(playerid)
  121. {
  122.     return 1;
  123. }
  124.  
  125. public OnPlayerLeaveRaceCheckpoint(playerid)
  126. {
  127.     return 1;
  128. }
  129.  
  130. public OnRconCommand(cmd[])
  131. {
  132.     return 1;
  133. }
  134.  
  135. public OnPlayerRequestSpawn(playerid)
  136. {
  137.     return 1;
  138. }
  139.  
  140. public OnObjectMoved(objectid)
  141. {
  142.     return 1;
  143. }
  144.  
  145. public OnPlayerObjectMoved(playerid, objectid)
  146. {
  147.     return 1;
  148. }
  149.  
  150. public OnPlayerPickUpPickup(playerid, pickupid)
  151. {
  152.     return 1;
  153. }
  154.  
  155. public OnVehicleMod(playerid, vehicleid, componentid)
  156. {
  157.     return 1;
  158. }
  159.  
  160. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  161. {
  162.     return 1;
  163. }
  164.  
  165. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  166. {
  167.     return 1;
  168. }
  169.  
  170. public OnPlayerSelectedMenuRow(playerid, row)
  171. {
  172.     return 1;
  173. }
  174.  
  175. public OnPlayerExitedMenu(playerid)
  176. {
  177.     return 1;
  178. }
  179.  
  180. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  181. {
  182.     return 1;
  183. }
  184.  
  185. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  186. {
  187.     return 1;
  188. }
  189.  
  190. public OnRconLoginAttempt(ip[], password[], success)
  191. {
  192.     return 1;
  193. }
  194.  
  195. public OnPlayerUpdate(playerid)
  196. {
  197.     return 1;
  198. }
  199.  
  200. public OnPlayerStreamIn(playerid, forplayerid)
  201. {
  202.     return 1;
  203. }
  204.  
  205. public OnPlayerStreamOut(playerid, forplayerid)
  206. {
  207.     return 1;
  208. }
  209.  
  210. public OnVehicleStreamIn(vehicleid, forplayerid)
  211. {
  212.     return 1;
  213. }
  214.  
  215. public OnVehicleStreamOut(vehicleid, forplayerid)
  216. {
  217.     return 1;
  218. }
  219.  
  220. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  221. {
  222.     return 1;
  223. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement