Welcome to Altis Life RPG

Register now to gain access to all of our features.
Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.


Note that you can now sign-in with your Steam account.


This message will be removed once you have signed in.

  • Announcements

    • Rozo

      Donations   09/18/2016

      Hello,
        We've added a donation block on the right side. All of those donation goes directly to the developer of Altis Life mod ( currently BoGuu ). None of that money is used to maintain the forum. In the future we might add a donation button to support the forum, but for now we want to encourage the developer because they went through a lot. To discuss this topic - Here
    • Shakir Darwish

      IS YOUR SERVER BROKEN SINCE 1.64 UPDATE?   09/22/2016

      If your server is broken since 1.64 go check this link thanks. https://github.com/AsYetUntitled/Framework/issues/104
    • Rozo

      Sad Day   01/04/2017

      Good evening community of Altis Life RPG, Today was a sad day. We learned the hard way that one of the helper was using his status and visibility on the forum to do things i wouldn't imagine.  We were warned about this user in the beginning, we talked about his behavior and he said that they were things of the past. We were fooled.
      Unfortunately, he fooled other community members by selling stolen content and impersonating his role as a developer in another community. Here's a remember of one of the rules on our forum, No selling scripts, snippets, or services.   So if anyone come across someone who's selling his services, scripts or whatever, Report them. Especially if it's coming from an Helper, Mod, Admin. No one in the staff should ask for money, we already mention this when we reopened the forum and that rule is here to stay.

      We can't be sorry enough for what happen here, for any harm it as caused among other communities, for money that shouldn't been spent and we truly hope this doesn't happen again.

      As for the user in question, he is now banned from our forum and discord and we wish to never cross his path again.
        If there's anything we can do hit us on Discord or send a message to an admin.
      Thanks, Rozo.

StonerGaming

Members
  • Content count

    380
  • Joined

  • Last visited

Everything posted by StonerGaming

  1. no I just seen it in other servers before
  2. bottom of the screen in the middle
  3. Author: StonerGaming Credits: AlaskaVet Step 1. Open Config_VItems.hpp. Add class medmarijuana { name = "STR_Shops_Marijuana"; side = "civ"; license = "medmarijuana"; level[] = { "", "", -1, "" }; items[] = { "medmarijuana" }; }; Step 2. Open Config_VItems.hpp. Add class medmarijuana { variable = "medmarijuana"; displayName = "STR_Item_MedMarijuana"; weight = 3; buyPrice = 2800; sellPrice = -1; illegal = false; edible = -1; icon = "icons\ico_marijuana.paa"; }; Step 4. Open Config_License.hpp. Add class medmarijuana { variable = "medmarijuana"; displayName = "STR_License_Marijuana"; price = 15000; illegal = false; side = "civ"; }; Step 5. Open stringtable.xml. Add <Key ID="STR_Shops_Marijauna"> <Original>Medical Marijuana Dispensary</Original> </Key> <Key ID="STR_License_Marijuana"> <Original>Medical Marijuana License</Original> </Key> <Key ID="STR_Item_MedMarijuana"> <Original>Medical Marijuana</Original> </Key> Step 6. Open mission.sqm in A3 Editor, Place a npc. add in the init. this allowDamage false; this addAction[format ["%1 ($%2)",localize (getText(missionConfigFile >> "Licenses" >> "medmarijuana" >> "displayName")), [(getNumber(missionConfigFile >> "Licenses" >> "medmarijuana" >> "price"))] call life_fnc_numberText],life_fnc_buyLicense,"medmarijuana",0,false,false,"",' !license_civ_medmarijuana && playerSide isEqualTo civilian ']; If you want to be able to use the marijuana, follow this tutorial with one change In fn_useitem.sqf. add case (_item isEqualTo "medmarijuana"): { if(([false,_item,1] call life_fnc_handleInv)) then { [] spawn life_fnc_marijuana; }; };
  4. wrong location. use the server scripting and help desk
  5. @Dave650 fn_restrainaction.sqf #include "..\..\script_macros.hpp" /* File: fn_restrainAction.sqf Author: Bryan "Tonic" Boardwine Description: Restrains the target. */ private ["_unit"]; _unit = cursorObject; if (isNull _unit) exitWith {}; //Not valid if (player distance _unit > 3) exitWith {}; if (_unit getVariable "restrained") exitWith {}; if (side _unit isEqualTo west) exitWith {}; if (player isEqualTo _unit) exitWith {}; if(!([false,"handcuff",1] call life_fnc_handleInv)) exitWith { hint "You dont have Handcuffs"; }; [true,"handcuff",1] call life_fnc_handleInv; //Remove this if you don't want it to give the handcuffs back after restraining. (I added it because IRL you would get the cuffs back after taking them off....) if (!isPlayer _unit) exitWith {}; //Broadcast! _unit setVariable ["restrained",true,true]; [player] remoteExec ["life_fnc_restrain",_unit]; [0,"STR_NOTF_Restrained",true,[_unit getVariable ["realname", name _unit], profileName]] remoteExecCall ["life_fnc_broadcast",west]; fn_unrestrain.sqf #include "..\..\script_macros.hpp" /* File: fn_unrestrain.sqf Author: Description: */ private ["_unit"]; _unit = param [0,objNull,[objNull]]; if(!([false,"keys",1] call life_fnc_handleInv)) exitWith { hint "You dont have Handcuff key's"; }; [true,"keys",1] call life_fnc_handleInv; // Remove if you want the keys a one time use. if (isNull _unit || !(_unit getVariable ["restrained",false])) exitWith {}; //Error check? _unit setVariable ["restrained",false,true]; _unit setVariable ["Escorting",false,true]; _unit setVariable ["transporting",false,true]; _unit setVariable["tied", nil, true]; _unit setVariable["gagged",false,true]; _unit setVariable["blindfolded", nil, true]; detach _unit; [0,"STR_NOTF_Unrestrain",true,[_unit getVariable ["realname",name _unit], profileName]] remoteExecCall ["life_fnc_broadcast",west];
  6. everything showed up in the y menu
  7. 4.4r4
  8. didn't work at all. I tried without handcuffs to get the broadcasted message. that didn't pop up. than tried with the handcuff still didn't work.
  9. some reason it completely didn't work for me. I tredi shift+r even told them to put their hands up still didn't work
  10. had one issue. The vitems were showing a error. so I rewrote the code. heres a fixed version class handcuffs { variable = "handcuffs"; displayName = "STR_Item_lol"; weight = 1; buyPrice = 25; sellPrice = -1; illegal = false; edible = -1; icon = "icons\cuffs.paa"; }; class keys { variable = "keys"; displayName = "STR_Item_Keys"; weight = 1; buyPrice = 25; sellPrice = -1; illegal = false; edible = -1; icon = "icons\icon_keys.paa"; }; and the icons didn't show up
  11. Author: MrKraken Difficulty: Easy Source: Altisliferpg.com (cache recovery) Let's Get Started First navigate to the core folder then the functions folder, Create a file calledfn_robATM.sqf and paste /* file: fn_robATM.sqf Author: MrKraken Made from MrKrakens bare-bones shop robbing tutorial on www.altisliferpg.com forums Description: Executes the rob shob action! Idea developed by PEpwnzya v1.0 */ private["_robber","_shop","_kassa","_ui","_progress","_pgText","_cP","_rip","_pos"]; _shop = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param; //The object that has the action attached to it is _this. ,0, is the index of object, ObjNull is the default should there be nothing in the parameter or it's broken _robber = [_this,1,ObjNull,[ObjNull]] call BIS_fnc_param; //Can you guess? Alright, it's the player, or the "caller". The object is 0, the person activating the object is 1 //_kassa = 1000; //The amount the shop has to rob, you could make this a parameter of the call (https://community.bi.../wiki/addAction). Give it a try and post below ;) _action = [_this,2] call BIS_fnc_param;//Action name if(side _robber != civilian) exitWith { hint "You can not rob this ATM!" }; if(_robber distance _shop > 2) exitWith { hint "You need to be within 2m of the ATM!" }; if !(_kassa) then { _kassa = 1000; }; if (_rip) exitWith { hint "Robbery already in progress!" }; if (vehicle player != _robber) exitWith { hint "Get out of your vehicle!" }; if !(alive _robber) exitWith {}; if(!([false,"boltcutter",1] call life_fnc_handleInv)) exitWith {"You dont have Boltcutter's"}; if (_kassa == 0) exitWith { hint "There is no cash in the register!" }; _rip = true; _kassa = 20000 + round(random 30000); _shop removeAction _action; _shop switchMove "AmovPercMstpSsurWnonDnon"; _chance = random(100); if(_chance >= 85) then { hint "The ATM has a silent alarm, police has been alerted!"; [[1,format["ALARM! - ATM: %1 is being robbed!", _shop]],"life_fnc_broadcast",west,false] spawn life_fnc_MP; }; _cops = (west countSide playableUnits); if(_cops < 2) exitWith{[[_vault,-1],"disableSerialization;",false,false] spawn life_fnc_MP; hint "There isnt enough Police to rob the ATM!";}; disableSerialization; 5 cutRsc ["life_progress","PLAIN"]; _ui = uiNameSpace getVariable "life_progress"; _progress = _ui displayCtrl 38201; _pgText = _ui displayCtrl 38202; _pgText ctrlSetText format["Robbery in Progress, stay close (2m) (1%1)...","%"]; _progress progressSetPosition 0.01; _cP = 0.01; if(_rip) then { while{true} do { sleep 0.85; _cP = _cP + 0.01; _progress progressSetPosition _cP; _pgText ctrlSetText format["Robbery in Progress, stay close (2m) (%1%2)...",round(_cP * 100),"%"]; _Pos = position player; // by ehno: get player pos _marker = createMarker ["Marker200", _Pos]; //by ehno: Place a Maker on the map "Marker200" setMarkerColor "ColorRed"; "Marker200" setMarkerText "!ATTENTION! robbery !ATTENTION!"; "Marker200" setMarkerType "mil_warning"; if(_cP >= 1) exitWith {}; if(_robber distance _shop > 2.5) exitWith { }; if!(alive _robber) exitWith {}; }; if!(alive _robber) exitWith { _rip = false; }; if(_robber distance _shop > 2.5) exitWith { deleteMarker "Marker200"; _shop switchMove ""; hint "You need to stay within 2m to Rob ATM! - Now the ATM is locked."; 5 cutText ["","PLAIN"]; _rip = false; }; 5 cutText ["","PLAIN"]; titleText[format["You have stolen $%1, now get away before the cops arrive!",[_kassa] call life_fnc_numberText],"PLAIN"]; deleteMarker "Marker200"; // by ehno delete maker life_cash = life_cash + _kassa; _rip = false; life_use_atm = false; sleep (30 + random(180)); life_use_atm = true; if!(alive _robber) exitWith {}; [getPlayerUID _robber,name _robber,"211"]remoteExec["life_fnc_wantedAdd",false,false] }; sleep 300; _action = _shop addAction["Rob the ATM",life_fnc_robATM]; _shop switchMove ""; Second open Functions.hpp in root directory and paste under class functions class robATM {}; Third open your mission.sqm in Editor and add below to the ATM's this addAction["Rob the ATM",life_fnc_robATM]; Now You Are Finished.
  12. I guess they can Altis is a strange place. explains the arms I seen when robbing an atm
  13. its not my script, I updated it
  14. I never had the issue with that before
  15. yes you can
  16. never happened to me
  17. try contacting the mod creator about it, I never had any issue like that when I was running a modded server
  18. that's pretty weird. did you test it with the default vehicles or a different modded vehicle
  19. its for 4.4 and higher
  20. they would have to adjust volume for them to hear people
  21. that's weird, the vehicles might be out of date
  22. join my teamspeak 216.105.171.14:9991
  23. you could try phpmyadmin. Here's a link https://www.phpmyadmin.net/
  24. I can do it for you, I have taken the Altis life and put it onto the Australia terrain.
  25. jail

    put sand bags around the dome, that will stop people from glitching out. I don't know a way to teleport someone into prison once they try to escape though.