Advertisement
Guest User

Untitled

a guest
Mar 21st, 2021
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. /*
  2. Vice City Multiplayer 0.4 Blank Server (by Seby) for 64bit Windows.
  3. You can use it to script your own server. Here you can find all events developed.
  4.  
  5. VC:MP Official: www.vc-mp.org
  6. Forum: forum.vc-mp.org
  7. Wiki: wiki.vc-mp.org
  8. */
  9.  
  10.  
  11. function onServerStart()
  12. {
  13. }
  14.  
  15. function onServerStop()
  16. {
  17. }
  18.  
  19. function onScriptLoad()
  20. {
  21. }
  22.  
  23. function onScriptUnload()
  24. {
  25. }
  26.  
  27. // =========================================== P L A Y E R E V E N T S ==============================================
  28.  
  29. function onPlayerJoin( player )
  30. {
  31. }
  32.  
  33. function onPlayerPart( player, reason )
  34. {
  35. }
  36.  
  37. function onPlayerRequestClass( player, classID, team, skin )
  38. {
  39. return 1;
  40. }
  41.  
  42. function onPlayerRequestSpawn( player )
  43. {
  44. return 1;
  45. }
  46.  
  47. function onPlayerSpawn( player )
  48. {
  49. player.Pos = Vector(405.954, -459.039,10.1126);
  50. }
  51.  
  52. function onPlayerDeath( player, reason )
  53. {
  54. }
  55.  
  56. function onPlayerKill( player, killer, reason, bodypart )
  57. {
  58. }
  59.  
  60. function onPlayerTeamKill( player, killer, reason, bodypart )
  61. {
  62. }
  63.  
  64. function onPlayerChat( player, text )
  65. {
  66. print( player.Name + ": " + text );
  67. return 1;
  68. }
  69.  
  70. function onPlayerCommand( player, cmd, text )
  71. {
  72. if(cmd == "test")
  73. {
  74. CreateCheckpoint(player, 0, false, Vector(405.954, -459.039,10.1126), ARGB(255, 255, 0, 0), 1);
  75. return 1;
  76. }
  77. return 1;
  78. }
  79.  
  80. function onPlayerPM( player, playerTo, message )
  81. {
  82. return 1;
  83. }
  84.  
  85. function onPlayerBeginTyping( player )
  86. {
  87. }
  88.  
  89. function onPlayerEndTyping( player )
  90. {
  91. }
  92.  
  93. /*
  94. function onLoginAttempt( player )
  95. {
  96. return 1;
  97. }
  98. */
  99.  
  100. function onNameChangeable( player )
  101. {
  102. }
  103.  
  104. function onPlayerSpectate( player, target )
  105. {
  106. }
  107.  
  108. function onPlayerCrashDump( player, crash )
  109. {
  110. }
  111.  
  112. function onPlayerMove( player, lastX, lastY, lastZ, newX, newY, newZ )
  113. {
  114. }
  115.  
  116. function onPlayerHealthChange( player, lastHP, newHP )
  117. {
  118. }
  119.  
  120. function onPlayerArmourChange( player, lastArmour, newArmour )
  121. {
  122. }
  123.  
  124. function onPlayerWeaponChange( player, oldWep, newWep )
  125. {
  126. }
  127.  
  128. function onPlayerAwayChange( player, status )
  129. {
  130. }
  131.  
  132. function onPlayerNameChange( player, oldName, newName )
  133. {
  134. }
  135.  
  136. function onPlayerActionChange( player, oldAction, newAction )
  137. {
  138. }
  139.  
  140. function onPlayerStateChange( player, oldState, newState )
  141. {
  142. }
  143.  
  144. function onPlayerOnFireChange( player, IsOnFireNow )
  145. {
  146. }
  147.  
  148. function onPlayerCrouchChange( player, IsCrouchingNow )
  149. {
  150. }
  151.  
  152. function onPlayerGameKeysChange( player, oldKeys, newKeys )
  153. {
  154. }
  155.  
  156. function onPlayerUpdate( player, update )
  157. {
  158. }
  159.  
  160. function onClientScriptData( player )
  161. {
  162. }
  163.  
  164. // ========================================== V E H I C L E E V E N T S =============================================
  165.  
  166. function onPlayerEnteringVehicle( player, vehicle, door )
  167. {
  168. return 1;
  169. }
  170.  
  171. function onPlayerEnterVehicle( player, vehicle, door )
  172. {
  173. }
  174.  
  175. function onPlayerExitVehicle( player, vehicle )
  176. {
  177. }
  178.  
  179. function onVehicleExplode( vehicle )
  180. {
  181. }
  182.  
  183. function onVehicleRespawn( vehicle )
  184. {
  185. }
  186.  
  187. function onVehicleHealthChange( vehicle, oldHP, newHP )
  188. {
  189. }
  190.  
  191. function onVehicleMove( vehicle, lastX, lastY, lastZ, newX, newY, newZ )
  192. {
  193. }
  194.  
  195. // =========================================== P I C K U P E V E N T S ==============================================
  196.  
  197. function onPickupClaimPicked( player, pickup )
  198. {
  199. return 1;
  200. }
  201.  
  202. function onPickupPickedUp( player, pickup )
  203. {
  204. }
  205.  
  206. function onPickupRespawn( pickup )
  207. {
  208. }
  209.  
  210. // ========================================== O B J E C T E V E N T S ==============================================
  211.  
  212. function onObjectShot( object, player, weapon )
  213. {
  214. }
  215.  
  216. function onObjectBump( object, player )
  217. {
  218. }
  219.  
  220. // ====================================== C H E C K P O I N T E V E N T S ==========================================
  221.  
  222. function onCheckpointEntered( player, checkpoint )
  223. {
  224. }
  225.  
  226. function onCheckpointExited( player, checkpoint )
  227. {
  228. }
  229.  
  230. // =========================================== B I N D E V E N T S =================================================
  231.  
  232. function onKeyDown( player, key )
  233. {
  234. }
  235.  
  236. function onKeyUp( player, key )
  237. {
  238. }
  239.  
  240. // ================================== E N D OF O F F I C I A L E V E N T S ======================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement