daily pastebin goal
7%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define F(NAME,TARGET) class NAME { \
  2.     allowedTargets = TARGET; \
  3. };
  4.  
  5. #define ANYONE 0
  6. #define CLIENT 1
  7. #define SERVER 2
  8. #define HC HC_Life
  9.  
  10. class CfgRemoteExec {
  11.     class Functions {
  12.         mode = 1;
  13.         jip = 0;
  14.         #include "The-Programmer\theprogrammer_remoteExec_master.cpp"
  15.         /* Client only functions */
  16.         F(life_fnc_civLicenseShown,CLIENT) // ICI
  17.         F(life_fnc_civShowLicense,CLIENT) // ICI
  18.         F(life_fnc_copLicenseShown,CLIENT) // ICI
  19.         F(life_fnc_copShowLicense,CLIENT) // ICI
  20.         F(life_fnc_AAN,CLIENT)
  21.         F(life_fnc_addVehicle2Chain,CLIENT)
  22.         F(life_fnc_adminID,CLIENT)
  23.         F(life_fnc_adminInfo,CLIENT)
  24.         F(life_fnc_bountyReceive,CLIENT)
  25.         F(life_fnc_copLights,CLIENT)
  26.         F(life_fnc_copSearch,CLIENT)
  27.         F(life_fnc_copSiren,CLIENT)
  28.         F(life_fnc_freezePlayer,CLIENT)
  29.         F(life_fnc_gangCreated,CLIENT)
  30.         F(life_fnc_gangDisbanded,CLIENT)
  31.         F(life_fnc_gangInvite,CLIENT)
  32.         F(life_fnc_garageRefund,CLIENT)
  33.         F(life_fnc_giveDiff,CLIENT)
  34.         F(life_fnc_hideObj,CLIENT)
  35.         F(life_fnc_impoundMenu,CLIENT)
  36.         F(life_fnc_jail,CLIENT)
  37.         F(life_fnc_jailMe,CLIENT)
  38.         F(life_fnc_knockedOut,CLIENT)
  39.         F(life_fnc_licenseCheck,CLIENT)
  40.         F(life_fnc_licensesRead,CLIENT)
  41.         F(life_fnc_lightHouse,CLIENT)
  42.         F(life_fnc_mediclights,CLIENT)
  43.         F(life_fnc_medicRequest,CLIENT)
  44.         F(life_fnc_medicSiren,CLIENT)
  45.         F(life_fnc_moveIn,CLIENT)
  46.         F(life_fnc_pickupItem,CLIENT)
  47.         F(life_fnc_pickupMoney,CLIENT)
  48.         F(life_fnc_receiveItem,CLIENT)
  49.         F(life_fnc_receiveMoney,CLIENT)
  50.         F(life_fnc_removeLicenses,CLIENT)
  51.         F(life_fnc_restrain,CLIENT)
  52.         F(life_fnc_revived,CLIENT)
  53.         F(life_fnc_robPerson,CLIENT)
  54.         F(life_fnc_robReceive,CLIENT)
  55.         F(life_fnc_searchClient,CLIENT)
  56.         F(life_fnc_seizeClient,CLIENT)
  57.         F(life_fnc_soundDevice,CLIENT)
  58.         F(life_fnc_spikeStripEffect,CLIENT)
  59.         F(life_fnc_tazeSound,CLIENT)
  60.         F(life_fnc_ticketPaid,CLIENT)
  61.         F(life_fnc_ticketPrompt,CLIENT)
  62.         F(life_fnc_vehicleAnimate,CLIENT)
  63.         F(life_fnc_wantedList,CLIENT)
  64.         F(life_fnc_wireTransfer,CLIENT)
  65.         F(SOCK_fnc_dataQuery,CLIENT)
  66.         F(SOCK_fnc_insertPlayerInfo,CLIENT)
  67.         F(SOCK_fnc_requestReceived,CLIENT)
  68.         F(SOCK_fnc_updateRequest,CLIENT)
  69.         F(TON_fnc_clientGangKick,CLIENT)
  70.         F(TON_fnc_clientGangLeader,CLIENT)
  71.         F(TON_fnc_clientGangLeft,CLIENT)
  72.         F(TON_fnc_clientGetKey,CLIENT)
  73.         F(TON_fnc_clientMessage,CLIENT)
  74.         F(TON_fnc_player_query,CLIENT)
  75.  
  76.         /* Server only functions */
  77.         F(BIS_fnc_execVM,SERVER)
  78.         F(DB_fnc_insertRequest,SERVER)
  79.         F(DB_fnc_queryRequest,SERVER)
  80.         F(DB_fnc_updatePartial,SERVER)
  81.         F(DB_fnc_updateRequest,SERVER)
  82.         F(life_fnc_jailSys,SERVER)
  83.         F(life_fnc_wantedAdd,SERVER)
  84.         F(life_fnc_wantedBounty,SERVER)
  85.         F(life_fnc_wantedCrimes,SERVER)
  86.         F(life_fnc_wantedFetch,SERVER)
  87.         F(life_fnc_wantedProfUpdate,SERVER)
  88.         F(life_fnc_wantedRemove,SERVER)
  89.         F(SPY_fnc_cookieJar,SERVER)
  90.         F(SPY_fnc_observe,SERVER)
  91.         F(TON_fnc_addContainer,SERVER)
  92.         F(TON_fnc_addHouse,SERVER)
  93.         F(TON_fnc_chopShopSell,SERVER)
  94.         F(TON_fnc_cleanupRequest,SERVER)
  95.         F(TON_fnc_deleteDBContainer,SERVER)
  96.         F(TON_fnc_getID,SERVER)
  97.         F(TON_fnc_getVehicles,SERVER)
  98.         F(TON_fnc_insertGang,SERVER)
  99.         F(TON_fnc_keyManagement,SERVER)
  100.         F(TON_fnc_manageSC,SERVER)
  101.         F(TON_fnc_pickupAction,SERVER)
  102.         F(TON_fnc_removeGang,SERVER)
  103.         F(TON_fnc_sellHouse,SERVER)
  104.         F(TON_fnc_sellHouseContainer,SERVER)
  105.         F(TON_fnc_setObjVar,SERVER)
  106.         F(TON_fnc_spawnVehicle,SERVER)
  107.         F(TON_fnc_spikeStrip,SERVER)
  108.         F(TON_fnc_updateGang,SERVER)
  109.         F(TON_fnc_updateHouseContainers,SERVER)
  110.         F(TON_fnc_updateHouseTrunk,SERVER)
  111.         F(TON_fnc_vehicleCreate,SERVER)
  112.         F(TON_fnc_vehicleDelete,SERVER)
  113.         F(TON_fnc_vehicleStore,SERVER)
  114.         F(TON_fnc_vehicleUpdate,SERVER)
  115.         F(TON_fnc_handleBlastingCharge,SERVER)
  116.         F(TON_fnc_houseGarage,SERVER)
  117.         F(TON_fnc_insureCar,SERVER)
  118.  
  119.         /* HeadlessClient only functions */
  120.         F(HC_fnc_addContainer,HC)
  121.         F(HC_fnc_addHouse,HC)
  122.         F(HC_fnc_chopShopSell,HC)
  123.         F(HC_fnc_deleteDBContainer,HC)
  124.         F(HC_fnc_getVehicles,HC)
  125.         F(HC_fnc_houseGarage,HC)
  126.         F(HC_fnc_insertGang,HC)
  127.         F(HC_fnc_insertRequest,HC)
  128.         F(HC_fnc_insertVehicle,HC)
  129.         F(HC_fnc_jailSys,HC)
  130.         F(HC_fnc_keyManagement,HC)
  131.         F(HC_fnc_queryRequest,HC)
  132.         F(HC_fnc_removeGang,HC)
  133.         F(HC_fnc_sellHouse,HC)
  134.         F(HC_fnc_sellHouseContainer,HC)
  135.         F(HC_fnc_spawnVehicle,HC)
  136.         F(HC_fnc_spikeStrip,HC)
  137.         F(HC_fnc_updateGang,HC)
  138.         F(HC_fnc_updateHouseContainers,HC)
  139.         F(HC_fnc_updateHouseTrunk,HC)
  140.         F(HC_fnc_updatePartial,HC)
  141.         F(HC_fnc_updateRequest,HC)
  142.         F(HC_fnc_vehicleCreate,HC)
  143.         F(HC_fnc_vehicleDelete,HC)
  144.         F(HC_fnc_vehicleStore,HC)
  145.         F(HC_fnc_vehicleUpdate,HC)
  146.         F(HC_fnc_wantedAdd,HC)
  147.         F(HC_fnc_wantedBounty,HC)
  148.         F(HC_fnc_wantedCrimes,HC)
  149.         F(HC_fnc_wantedFetch,HC)
  150.         F(HC_fnc_wantedProfUpdate,HC)
  151.         F(HC_fnc_wantedRemove,HC)
  152.  
  153.         /* Functions for everyone */
  154.         F(BIS_fnc_effectKilledAirDestruction,ANYONE)
  155.         F(BIS_fnc_effectKilledSecondaries,ANYONE)
  156.         F(life_fnc_animSync,ANYONE)
  157.         F(life_fnc_broadcast,ANYONE)
  158.         F(life_fnc_colorVehicle,ANYONE)
  159.         F(life_fnc_corpse,ANYONE)
  160.         F(life_fnc_demoChargeTimer,ANYONE)
  161.         F(life_fnc_flashbang,ANYONE)
  162.         F(life_fnc_jumpFnc,ANYONE)
  163.         F(life_fnc_lockVehicle,ANYONE)
  164.         F(life_fnc_pulloutVeh,ANYONE)
  165.         F(life_fnc_say3D,ANYONE)
  166.         F(life_fnc_setFuel,ANYONE)
  167.         F(life_fnc_simDisable,ANYONE)
  168.         F(SPY_fnc_notifyAdmins,ANYONE)
  169.     };
  170.  
  171.     class Commands {
  172.         mode = 1;
  173.         jip = 0;
  174.  
  175.         F(addHandgunItem,ANYONE)
  176.         F(addMagazine,ANYONE)
  177.         F(addPrimaryWeaponItem,ANYONE)
  178.         F(addWeapon,ANYONE)
  179.         F(setFuel,ANYONE)
  180.     };
  181. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top