#define F(NAME,TARGET) class NAME { \ allowedTargets = TARGET; \ }; #define ANYONE 0 #define CLIENT 1 #define SERVER 2 class CfgRemoteExec { class Functions { mode = 1; jip = 0; /* Client only functions */ F(life_fnc_jail,CLIENT) F(call,CLIENT) F(life_fnc_moveIn,CLIENT) F(life_fnc_restrain,CLIENT) F(life_fnc_robPerson,CLIENT) F(life_fnc_searchClient,CLIENT) F(life_fnc_player_query,CLIENT) F(life_fnc_knockedOut,CLIENT) F(life_fnc_robReceive,CLIENT) F(life_fnc_tazeSound,CLIENT) F(life_fnc_copSiren,CLIENT) F(life_fnc_alarmSound,CLIENT) F(life_fnc_medicSiren,CLIENT) F(life_fnc_giveDiff,CLIENT) F(life_fnc_gangInvite,CLIENT) F(life_fnc_clientGangKick,CLIENT) F(life_fnc_clientGangLeader,CLIENT) F(life_fnc_clientGangLeft,CLIENT) F(life_fnc_lightHouse,CLIENT) F(life_fnc_medicRequest,CLIENT) F(life_fnc_revived,CLIENT) F(life_fnc_receiveItem,CLIENT) F(life_fnc_receiveMoney,CLIENT) F(life_fnc_clientGetKey,CLIENT) F(life_fnc_soundDevice,CLIENT) F(life_fnc_pickupMoney,CLIENT) F(life_fnc_pickupItem,CLIENT) F(life_fnc_gangCreated,CLIENT) F(life_fnc_gangDisbanded,CLIENT) F(life_fnc_jailMe,CLIENT) F(SOCK_fnc_dataQuery,CLIENT) F(SOCK_fnc_insertPlayerInfo,CLIENT) F(SOCK_fnc_requestReceived,CLIENT) F(life_fnc_adminid,CLIENT) F(life_fnc_garageUpdate,CLIENT) F(life_fnc_garageRefund,CLIENT) F(life_fnc_addVehicle2Chain,CLIENT) F(life_fnc_vehicleAnimate,CLIENT) F(life_fnc_spikeStripEffect,CLIENT) F(life_fnc_bountyReceive,CLIENT) F(life_fnc_wantedMenuRecive,CLIENT) F(life_fnc_admininfo,CLIENT) F(life_fnc_licenseCheckCop,CLIENT) F(life_fnc_licensesRead,CLIENT) F(life_fnc_removeLicensesCop,CLIENT) F(life_fnc_copSearch,CLIENT) F(life_fnc_ticketPrompt,CLIENT) F(life_fnc_ticketPaid,CLIENT) F(life_fnc_ticketPromptADAC,CLIENT) F(life_fnc_ticketPaidADAC,CLIENT) F(life_fnc_freezePlayer,CLIENT) F(life_fnc_receiveVehicle,CLIENT) F(life_fnc_buyLicense,CLIENT) F(AR_Hint,CLIENT) F(AUR_Hint,CLIENT) F(life_fnc_viewLicense,CLIENT) F(life_fnc_therapie,CLIENT) F(life_fnc_message,CLIENT) F(life_fnc_assignmentCreate, CLIENT) F(life_fnc_receiveNewRank,CLIENT) F(life_fnc_assignmentDelete,CLIENT) F(life_fnc_priceUpdate,CLIENT) F(life_fnc_updatePriceCache,CLIENT) F(life_fnc_cipDataRecive, CLIENT) F(life_fnc_cipBankDataRecive, CLIENT) F(life_fnc_cipLoadData, CLIENT) F(life_fnc_forgiveJailTime, CLIENT) F(life_fnc_eventTargetStart, CLIENT) F(life_fnc_dropSingleItems, CLIENT) F(life_fnc_getInventoryUnit, CLIENT) F(life_fnc_initPlayerAppartement, CLIENT) F(life_fnc_callIncome,CLIENT) F(life_fnc_endCall,CLIENT) F(life_fnc_connectionCheckCallback,CLIENT) F(life_fnc_TaxiDelete,CLIENT) F(life_fnc_TaxiPassangerInfo,CLIENT) F(life_fnc_TaxiAbortDriver,CLIENT) F(life_fnc_TaxiAbortPassanger,CLIENT) F(life_fnc_TaxiFinish,CLIENT) F(life_fnc_TaxiCreate,CLIENT) F(life_fnc_updateGangAtm, CLIENT) F(life_fnc_gangWithdrawCallback, CLIENT) F(life_fnc_confirmTicketPardon, CLIENT) F(life_fnc_adminReceiveDailyQuest, CLIENT) F(life_fnc_refund, CLIENT) F(life_fnc_receiveLotteryPrice, CLIENT) F(life_fnc_addCallingToLastCalls, CLIENT) F(life_fnc_addCallLastCalls, CLIENT) F(life_fnc_phoneNumberDelete, CLIENT) F(life_fnc_addNewPhoneNumber, CLIENT) F(life_fnc_bankWithdrawCallback, CLIENT) F(life_fnc_listBankPermissionCallback, CLIENT) F(life_fnc_updateBankDialog, CLIENT) F(life_fnc_buyHouseCallback, CLIENT) F(life_fnc_openCompanyManageDialog, CLIENT) F(life_fnc_clientUpdatePermission, CLIENT) F(life_fnc_assignAssignmentTask, CLIENT) F(life_fnc_assignAssignmentMsg, CLIENT) F(life_fnc_getMedInfo, CLIENT) F(RL_fnc_EKG, CLIENT) F(RL_fnc_startLucas, CLIENT) F(RL_fnc_adddamage, CLIENT) F(RL_fnc_removeLucas, CLIENT) F(life_fnc_showVehicleServiceLog, CLIENT) F(life_fnc_msgFromDealer, CLIENT) /* Server only functions */ //F(bis_fnc_execvm,SERVER) F(TON_fnc_BugReportInsert,SERVER) F(TON_fnc_getID,SERVER) F(spawn,SERVER) F(call,SERVER) F(hideobjectglobal,SERVER) F(ls_rac_fnc_zeus,SERVER) F(db_fnc_getgarage,SERVER) F(asn_fnc_controlpanel,SERVER) F(bis_fnc_curatorrespawn,SERVER) F(db_fnc_getdata,SERVER) F(db_fnc_log,SERVER) F(bis_fnc_sharedobjectives,SERVER) F(bis_fnc_execvm,SERVER) F(bis_fnc_endmission,SERVER) F(life_fnc_jailSys,SERVER) F(life_fnc_wantedRemove,ANYONE) F(life_fnc_wantedAdd,ANYONE) F(life_fnc_wantedUpdateInfo,ANYONE) F(TON_fnc_insertGang,SERVER) F(TON_fnc_removeGang,SERVER) F(TON_fnc_updateGang,ANYONE) F(TON_fnc_updateHouseTrunk,ANYONE) F(TON_fnc_sellHouse,SERVER) F(TON_fnc_managesc,SERVER) F(TON_fnc_spikeStrip,SERVER) F(TON_fnc_gooffduty,SERVER) F(DB_fnc_queryRequest,SERVER) F(DB_fnc_insertRequest,SERVER) F(TON_fnc_chopShopSellServer,SERVER) F(TON_fnc_setObjVar,SERVER) F(TON_fnc_vehicleDelete,ANYONE) F(TON_fnc_getimpoundedvehicles,SERVER) F(TON_fnc_vehicleAlarm,SERVER) F(TON_fnc_vehicleImpound,SERVER) F(SPY_fnc_observe,SERVER) F(TON_fnc_pickupAction,SERVER) F(TON_fnc_cleanupRequest,SERVER) F(TON_fnc_updateHouseContainers,ANYONE) F(TON_fnc_vehicleCreate,SERVER) F(TON_fnc_addHouse,ANYONE) F(TON_fnc_addContainer,ANYONE) F(TON_fnc_sellHouseContainer,SERVER) F(TON_fnc_deleteDBContainer,ANYONE) F(TON_fnc_changeVehOwner,SERVER) F(TON_fnc_updateFuelStation,ANYONE) F(DB_fnc_saveRequest,ANYONE) F(DB_fnc_createGrower,SERVER) F(DB_fnc_setGrowerProduct,ANYONE) F(DB_fnc_maintainGrower,ANYONE) F(DB_fnc_createLaptime,ANYONE) F(DB_fnc_queryLaptimes,ANYONE) F(TON_fnc_addMember,ANYONE) F(DB_fnc_addToHousing,ANYONE) F(life_fnc_jailTimer,SERVER) F(AR_Hide_Object_Global,SERVER) F(AUR_Hide_Object_Global,SERVER) F(AR_Enable_Rappelling_Animation,SERVER) F(AUR_Enable_Rappelling_Animation_Global,SERVER) F(AR_Rappel_From_Heli,SERVER) F(AUR_Play_Rappelling_Sounds_Global,SERVER) F(DB_fnc_updateVehicle,SERVER) F(DB_fnc_handleLicense,ANYONE) F(DB_fnc_handleskill,ANYONE) F(TON_fnc_getPrices,ANYONE) F(TON_fnc_registerSale,SERVER) F(TON_fnc_contractRequest,SERVER) F(TON_fnc_robShops,SERVER) F(TON_fnc_shopState,SERVER) F(TON_fnc_playerLogged,SERVER) F(TON_fnc_getUpdate,SERVER) F(TON_fnc_getPlate,SERVER) F(TON_fnc_updateMaintenance,ANYONE) F(TON_fnc_growerMaintain,SERVER) F(TON_fnc_upgradeContainerServer,ANYONE) F(TON_fnc_getOwnerPlate,SERVER) F(DB_fnc_loadContainer,ANYONE) F(DB_fnc_updateContainer,ANYONE) F(DB_fnc_updateContainerItems,ANYONE) F(DB_fnc_invalidatePlayerGroup,SERVER) F(TON_fnc_updateVehicleInsurance, ANYONE) F(TON_fnc_updateGangAccount, SERVER) F(TON_fnc_sellhouseserver,SERVER) F(TON_fnc_changeHqOwner, SERVER) F(TON_fnc_handleHqHp, ANYONE) F(TON_fnc_handleHqUpgrade, SERVER) F(TON_fnc_getDailyQuest, SERVER) /* Functions for everyone */ F(life_fnc_broadcast,ANYONE) F(life_fnc_animSync,ANYONE) F(life_fnc_demoChargeTimer,ANYONE) F(life_fnc_corpse,ANYONE) F(life_fnc_colorVehicle,ANYONE) F(life_fnc_lockVehicleRemote,ANYONE) F(life_fnc_jumpFnc,ANYONE) F(SPY_fnc_notifyAdmins,ANYONE) F(life_fnc_setFuel,ANYONE) F(life_fnc_pushFunction,ANYONE) F(life_fnc_simDisable,ANYONE) F(AR_Client_Rappel_From_Heli,ANYONE) F(murshun_cigs_fnc_smoke,ANYONE) F(murshun_cigs_fnc_start_cig,ANYONE) F(murshun_cigs_fnc_effect,ANYONE) F(RL_fnc_setnumber,ANYONE) F(RL_fnc_Acept_Call,ANYONE) F(life_fnc_update,ANYONE) F(life_fnc_smartphone,ANYONE) F(life_fnc_robShops2,ANYONE) F(life_fnc_shopState,ANYONE) F(life_fnc_createMarker,ANYONE) F(TON_fnc_changePrice,ANYONE) F(life_fnc_robHouseMarker,ANYONE) F(TON_fnc_handleMessages,ANYONE) F(TON_fnc_msgRequest,ANYONE) F(TON_fnc_cleanupMessages,ANYONE) F(life_fnc_vehicleEmpd,ANYONE) F(life_fnc_vehicleWarned,ANYONE) F(life_fnc_finishRide,ANYONE) F(life_fnc_respond,ANYONE) F(life_fnc_aufRequest,ANYONE) F(life_fnc_healLegs,ANYONE) F(life_fnc_hideObject,ANYONE) F(life_fnc_chopShopSellCallback,ANYONE) F(rl_fnc_Sirene,ANYONE) F(TON_fnc_keyManagement,ANYONE) F(life_fnc_say3d,ANYONE) F(san_fnc_toggleheadlamp,ANYONE) F(san_fnc_sendjipinfo,ANYONE) F(RL_main_fnc_hintsystem,ANYONE) F(RL_main_fnc_findCursorTarget,ANYONE) F(RL_main_fnc_progressBar,ANYONE) F(BIS_fnc_holdActionAdd,ANYONE) F(bis_fnc_setidentity,ANYONE) F(life_fnc_hint,ANYONE) F(life_fnc_aceTuningReceive,ANYONE) F(RL_Items_fnc_radarEffectsClient, ANYONE) F(RL_fnc_ventricular_fibrillation,ANYONE) F(life_fnc_rearrangePatientEH,ANYONE) F(bis_fnc_debugconsoleexec,ANYONE) //Flossen weg von dieser Zeile, gilt auch für dich BENE! F(life_fnc_setPlate,ANYONE) F(BIS_fnc_effectKilledAirDestruction,ANYONE) F(BIS_fnc_effectKilledSecondaries,ANYONE) F(BIS_fnc_objectVar,ANYONE) F(BIS_fnc_setCustomSoundController,ANYONE) F(TON_fnc_queryVehicleCertificate,ANYONE) F(TON_fnc_insertVehicleCertificate,ANYONE) F(RL_fnc_playSound,ANYONE) // HC Stuff F(DB_fnc_insertRental,ANYONE) F(life_fnc_wantedCrimes,ANYONE) F(life_fnc_wantedFetch,ANYONE) F(DB_fnc_getPlate,ANYONE) F(TON_fnc_getGangAccount, ANYONE) F(TON_fnc_serverConnectionCheck, ANYONE) F(TON_fnc_spawnVehicle,ANYONE) F(TON_fnc_getVehicles, ANYONE) F(DB_fnc_updatePublicProject,ANYONE) F(TON_fnc_handleProcessFee,ANYONE) F(DB_fnc_logCustom,ANYONE) F(DB_fnc_logTempGroup,ANYONE) F(DB_fnc_insertLotteryTicket, ANYONE) F(DB_fnc_getLotteryPrice, ANYONE) F(DB_fnc_updateSlotMachine,ANYONE) F(SPY_fnc_cookieJar,ANYONE) F(db_fnc_updatecrafting, ANYONE) F(DB_fnc_updateRequest,ANYONE) F(DB_fnc_updatePartial,ANYONE) F(DB_fnc_updateAchievements,ANYONE) F(DB_fnc_playerShopEntries, ANYONE) F(DB_fnc_playerShopSell, ANYONE) F(DB_fnc_playerShopRetrieve, ANYONE) F(life_fnc_camperSmoke,ANYONE) F(db_fnc_deletephone,ANYONE) F(db_fnc_insertphone,ANYONE) F(DB_fnc_updateRental,ANYONE) F(DB_fnc_handleCompanyMember, ANYONE) F(DB_fnc_loadCompanies, ANYONE) F(DB_fnc_loadCompany, ANYONE) F(DB_fnc_queryPlayerCompanies, ANYONE) F(DB_fnc_updateCompany, ANYONE) F(DB_fnc_disableCompany, ANYONE) F(TON_fnc_vehicleStore,ANYONE) F(DB_fnc_updateBankAccount, ANYONE) F(DB_fnc_updateBankAccountTransaction, ANYONE) F(DB_fnc_updateBankPermission, ANYONE) F(DB_fnc_listBankPermission, ANYONE) F(DB_fnc_harvestGrower, ANYONE) F(db_fnc_deletegrower, ANYONE) F(TON_fnc_checkPlate,ANYONE) F(DB_fnc_bankWithdraw, ANYONE) F(DB_fnc_getBankAccount, ANYONE) F(DB_fnc_wireTransfer,ANYONE) F(DB_fnc_createCompany, ANYONE) F(TON_fnc_closeBox, ANYONE) // Gyro Functions F(rl_vehicles_car_functions_fnc_cop_gyro, ANYONE) F(rl_vehicles_car_functions_fnc_cop_gyro_light, ANYONE) F(rl_vehicles_car_functions_fnc_cop_dir_light, ANYONE) F(rl_vehicles_car_functions_fnc_cop_matrix_sign_1, ANYONE) F(rl_vehicles_car_functions_fnc_justiz_gyro, ANYONE) F(rl_vehicles_car_functions_fnc_justiz_gyro_advanced, ANYONE) F(rl_vehicles_car_functions_fnc_justiz_dir_light, ANYONE) F(rl_vehicles_car_functions_fnc_justiz_gyro_yellow, ANYONE) F(rl_vehicles_car_functions_fnc_justiz_gyro_advanced_yellow, ANYONE) F(rl_vehicles_car_functions_fnc_med_gyro, ANYONE) F(rl_vehicles_car_functions_fnc_med_gyro_light, ANYONE) F(rl_vehicles_car_functions_fnc_med_gyro_extra, ANYONE) F(rl_vehicles_car_functions_fnc_med_dir_light, ANYONE) F(rl_vehicles_car_functions_fnc_med_dir_light_rtw, ANYONE) F(rl_vehicles_car_functions_fnc_med_EL_light, ANYONE) F(rl_vehicles_car_functions_fnc_med_matrix_sign_1, ANYONE) F(rl_vehicles_car_functions_fnc_rac_gyro, ANYONE) F(rl_vehicles_car_functions_fnc_rac_dir_light, ANYONE) F(rl_vehicles_car_functions_fnc_rac_dir_advanced, ANYONE) F(rl_vehicles_car_functions_fnc_matrix_dir, ANYONE) F(rl_vehicles_car_functions_fnc_matrix_gyro, ANYONE) F(rl_vehicles_car_functions_fnc_matrix_led_sign, ANYONE) F(rl_vehicles_car_functions_fnc_sc_gyro, ANYONE) F(rl_vehicles_car_functions_fnc_sc_gyro_light, ANYONE) F(rl_vehicles_car_functions_fnc_indicator_left, ANYONE) F(rl_vehicles_car_functions_fnc_indicator_right, ANYONE) F(rl_vehicles_car_functions_fnc_indicator_hazard, ANYONE) }; class Commands { mode = 1; jip = 0; F(setFuel,ANYONE) F(addWeapon,ANYONE) F(addMagazine,ANYONE) F(addPrimaryWeaponItem,ANYONE) F(addHandgunItem,ANYONE) F(switchmove,ANYONE) F(say3d,ANYONE) F(addAction,ANYONE) F(hint,ANYONE) F(hintSilent,ANYONE) F(action,ANYONE) F(deleteVehicle,ANYONE) F(lock,ANYONE) F(setVariable, ANYONE) F(playSound, ANYONE) F(clearItemCargoGlobal,ANYONE) F(clearMagazineCargoGlobal,ANYONE) F(clearWeaponCargoGlobal,ANYONE) F(clearBackpackCargoGlobal,ANYONE) }; };