pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

Advertising: Cheap Loan - mobile phones - Internet Marketing - Credit Counseling
paste-bin - collaborative debugging tool View Help

Posted by KineticNRG on Thu 31st Jan 22:57 (modification of post by view diff)
download | new post

  1. /*this is the official Lords Roleplay Script... If you have this, you are one 1337 mohterfucker*/
  2.  
  3. #include <a_samp>
  4.  
  5. public OnGameModeInit()
  6. {
  7.         /*when someone logs in, this is what they see while the game mode is loading*/
  8.         SetGameModeText("Lords Roleplay Script");
  9.         AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  10.         return 1;
  11. }
  12.  
  13. public OnGameModeExit()
  14. {
  15.         return 1;
  16. }
  17.  
  18. public OnPlayerRequestClass(playerid, classid)
  19. {
  20. /*when f4 is pushed, this is the spawn location*/
  21. //      SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  22. //      SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  23. //      SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  24.         return 1;
  25. }
  26.  
  27. public OnPlayerRequestSpawn(playerid)
  28. {
  29.         return 1;
  30. }
  31.  
  32. public OnPlayerConnect(playerid)
  33. {
  34.         return 1;
  35. }
  36.  
  37. public OnPlayerDisconnect(playerid, reason)
  38. {
  39.         return 1;
  40. }
  41.  
  42. public OnPlayerSpawn(playerid)
  43. {
  44.         return 1;
  45. }
  46.  
  47. public OnPlayerDeath(playerid, killerid, reason)
  48. {
  49.         return 1;
  50. }
  51.  
  52. public OnVehicleSpawn(vehicleid)
  53. {
  54.         return 1;
  55. }
  56.  
  57. public OnVehicleDeath(vehicleid, killerid)
  58. {
  59.         return 1;
  60. }
  61.  
  62. public OnPlayerText(playerid, text[])
  63. {
  64.         return 1;
  65. }
  66.  
  67. public OnPlayerPrivmsg(playerid, recieverid, text[])
  68. {
  69.         return 1;
  70. }
  71.  
  72. public OnPlayerCommandText(playerid, cmdtext[])
  73. {
  74.         if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  75.         {
  76.                 // Do something here
  77.                 return 1;
  78.         }
  79.         return 0;
  80. }
  81.  
  82. public OnPlayerInfoChange(playerid)
  83. {
  84.         return 1;
  85. }
  86.  
  87. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  88. {
  89.         return 1;
  90. }
  91.  
  92. public OnPlayerExitVehicle(playerid, vehicleid)
  93. {
  94.         return 1;
  95. }
  96.  
  97. public OnPlayerStateChange(playerid, newstate, oldstate)
  98. {
  99.         return 1;
  100. }
  101.  
  102. public OnPlayerEnterCheckpoint(playerid)
  103. {
  104.         return 1;
  105. }
  106.  
  107. public OnPlayerLeaveCheckpoint(playerid)
  108. {
  109.         return 1;
  110. }
  111.  
  112. public OnPlayerEnterRaceCheckpoint(playerid)
  113. {
  114.         return 1;
  115. }
  116.  
  117. public OnPlayerLeaveRaceCheckpoint(playerid)
  118. {
  119.         return 1;
  120. }
  121.  
  122. public OnRconCommand(cmd[])
  123. {
  124.         return 1;
  125. }
  126.  
  127. public OnObjectMoved(objectid)
  128. {
  129.         return 1;
  130. }
  131.  
  132. public OnPlayerObjectMoved(playerid, objectid)
  133. {
  134.         return 1;
  135. }
  136.  
  137. public OnPlayerPickUpPickup(playerid, pickupid)
  138. {
  139.         return 1;
  140. }
  141.  
  142. public OnPlayerSelectedMenuRow(playerid, row)
  143. {
  144.         return 1;
  145. }
  146.  
  147. public OnPlayerExitedMenu(playerid)
  148. {
  149.         return 1;
  150. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me
: