Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.96 KB | None | 0 0
  1. #define F(NAME,TARGET) class NAME { \
  2. allowedTargets = TARGET; \
  3. };
  4. #define JIP(NAME,TARGET) class NAME { \
  5. allowedTargets = TARGET; \
  6. jip = 1; \
  7. };
  8.  
  9. #define ANYONE 0
  10. #define CLIENT 1
  11. #define SERVER 2
  12. #define HC HC_Life
  13.  
  14. class CfgRemoteExec {
  15. class Functions {
  16. mode = 1;
  17. jip = 0;
  18.  
  19. #include "maverick\maverick_remoteExec_master.cpp"
  20. /* Client only functions */
  21. F(life_fnc_setBounty,CLIENT)
  22. F(life_fnc_AAN,CLIENT)
  23. F(life_fnc_AANBank,CLIENT)
  24. F(life_fnc_AANHack,CLIENT)
  25. F(life_fnc_AANMartial,CLIENT)
  26. F(life_fnc_AANJail,CLIENT)
  27. F(life_fnc_AANSafehouse,CLIENT)
  28. F(life_fnc_addVehicle2Chain,CLIENT)
  29. F(life_fnc_adminID,CLIENT)
  30. F(life_fnc_adminInfo,CLIENT)
  31. F(life_fnc_bountyReceive,CLIENT)
  32. F(life_fnc_copSearch,CLIENT)
  33. F(life_fnc_freezePlayer,CLIENT)
  34. F(life_fnc_gangDisbanded,CLIENT)
  35. F(life_fnc_gangInvite,CLIENT)
  36. F(life_fnc_garageRefund,CLIENT)
  37. F(life_fnc_giveDiff,CLIENT)
  38. F(life_fnc_hideObj,CLIENT)
  39. F(life_fnc_impoundMenu,CLIENT)
  40. F(life_fnc_jail,CLIENT)
  41. F(life_fnc_jailMe,CLIENT)
  42. F(life_fnc_knockedOut,CLIENT)
  43. F(life_fnc_licenseCheck,CLIENT)
  44. F(life_fnc_licensesRead,CLIENT)
  45. F(life_fnc_lightHouse,CLIENT)
  46. F(life_fnc_medicRequest,CLIENT)
  47. F(life_fnc_moveIn,CLIENT)
  48. F(life_fnc_pickupItem,CLIENT)
  49. F(life_fnc_pickupMoney,CLIENT)
  50. F(life_fnc_restrain,CLIENT)
  51. F(life_fnc_revived,CLIENT)
  52. F(life_fnc_robPerson,CLIENT)
  53. F(life_fnc_robReceive,CLIENT)
  54. F(life_fnc_searchClient,CLIENT)
  55. F(life_fnc_seizeClient,CLIENT)
  56. F(life_fnc_soundDevice,CLIENT)
  57. F(life_fnc_spikeStripEffect,CLIENT)
  58. F(life_fnc_tazeSound,CLIENT)
  59. F(life_fnc_ticketPaid,CLIENT)
  60. F(life_fnc_ticketPrompt,CLIENT)
  61. F(life_fnc_vehicleAnimate,CLIENT)
  62. F(life_fnc_wantedList,CLIENT)
  63. F(life_fnc_wireTransfer,CLIENT)
  64. F(SOCK_fnc_dataQuery,CLIENT)
  65. F(SOCK_fnc_insertPlayerInfo,CLIENT)
  66. F(SOCK_fnc_requestReceived,CLIENT)
  67. F(SOCK_fnc_lolasdasd8aasdj,CLIENT)
  68. F(TON_fnc_clientGangKick,CLIENT)
  69. F(TON_fnc_clientGangLeader,CLIENT)
  70. F(TON_fnc_clientGangLeft,CLIENT)
  71. F(TON_fnc_clientGetKey,CLIENT)
  72. F(TON_fnc_clientMessage,CLIENT)
  73. F(TON_fnc_player_query,CLIENT)
  74. F(life_fnc_killfeed,CLIENT)
  75. F(life_fnc_cprrevived,CLIENT)
  76. F(life_fnc_tieing,CLIENT)
  77. F(life_fnc_tieingb,CLIENT)
  78. F(life_fnc_backupCall,CLIENT)
  79. F(life_fnc_removeWeaponAction,CLIENT)
  80. F(life_fnc_tazed,CLIENT)
  81. F(bis_fnc_endMission,CLIENT)
  82. F(life_fnc_openPSIPhone,CLIENT)
  83.  
  84. /* Server only functions */
  85. F(BIS_fnc_execVM,SERVER)
  86. F(DB_fnc_insertRequest,SERVER)
  87. F(DB_fnc_queryRequest,SERVER)
  88. F(DB_fnc_updatePartial,SERVER)
  89. F(DB_fnc_lolasdasd8aasdj,SERVER)
  90. F(life_fnc_jailSys,SERVER)
  91. F(life_fnc_wantedAdd,SERVER)
  92. F(life_fnc_updateWanted,SERVER)
  93. F(life_fnc_wantedBounty,SERVER)
  94. F(life_fnc_wantedCrimes,SERVER)
  95. F(life_fnc_wantedFetch,SERVER)
  96. F(life_fnc_wantedProfUpdate,SERVER)
  97. F(life_fnc_wantedRemove,SERVER)
  98. F(life_fnc_updateBounty,SERVER)
  99. F(TON_fnc_removeCopWhitelisting,SERVER)
  100. F(TON_fnc_addContainer,SERVER)
  101. F(TON_fnc_addHouse,SERVER)
  102. F(TON_fnc_chopShopSell,SERVER)
  103. F(TON_fnc_cleanupRequest,SERVER)
  104. F(TON_fnc_deleteDBContainer,SERVER)
  105. F(TON_fnc_getID,SERVER)
  106. F(TON_fnc_getVehicles,SERVER)
  107. F(TON_fnc_insertGang,SERVER)
  108. F(TON_fnc_keyManagement,SERVER)
  109. F(TON_fnc_manageSC,SERVER)
  110. F(TON_fnc_pickupAction,SERVER)
  111. F(TON_fnc_removeGang,SERVER)
  112. F(TON_fnc_sellHouse,SERVER)
  113. F(TON_fnc_sellHouseContainer,SERVER)
  114. F(TON_fnc_setObjVar,SERVER)
  115. F(TON_fnc_spawnVehicle,SERVER)
  116. F(TON_fnc_spikeStrip,SERVER)
  117. F(TON_fnc_updateGang,SERVER)
  118. F(TON_fnc_updateHouseContainers,SERVER)
  119. F(TON_fnc_updateHouseTrunk,SERVER)
  120. F(TON_fnc_vehicleCreate,SERVER)
  121. F(TON_fnc_vehicleDelete,SERVER)
  122. F(TON_fnc_vehicleStore,SERVER)
  123. F(TON_fnc_vehicleUpdate,SERVER)
  124. F(TON_fnc_houseGarage,SERVER)
  125. F(TON_fnc_insureCar,SERVER)
  126. F(PSI_Lib_CreateMarker,SERVER)
  127. F(serverVehicleStore,SERVER)
  128. F(TON_fnc_ban,SERVER)
  129. F(TON_fnc_kick,SERVER)
  130. F(AH_LogInterface,SERVER)
  131. JIP(mav_ttm_fnc_loadFromDatabase,SERVER)
  132. JIP(mav_ttm_fnc_updateDatabaseEntry,SERVER)
  133.  
  134. /* HeadlessClient only functions */
  135. F(HC_fnc_addContainer,HC)
  136. F(HC_fnc_addHouse,HC)
  137. F(HC_fnc_chopShopSell,HC)
  138. F(HC_fnc_deleteDBContainer,HC)
  139. F(HC_fnc_getVehicles,HC)
  140. F(HC_fnc_houseGarage,HC)
  141. F(HC_fnc_insertGang,HC)
  142. F(HC_fnc_insertRequest,HC)
  143. F(HC_fnc_insertVehicle,HC)
  144. F(HC_fnc_jailSys,HC)
  145. F(HC_fnc_keyManagement,HC)
  146. F(HC_fnc_queryRequest,HC)
  147. F(HC_fnc_removeGang,HC)
  148. F(HC_fnc_sellHouse,HC)
  149. F(HC_fnc_sellHouseContainer,HC)
  150. F(HC_fnc_spawnVehicle,HC)
  151. F(HC_fnc_spikeStrip,HC)
  152. F(HC_fnc_updateGang,HC)
  153. F(HC_fnc_updateHouseContainers,HC)
  154. F(HC_fnc_updateHouseTrunk,HC)
  155. F(HC_fnc_updatePartial,HC)
  156. F(HC_fnc_lolasdasd8aasdj,HC)
  157. F(HC_fnc_vehicleCreate,HC)
  158. F(HC_fnc_vehicleDelete,HC)
  159. F(HC_fnc_vehicleStore,HC)
  160. F(HC_fnc_vehicleUpdate,HC)
  161. F(HC_fnc_wantedAdd,HC)
  162. F(HC_fnc_wantedBounty,HC)
  163. F(HC_fnc_wantedCrimes,HC)
  164. F(HC_fnc_wantedFetch,HC)
  165. F(HC_fnc_wantedProfUpdate,HC)
  166. F(HC_fnc_wantedRemove,HC)
  167.  
  168. /* Functions for everyone */
  169. F(BIS_fnc_effectKilledAirDestruction,ANYONE)
  170. F(BIS_fnc_effectKilledSecondaries,ANYONE)
  171. F(life_fnc_animSync,ANYONE)
  172. F(life_fnc_broadcast,ANYONE)
  173. F(life_fnc_copSiren,CLIENT)
  174. F(life_fnc_colorVehicle,ANYONE)
  175. F(life_fnc_corpse,ANYONE)
  176. F(life_fnc_flashbang,ANYONE)
  177. F(life_fnc_lockVehicle,ANYONE)
  178. F(life_fnc_pulloutVeh,ANYONE)
  179. F(life_fnc_say3D,ANYONE)
  180. F(ah_playerload,ANYONE)
  181. F(ah_keycheck,ANYONE)
  182. F(ah_playerload,ANYONE)
  183. F(life_fnc_setFuel,ANYONE)
  184. F(life_fnc_simDisable,ANYONE)
  185. F(SPY_fnc_notifyAdmins,ANYONE)
  186. F(life_fnc_setEngineHit,ANYONE)
  187. F(life_fnc_notificationSystem,ANYONE)
  188. F(life_fnc_hudUpdate,ANYONE)
  189. F(life_fnc_crashTackled,ANYONE)
  190. F(life_fnc_GangInviteReceived,ANYONE)
  191. F(life_fnc_GangNewLeader,ANYONE)
  192. F(life_fnc_loadGangMenu,ANYONE)
  193. F(life_fnc_receiveitem,ANYONE)
  194. F(life_fnc_giveItemReturn,ANYONE)
  195. F(life_fnc_getKey,ANYONE)
  196. F(AR_Client_Rappel_From_Heli,ANYONE)
  197. F(AR_Hint,ANYONE)
  198. F(AR_Hide_Object_Global,ANYONE)
  199. F(AR_Rappel_From_Heli,ANYONE)
  200. F(AR_Enable_Rappelling_Animation,ANYONE)
  201. F(life_fnc_ReceiveMoney,ANYONE)
  202. F(life_fnc_SetupQueryNumber,ANYONE)
  203. F(life_fnc_Server_MessageRelay,ANYONE)
  204. F(life_fnc_ReceiveEMessage, ANYONE)
  205. F(life_fnc_SetCopStatus,ANYONE)
  206. F(life_fnc_RemoveCopStatus,ANYONE)
  207. F(life_fnc_safehouseServer,ANYONE)
  208. F(life_fnc_getWinnings,ANYONE)
  209. F(life_fnc_startSafehouse,ANYONE)
  210. };
  211.  
  212. class Commands {
  213. mode = 1;
  214. jip = 0;
  215.  
  216. F(addHandgunItem,ANYONE)
  217. F(addMagazine,ANYONE)
  218. F(addPrimaryWeaponItem,ANYONE)
  219. F(addWeapon,ANYONE)
  220. F(setFuel,ANYONE)
  221. F(hint,ANYONE)
  222. F(playSound,ANYONE)
  223. F(say3D,ANYONE)
  224. F(hideobjectglobal,ANYONE)
  225. F(systemchat, ANYONE)
  226. F(setVariable, CLIENT)
  227. };
  228. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement