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.

xAndreei

Members
  • Content count

    30
  • Joined

  • Last visited

Community Reputation

3 Neutral

About xAndreei

  • Rank
    Member

Recent Profile Visitors

188 profile views
  1. PLEASE READ -AVOID AT ALL COSTS!

    https://github.com/AsYetUntitled/Framework/pull/381
  2. Opinion Server parameter

    Adding a HC should do the trick if you don't have knowledge about scripting. If you are good at it, rewrite your mission file and life_server file from scratch.
  3. HUD question

    Then create a function which will set the life_threatLevel and then remoteExec it to all the players
  4. HUD question

    or even better, use numbers instead of a string
  5. HUD question

    Transfer switch (life_threatLevel) do { case "Green": { LIFEctrl(IDC_LIFE_BAR_THREAT) ctrlSetText "textures\HUD\green.paa" }; case "Amber": { LIFEctrl(IDC_LIFE_BAR_THREAT) ctrlSetText "textures\HUD\amber.paa" }; case "Red": { LIFEctrl(IDC_LIFE_BAR_THREAT) ctrlSetText "textures\HUD\red.paa" }; }; into hudUpdate.sqf Carefull to the remoteExec, there is no need to RE even to the server, change that to RCLIENT. When selecting the thread level, set your life_threatLevel and call life_fnc_hudUpdate. Also, if you do Ton_fnc_clientMessage, the cop side need 4 params, not 3.
  6. HUD question

    Also, for debugging purposes, you could just launch your function in the debug console by doing this. ["Red"] call life_fnc_updateThreatLevel And see if something changes on your HUD.
  7. HUD question

    You will not need anymore that code in your hudUpdate, everything you wrote in there is used by the function I created to you. Be sure to include in CfgRemoteExec the function: (life_fnc_updateThreatLevel,CLIENT). Also, by checking your rpt logs, there are some problems in a script where you use _message. Can I take a look at it?
  8. HUD question

    Then simply create a cop function which you are going to call it updateThreatLevel where you are going to put your code + call life_fnc_hudUpdate. ["Red"] remoteExecCall ["life_fnc_updateThreatLevel",RCLIENT] /* Author: DistantOne Description: threat update File: fn_updateThreadLevel.sqf */ params [ ["_level","",[""]] ]; if (_level isEqualTo "") exitWith {}; switch (_level) do { case "Green": { LIFEctrl(IDC_LIFE_BAR_THREAT) ctrlSetText "textures\HUD\green.paa"; }; case "Amber": { LIFEctrl(IDC_LIFE_BAR_THREAT) ctrlSetText "textures\HUD\amber.paa"; }; case "Red": { LIFEctrl(IDC_LIFE_BAR_THREAT) ctrlSetText "textures\HUD\red.paa"; }; }; [] call life_fnc_hudUpdate; Include script_macro and your macro and you are good to go.
  9. HUD question

    Negative, there is no sense in updating everyones hud only because of a player. If you want to do that and initialize your picture inside, put that into hudUpdate.sqf and you are done.
  10. HUD question

    You have to call the fn_hudUpdate only on the specifi scripts which are executed by that player. For example, ticketPay is a function which promps the player a dialog to pay the ticket, scripts like that can be used to update the player hud. [0,"STR_Cop_Ticket_PaidNOTF",true,[profileName,[life_ticket_val] call life_fnc_numberText]] remoteExecCall ["life_fnc_broadcast",west]; [1,"STR_Cop_Ticket_PaidNOTF_2",true,[profileName]] remoteExecCall ["life_fnc_broadcast",life_ticket_cop]; [life_ticket_val,player,life_ticket_cop] remoteExecCall ["life_fnc_ticketPaid",life_ticket_cop]; if (life_HC_isActive) then { [getPlayerUID player] remoteExecCall ["HC_fnc_wantedRemove",HC_Life]; } else { [getPlayerUID player] remoteExecCall ["life_fnc_wantedRemove",RSERV]; }; life_wantedCheck = false; [] call life_fnc_hudUpdate; closeDialog 0;
  11. HUD question

    I don't know if you are trying to make a wanted alert on your hud, but I will post my code that does it. fn_hudUpdate: switch (playerSide) do { case civilian: { LIFEctrl(23505) ctrlSetText "icons\statusbar\wanted.paa"; if (life_wantedCheck) then { LIFEctrl(23505) ctrlSetFade 0; } else { LIFEctrl(23505) ctrlSetFade 0.8; }; }; }; And then I only play with the life_wantedCheck variable whenever I need to, so for example, if the player gets added to the wanted list, I set that variable to true and then update his HUD. Follow the same thing where you would like to have an update to your HUD.
  12. npc script question

    The addaction will show up only if that condition results true. object addAction [title, script, arguments, priority, showWindow, hideOnUse, shortcut, condition, radius, unconscious, selection]
  13. xAndreei Application

    Tell us about yourself: What skills do you possess that you feel will help you do well as a helper? --> I always wanted to do something useful and help others achieving their needs in Arma 3. Currently I'm the main developer for a big Altis Life server in Italy and training my future partner to follow my steps Have you ever been banned/kicked ( if yes please specify why ) --> Nope Your date of birth: 4/10/1999 What's your experience with SQF and SQL languages, or other sorts of Arma related development? Studying IT and attending CySec University. Good knowledge of programming languages as well as SQL and Database management and 1 and a half year of SQF. What is the first thing you would like to change about the forums(Nothing? then NA) --> Helping people solving their problems through tips instead of giving them the script ready for use (spoon feeding) Do you have Discord? --> Yeah Do you have any problems working with other staff members? --> Nope, always worked with people. Why do you want to be a Helper? --> I always wanted to do something useful and help others achieving their needs in Arma 3. It's a honour for me helping other by giving tips and solutions to their scripting problems and also learning something new everyday. How would you deal with someone being rude towards members? --> Inform my superiors on what is going on. If you were to become a helper, would a moderator position be appealing to you as well in the future? --> Nah, I'm ok with the Helper charge, my goal is to help people.
  14. Limiting Bolt Cutter

    Delete these from your file: if (life_boltcutter_uses >= 5) then { [false,"boltcutter",1] call life_fnc_handleInv; life_boltcutter_uses = 0; }; And place this instead: if (!([false,"boltCutters",1] call life_fnc_handleInv)) exitWith {hint "You used the boltcutters";};