Noordo Posted February 17, 2017 Share Posted February 17, 2017 vehicle player allowdamage false; for vehicle god mode? Quote Link to comment Share on other sites More sharing options...
Pesoen Posted February 22, 2017 Share Posted February 22, 2017 On 2/16/2017 at 9:11 PM, Noordo said: Yes please that would be wonderful! here you go, my files. Ammo menu does not work, and is commented out, something is wrong in there, but i did not fix it before buying infistar.. so still not sure what is wrong in it. Quote https://www.dropbox.com/sh/w9y9ixsult5mn7k/AAAaxiYbp1Mpckx0K7LAmJICa?dl=0 the original readme is included, and will help you set it all up(there is a forum link inside the readme where all is explained) bear in mind, this is modified, and some stuff is not used, be sure to download the original to see what changes i have done. and what i have removed. Quote Link to comment Share on other sites More sharing options...
immortalchaos Posted March 29, 2017 Share Posted March 29, 2017 (edited) So i cant figure out why when i do _toSpawn = "O_G_Quadbike_01_F" createVehicle position player; Regardless if i click local, global, or server, it spawns like 35 of whatever vehicle in? Edited March 29, 2017 by immortalchaos Quote Link to comment Share on other sites More sharing options...
yacobm8 Posted May 6, 2017 Share Posted May 6, 2017 (edited) On 3/29/2017 at 3:19 PM, immortalchaos said: So i cant figure out why when i do _toSpawn = "O_G_Quadbike_01_F" createVehicle position player; Regardless if i click local, global, or server, it spawns like 35 of whatever vehicle in? I was having the same problem. For future readers the reason you can't use the 'local exec', 'global exec', or 'server exec' and only the performance test button is because of the file CfgRemoteExec.hpp in the main folder of altis life. This file defines functions that are allowed to be used in Altis Life. SIMPLE FIX: Comment out everything inside of CfgRemoteExec.hpp (essentially deleting the file, I didn't want to delete it though incase it was referenced in another script.) Now you can go into your server and execute any command through the debug console using local exec, server exec and global exec. My CfgRemoteExec.hpp Spoiler /*#define F(NAME,TARGET) class NAME { \ allowedTargets = TARGET; \ }; #define ANYONE 0 #define CLIENT 1 #define SERVER 2 #define HC HC_Life class CfgRemoteExec { class Functions { mode = 0; jip = 0; /* Client only functions */ /* F(life_fnc_addVehicle2Chain,CLIENT) F(life_fnc_adminid,CLIENT) F(life_fnc_admininfo,CLIENT) F(life_fnc_bountyReceive,CLIENT) F(life_fnc_copLights,CLIENT) F(life_fnc_copSearch,CLIENT) F(life_fnc_copSiren,CLIENT) F(life_fnc_freezePlayer,CLIENT) F(life_fnc_gangCreated,CLIENT) F(life_fnc_gangDisbanded,CLIENT) F(life_fnc_gangInvite,CLIENT) F(life_fnc_garageRefund,CLIENT) F(life_fnc_giveDiff,CLIENT) F(life_fnc_hideObj,CLIENT) F(life_fnc_impoundMenu,CLIENT) F(life_fnc_jail,CLIENT) F(life_fnc_jailMe,CLIENT) F(life_fnc_knockedOut,CLIENT) F(life_fnc_licenseCheck,CLIENT) F(life_fnc_licensesRead,CLIENT) F(life_fnc_lightHouse,CLIENT) F(life_fnc_mediclights,CLIENT) F(life_fnc_medicRequest,CLIENT) F(life_fnc_medicSiren,CLIENT) F(life_fnc_moveIn,CLIENT) F(life_fnc_pickupItem,CLIENT) F(life_fnc_pickupMoney,CLIENT) F(life_fnc_receiveItem,CLIENT) F(life_fnc_receiveMoney,CLIENT) F(life_fnc_removeLicenses,CLIENT) F(life_fnc_restrain,CLIENT) F(life_fnc_revived,CLIENT) F(life_fnc_robPerson,CLIENT) F(life_fnc_robReceive,CLIENT) F(life_fnc_searchClient,CLIENT) F(life_fnc_seizeClient,CLIENT) F(life_fnc_soundDevice,CLIENT) F(life_fnc_spikeStripEffect,CLIENT) F(life_fnc_tazeSound,CLIENT) F(life_fnc_ticketPaid,CLIENT) F(life_fnc_ticketPrompt,CLIENT) F(life_fnc_vehicleAnimate,CLIENT) F(life_fnc_wantedList,CLIENT) F(life_fnc_wireTransfer,CLIENT) F(SOCK_fnc_dataQuery,CLIENT) F(SOCK_fnc_insertPlayerInfo,CLIENT) F(SOCK_fnc_requestReceived,CLIENT) F(SOCK_fnc_updateRequest,CLIENT) F(TON_fnc_clientGangKick,CLIENT) F(TON_fnc_clientGangLeader,CLIENT) F(TON_fnc_clientGangLeft,CLIENT) F(TON_fnc_clientGetKey,CLIENT) F(TON_fnc_clientMessage,CLIENT) F(TON_fnc_player_query,CLIENT) /* Server only functions */ /* F(BIS_fnc_execVM,SERVER) F(DB_fnc_insertRequest,SERVER) F(DB_fnc_queryRequest,SERVER) F(DB_fnc_updatePartial,SERVER) F(DB_fnc_updateRequest,SERVER) F(life_fnc_jailSys,SERVER) F(life_fnc_wantedAdd,SERVER) F(life_fnc_wantedBounty,SERVER) F(life_fnc_wantedCrimes,SERVER) F(life_fnc_wantedFetch,SERVER) F(life_fnc_wantedProfUpdate,SERVER) F(life_fnc_wantedRemove,SERVER) F(SPY_fnc_cookieJar,SERVER) F(SPY_fnc_observe,SERVER) F(TON_fnc_addContainer,SERVER) F(TON_fnc_addHouse,SERVER) F(TON_fnc_chopShopSell,SERVER) F(TON_fnc_cleanupRequest,SERVER) F(TON_fnc_deleteDBContainer,SERVER) F(TON_fnc_getID,SERVER) F(TON_fnc_getVehicles,SERVER) F(TON_fnc_insertGang,SERVER) F(TON_fnc_keyManagement,SERVER) F(TON_fnc_managesc,SERVER) F(TON_fnc_pickupAction,SERVER) F(TON_fnc_removeGang,SERVER) F(TON_fnc_sellHouse,SERVER) F(TON_fnc_sellHouseContainer,SERVER) F(TON_fnc_setObjVar,SERVER) F(TON_fnc_spawnVehicle,SERVER) F(TON_fnc_spikeStrip,SERVER) F(TON_fnc_updateGang,SERVER) F(TON_fnc_updateHouseContainers,SERVER) F(TON_fnc_updateHouseTrunk,SERVER) F(TON_fnc_vehicleCreate,SERVER) F(TON_fnc_vehicleDelete,SERVER) F(TON_fnc_vehicleStore,SERVER) F(TON_fnc_vehicleUpdate,SERVER) /* HeadlessClient only functions */ /* F(HC_fnc_addContainer,HC) F(HC_fnc_addHouse,HC) F(HC_fnc_chopShopSell,HC) F(HC_fnc_deleteDBContainer,HC) F(HC_fnc_getVehicles,HC) F(HC_fnc_insertGang,HC) F(HC_fnc_insertRequest,HC) F(HC_fnc_insertVehicle,HC) F(HC_fnc_jailSys,HC) F(HC_fnc_keyManagement,HC) F(HC_fnc_queryRequest,HC) F(HC_fnc_removeGang,HC) F(HC_fnc_sellHouse,HC) F(HC_fnc_sellHouseContainer,HC) F(HC_fnc_spawnVehicle,HC) F(HC_fnc_spikeStrip,HC) F(HC_fnc_updateGang,HC) F(HC_fnc_updateHouseContainers,HC) F(HC_fnc_updateHouseTrunk,HC) F(HC_fnc_updatePartial,HC) F(HC_fnc_updateRequest,HC) F(HC_fnc_vehicleCreate,HC) F(HC_fnc_vehicleDelete,HC) F(HC_fnc_vehicleStore,HC) F(HC_fnc_vehicleUpdate,HC) F(HC_fnc_wantedAdd,HC) F(HC_fnc_wantedBounty,HC) F(HC_fnc_wantedCrimes,HC) F(HC_fnc_wantedFetch,HC) F(HC_fnc_wantedProfUpdate,HC) F(HC_fnc_wantedRemove,HC) /* Functions for everyone */ /* F(BIS_fnc_effectKilledAirDestruction,ANYONE) F(BIS_fnc_effectKilledSecondaries,ANYONE) F(life_fnc_animSync,ANYONE) F(life_fnc_broadcast,ANYONE) F(life_fnc_colorVehicle,ANYONE) F(life_fnc_corpse,ANYONE) F(life_fnc_demoChargeTimer,ANYONE) F(life_fnc_flashbang,ANYONE) F(life_fnc_jumpFnc,ANYONE) F(life_fnc_lockVehicle,ANYONE) F(life_fnc_pulloutVeh,ANYONE) F(life_fnc_say3D,ANYONE) F(life_fnc_setFuel,ANYONE) F(life_fnc_simDisable,ANYONE) F(SPY_fnc_notifyAdmins,ANYONE) }; class Commands { mode = 0; jip = 0; F(addHandgunItem,ANYONE) F(addMagazine,ANYONE) F(addPrimaryWeaponItem,ANYONE) F(addWeapon,ANYONE) F(setFuel,ANYONE) }; }; */ ALTERNATIVELY ADD ANY VARIABLES/FUNCTIONS TO THE LIST OF ALLOWED ONES ALREADY THERE. Hope this helps others Edited May 6, 2017 by yacobm8 Quote Link to comment Share on other sites More sharing options...
J4Wx Posted May 6, 2017 Share Posted May 6, 2017 7 minutes ago, yacobm8 said: I was having the same problem. For future readers the reason you can't use the 'local exec', 'global exec', or 'server exec' and only the performance test button is because of the file CfgRemoteExec.hpp in the main folder of altis life. This file defines functions that are allowed to be used in Altis Life. SIMPLE FIX: Comment out everything inside of CfgRemoteExec.hpp (essentially deleting the file, I didn't want to delete it though incase it was referenced in another script.) Now you can go into your server and execute any command through the debug console using local exec, server exec and global exec. My CfgRemoteExec.hpp Reveal hidden contents /*#define F(NAME,TARGET) class NAME { \ allowedTargets = TARGET; \ }; #define ANYONE 0 #define CLIENT 1 #define SERVER 2 #define HC HC_Life class CfgRemoteExec { class Functions { mode = 0; jip = 0; /* Client only functions */ /* F(life_fnc_addVehicle2Chain,CLIENT) F(life_fnc_adminid,CLIENT) F(life_fnc_admininfo,CLIENT) F(life_fnc_bountyReceive,CLIENT) F(life_fnc_copLights,CLIENT) F(life_fnc_copSearch,CLIENT) F(life_fnc_copSiren,CLIENT) F(life_fnc_freezePlayer,CLIENT) F(life_fnc_gangCreated,CLIENT) F(life_fnc_gangDisbanded,CLIENT) F(life_fnc_gangInvite,CLIENT) F(life_fnc_garageRefund,CLIENT) F(life_fnc_giveDiff,CLIENT) F(life_fnc_hideObj,CLIENT) F(life_fnc_impoundMenu,CLIENT) F(life_fnc_jail,CLIENT) F(life_fnc_jailMe,CLIENT) F(life_fnc_knockedOut,CLIENT) F(life_fnc_licenseCheck,CLIENT) F(life_fnc_licensesRead,CLIENT) F(life_fnc_lightHouse,CLIENT) F(life_fnc_mediclights,CLIENT) F(life_fnc_medicRequest,CLIENT) F(life_fnc_medicSiren,CLIENT) F(life_fnc_moveIn,CLIENT) F(life_fnc_pickupItem,CLIENT) F(life_fnc_pickupMoney,CLIENT) F(life_fnc_receiveItem,CLIENT) F(life_fnc_receiveMoney,CLIENT) F(life_fnc_removeLicenses,CLIENT) F(life_fnc_restrain,CLIENT) F(life_fnc_revived,CLIENT) F(life_fnc_robPerson,CLIENT) F(life_fnc_robReceive,CLIENT) F(life_fnc_searchClient,CLIENT) F(life_fnc_seizeClient,CLIENT) F(life_fnc_soundDevice,CLIENT) F(life_fnc_spikeStripEffect,CLIENT) F(life_fnc_tazeSound,CLIENT) F(life_fnc_ticketPaid,CLIENT) F(life_fnc_ticketPrompt,CLIENT) F(life_fnc_vehicleAnimate,CLIENT) F(life_fnc_wantedList,CLIENT) F(life_fnc_wireTransfer,CLIENT) F(SOCK_fnc_dataQuery,CLIENT) F(SOCK_fnc_insertPlayerInfo,CLIENT) F(SOCK_fnc_requestReceived,CLIENT) F(SOCK_fnc_updateRequest,CLIENT) F(TON_fnc_clientGangKick,CLIENT) F(TON_fnc_clientGangLeader,CLIENT) F(TON_fnc_clientGangLeft,CLIENT) F(TON_fnc_clientGetKey,CLIENT) F(TON_fnc_clientMessage,CLIENT) F(TON_fnc_player_query,CLIENT) /* Server only functions */ /* F(BIS_fnc_execVM,SERVER) F(DB_fnc_insertRequest,SERVER) F(DB_fnc_queryRequest,SERVER) F(DB_fnc_updatePartial,SERVER) F(DB_fnc_updateRequest,SERVER) F(life_fnc_jailSys,SERVER) F(life_fnc_wantedAdd,SERVER) F(life_fnc_wantedBounty,SERVER) F(life_fnc_wantedCrimes,SERVER) F(life_fnc_wantedFetch,SERVER) F(life_fnc_wantedProfUpdate,SERVER) F(life_fnc_wantedRemove,SERVER) F(SPY_fnc_cookieJar,SERVER) F(SPY_fnc_observe,SERVER) F(TON_fnc_addContainer,SERVER) F(TON_fnc_addHouse,SERVER) F(TON_fnc_chopShopSell,SERVER) F(TON_fnc_cleanupRequest,SERVER) F(TON_fnc_deleteDBContainer,SERVER) F(TON_fnc_getID,SERVER) F(TON_fnc_getVehicles,SERVER) F(TON_fnc_insertGang,SERVER) F(TON_fnc_keyManagement,SERVER) F(TON_fnc_managesc,SERVER) F(TON_fnc_pickupAction,SERVER) F(TON_fnc_removeGang,SERVER) F(TON_fnc_sellHouse,SERVER) F(TON_fnc_sellHouseContainer,SERVER) F(TON_fnc_setObjVar,SERVER) F(TON_fnc_spawnVehicle,SERVER) F(TON_fnc_spikeStrip,SERVER) F(TON_fnc_updateGang,SERVER) F(TON_fnc_updateHouseContainers,SERVER) F(TON_fnc_updateHouseTrunk,SERVER) F(TON_fnc_vehicleCreate,SERVER) F(TON_fnc_vehicleDelete,SERVER) F(TON_fnc_vehicleStore,SERVER) F(TON_fnc_vehicleUpdate,SERVER) /* HeadlessClient only functions */ /* F(HC_fnc_addContainer,HC) F(HC_fnc_addHouse,HC) F(HC_fnc_chopShopSell,HC) F(HC_fnc_deleteDBContainer,HC) F(HC_fnc_getVehicles,HC) F(HC_fnc_insertGang,HC) F(HC_fnc_insertRequest,HC) F(HC_fnc_insertVehicle,HC) F(HC_fnc_jailSys,HC) F(HC_fnc_keyManagement,HC) F(HC_fnc_queryRequest,HC) F(HC_fnc_removeGang,HC) F(HC_fnc_sellHouse,HC) F(HC_fnc_sellHouseContainer,HC) F(HC_fnc_spawnVehicle,HC) F(HC_fnc_spikeStrip,HC) F(HC_fnc_updateGang,HC) F(HC_fnc_updateHouseContainers,HC) F(HC_fnc_updateHouseTrunk,HC) F(HC_fnc_updatePartial,HC) F(HC_fnc_updateRequest,HC) F(HC_fnc_vehicleCreate,HC) F(HC_fnc_vehicleDelete,HC) F(HC_fnc_vehicleStore,HC) F(HC_fnc_vehicleUpdate,HC) F(HC_fnc_wantedAdd,HC) F(HC_fnc_wantedBounty,HC) F(HC_fnc_wantedCrimes,HC) F(HC_fnc_wantedFetch,HC) F(HC_fnc_wantedProfUpdate,HC) F(HC_fnc_wantedRemove,HC) /* Functions for everyone */ /* F(BIS_fnc_effectKilledAirDestruction,ANYONE) F(BIS_fnc_effectKilledSecondaries,ANYONE) F(life_fnc_animSync,ANYONE) F(life_fnc_broadcast,ANYONE) F(life_fnc_colorVehicle,ANYONE) F(life_fnc_corpse,ANYONE) F(life_fnc_demoChargeTimer,ANYONE) F(life_fnc_flashbang,ANYONE) F(life_fnc_jumpFnc,ANYONE) F(life_fnc_lockVehicle,ANYONE) F(life_fnc_pulloutVeh,ANYONE) F(life_fnc_say3D,ANYONE) F(life_fnc_setFuel,ANYONE) F(life_fnc_simDisable,ANYONE) F(SPY_fnc_notifyAdmins,ANYONE) }; class Commands { mode = 0; jip = 0; F(addHandgunItem,ANYONE) F(addMagazine,ANYONE) F(addPrimaryWeaponItem,ANYONE) F(addWeapon,ANYONE) F(setFuel,ANYONE) }; }; */ ALTERNATIVELY ADD ANY VARIABLES/FUNCTIONS TO THE LIST OF ALLOWED ONES ALREADY THERE. Hope this helps others But be aware that this file is a security feature, as it prevents functions other than the one you specify from being called. 1 Quote Link to comment Share on other sites More sharing options...
JudiciaLL Posted August 22, 2017 Share Posted August 22, 2017 I am looking for someone who everyone give money in Arma 3 Altis Life. Quote Link to comment Share on other sites More sharing options...
jeffdog1999 Posted October 23, 2017 Share Posted October 23, 2017 none of these commands are working for me Quote Link to comment Share on other sites More sharing options...
Guest Posted October 23, 2017 Share Posted October 23, 2017 4 hours ago, jeffdog1999 said: none of these commands are working for me Tested and worked for me Quote Link to comment Share on other sites More sharing options...
jeffdog1999 Posted October 23, 2017 Share Posted October 23, 2017 iv tried editing some of the stuff in this and still doesnt work. i do have admin Quote Link to comment Share on other sites More sharing options...
bobinzx Posted October 31, 2017 Share Posted October 31, 2017 Is it no command for invincibility ? Quote Link to comment Share on other sites More sharing options...
silencedaxis Posted October 31, 2017 Share Posted October 31, 2017 @bobinzx the command for invincibility is player allowDamage false; Quote Link to comment Share on other sites More sharing options...
Not Brendan Posted March 10, 2018 Share Posted March 10, 2018 (edited) These commands do not work. I put in #login and such and successfully logged in but when i go to ESC and type in the commands and use local and the other 2 options , nothing happens. I use V 4.4r4 Edited March 10, 2018 by Not Brendan Quote Link to comment Share on other sites More sharing options...
Not Brendan Posted March 10, 2018 Share Posted March 10, 2018 12 minutes ago, Wackbatt said: You need to whitelist BIS_fnc_debugConsoleExec in your cfgremoteexec. New to arma and server hosting, how do i do that? the basic / or is it located somewhere else Quote Link to comment Share on other sites More sharing options...
Not Brendan Posted March 10, 2018 Share Posted March 10, 2018 7 minutes ago, Wackbatt said: https://github.com/Wackbatt/Framework/blob/master/Altis_Life.Altis/CfgRemoteExec.hpp#L148 add it somewhere there. I use a gameserver, idk where to locate that/ do I copy and paste the code into once I do find it? Quote Link to comment Share on other sites More sharing options...
Not Brendan Posted March 10, 2018 Share Posted March 10, 2018 21 minutes ago, Wackbatt said: It's in your mission file. how do i download this>? https://github.com/Wackbatt/Framework/blob/master/Altis_Life.Altis/CfgRemoteExec.hpp#L148 Quote Link to comment Share on other sites More sharing options...
Ryan101! Posted August 17, 2019 Share Posted August 17, 2019 On 9/12/2016 at 2:28 PM, suffer4real said: life_cash = 400000; How do I set someone else's cash to this Quote Link to comment Share on other sites More sharing options...
Berlin94xD! Posted August 30 Share Posted August 30 Hello, is there a command to give licenses to other players? Quote Link to comment Share on other sites More sharing options...
gustavseitztestarma3 Posted August 30 Share Posted August 30 (edited) You have to remoteExec the code, and if you have a listbox or something get those vars for LICENSE_VARNAME (for example "gun","civ") if (missionNamespace getVariable LICENSE_VARNAME("gun","civ")) then { missionNamespace setVariable [LICENSE_VARNAME("gun","civ"),false]; hint format ["Your license %1 has been removed",_YOURVAR]; } else { missionNamespace setVariable [LICENSE_VARNAME("gun","civ"),true]; hint format ["The license %1 has been added",_YOURVAR]; }; something like this. I know it's vague but it should give you an idea on how to do it, of course a bit of experience is needed. Edited August 30 by gustavseitztestarma3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.