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

        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.


Independent Helper
  • Content count

  • Joined

  • Last visited

Community Reputation

3 Neutral

About xAndreei

  • Rank

Personal Information

  • Country

Recent Profile Visitors

310 profile views
  1. Debug

    11.4 seconds of google results: https://steamcommunity.com/app/107410/discussions/16/458605613410856601/ https://forums.bohemia.net/forums/topic/150019-a-way-to-change-game-time-while-the-mission-is-running/
  2. Debug

  3. Med skin

    It can be found here: A3_Characters_F_Orange So the pbo should be like character_f_orange or something similar

  5. 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.
  6. HUD question

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

    or even better, use numbers instead of a string
  8. 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.
  9. 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.
  10. 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?
  11. 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.
  12. 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.
  13. 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;
  14. 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.