Advertisement
Guest User

Roleplay Guide - By Alexzzpro

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