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.

L00PY

Members
  • Content count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About L00PY

  • Rank
    Member
  1. Hi guys Theres a little problem in my fn_playertags I wanted to add Admin Playertags so in thE line 37: case (getPlayerUID player in ["MY UID",""]): {format ["<img image='images\icon2\ha.paa' size='1'></img> <t>[STAFF TEAM] %1</t>",name player];} There's a problem were when I join the server and a friend of mine(that is not in the player uid) basically he gets my name with the icon, I tested it with other people but basically other civilians get my playertag icons so I do not understand please help to fix. #include "..\..\script_macros.hpp" /* File: fn_playerTags.sqf Author: Bryan "Tonic" Boardwine Description: Adds the tags above other players heads when close and have visible range. */ if (!life_settings_tagson) exitWith {}; private ["_ui","_units","_masks"]; #define iconID 78000 #define scale 0.8 if (visibleMap || {!alive player} || {dialog}) exitWith { 500 cutText["","PLAIN"]; }; _ui = uiNamespace getVariable ["Life_HUD_nameTags",displayNull]; if (isNull _ui) then { 500 cutRsc["Life_HUD_nameTags","PLAIN"]; _ui = uiNamespace getVariable ["Life_HUD_nameTags",displayNull]; }; _units = nearestObjects[(visiblePosition player),["Man","Land_Pallet_MilBoxes_F","Land_Sink_F"],50]; _units = _units - [player]; _masks = LIFE_SETTINGS(getArray,"clothing_masks"); private _index = -1; { private "_text"; _idc = _ui displayCtrl (iconID + _forEachIndex); if (!(lineIntersects [eyePos player, eyePos _x, player, _x]) && alive _x && {!isNil {_x getVariable "realname"}}) then { _pos = switch (typeOf _x) do { case "Land_Pallet_MilBoxes_F": {[visiblePosition _x select 0, visiblePosition _x select 1, (getPosATL _x select 2) + 1.5]}; case "Land_Sink_F": {[visiblePosition _x select 0, visiblePosition _x select 1, (getPosATL _x select 2) + 2]}; default {[visiblePosition _x select 0, visiblePosition _x select 1, ((_x modelToWorld (_x selectionPosition "head")) select 2)+.5]}; }; _sPos = worldToScreen _pos; _distance = _pos distance player; if (!((headgear _x) in _masks || (goggles _x) in _masks || (uniform _x) in _masks)) then { if (count _sPos > 1 && {_distance < 15}) then { _text = switch (true) do { case (getPlayerUID player in ["MY UID",""]): {format ["<img image='images\icon2\ha.paa' size='1'></img> <t>[STAFF TEAM] %1</t>",name player];} THIS IS THE LINE I ADDED case (_x in (units group player) && playerSide isEqualTo civilian): {format ["<t color='#00FF00'>%1</t>",(_x getVariable ["realname",name _x])];}; case (side _x isEqualTo west && {!isNil {_x getVariable "rank"}}): {format ["<img image='%1' size='1'></img> %2",switch ((_x getVariable "rank")) do { case 2: {"images\cop\c2.paa"}; case 3: {"images\cop\c3.paa"}; case 4: {"images\cop\c4.paa"}; case 5: {"images\cop\c5.paa"}; case 6: {"images\cop\c6.paa"}; case 7: {"images\cop\c7.paa"}; case 8: {"images\cop\c8.paa"}; case 9: {"images\cop\c9.paa"}; case 10: {"images\cop\c10.paa"}; case 11: {"images\cop\c11.paa"}; default {"images\cop\c1.paa"}; //------------------ //------------------ },_x getVariable ["realname",name _x]]}; case (side _x isEqualTo independent): {format ["<t color='#FF0000'><img image='images\ems\ems.paa' size='1.5'></img></t> %1",_x getVariable ["realname",name _x]]}; default { if (!isNil {(group _x) getVariable "gang_name"}) then { format ["%1<br/><t size='0.8' color='#B6B6B6'>%2</t>",_x getVariable ["realname",name _x],(group _x) getVariable ["gang_name",""]]; } else { if (alive _x) then { _x getVariable ["realname",name _x]; } else { if (!isPlayer _x) then { _x getVariable ["realname","ERROR"]; }; }; }; }; }; _idc ctrlSetStructuredText parseText _text; _idc ctrlSetPosition [_sPos select 0, _sPos select 1, 0.4, 0.65]; _idc ctrlSetScale scale; _idc ctrlSetFade 0; _idc ctrlCommit 0; _idc ctrlShow true; } else { _idc ctrlShow false; }; } else { _idc ctrlShow false; }; } else { _idc ctrlShow false; }; _index = _forEachIndex; } forEach _units; (_ui displayCtrl (iconID + _index + 1)) ctrlSetStructuredText parseText "";
  2. Guys I get this error message with the dynamic market. I'm running AltisLife 5.0 and there is not errors I can find in the logs.
  3. Hey guys were can I insert adminranks icon in my playertags thanks . /* File: fn_playerTags.sqf Author: Bryan "Tonic" Boardwine Description: Adds the tags above other players heads when close and have visible range. */ if (!life_settings_tagson) exitWith {}; private ["_ui","_units","_masks"]; #define iconID 78000 #define scale 0.8 if (visibleMap || {!alive player} || {dialog}) exitWith { 500 cutText["","PLAIN"]; }; _ui = uiNamespace getVariable ["Life_HUD_nameTags",displayNull]; if (isNull _ui) then { 500 cutRsc["Life_HUD_nameTags","PLAIN"]; _ui = uiNamespace getVariable ["Life_HUD_nameTags",displayNull]; }; _units = nearestObjects[(visiblePosition player),["Man","Land_Pallet_MilBoxes_F","Land_Sink_F"],50]; _units = _units - [player]; _masks = LIFE_SETTINGS(getArray,"clothing_masks"); private _index = -1; { private "_text"; _idc = _ui displayCtrl (iconID + _forEachIndex); if (!(lineIntersects [eyePos player, eyePos _x, player, _x]) && alive _x && {!isNil {_x getVariable "realname"}}) then { _pos = switch (typeOf _x) do { case "Land_Pallet_MilBoxes_F": {[visiblePosition _x select 0, visiblePosition _x select 1, (getPosATL _x select 2) + 1.5]}; case "Land_Sink_F": {[visiblePosition _x select 0, visiblePosition _x select 1, (getPosATL _x select 2) + 2]}; default {[visiblePosition _x select 0, visiblePosition _x select 1, ((_x modelToWorld (_x selectionPosition "head")) select 2)+.5]}; }; _sPos = worldToScreen _pos; _distance = _pos distance player; if (!((headgear _x) in _masks || (goggles _x) in _masks || (uniform _x) in _masks)) then { if (count _sPos > 1 && {_distance < 15}) then { _text = switch (true) do { case (_x in (units group player) && playerSide isEqualTo civilian): {format ["<t color='#00FF00'>%1</t>",(_x getVariable ["realname",name _x])];}; case (side _x isEqualTo west && {!isNil {_x getVariable "rank"}}): {format ["<img image='%1' size='1'></img> %2",switch ((_x getVariable "rank")) do { case 2: {"images\cop\c2.paa"}; case 3: {"images\cop\c3.paa"}; case 4: {"images\cop\c4.paa"}; case 5: {"images\cop\c5.paa"}; case 6: {"images\cop\c6.paa"}; case 7: {"images\cop\c7.paa"}; case 8: {"images\cop\c8.paa"}; case 9: {"images\cop\c9.paa"}; case 10: {"images\cop\c10.paa"}; case 11: {"images\cop\c11.paa"}; default {"images\cop\c1.paa"}; //------------------ //------------------ },_x getVariable ["realname",name _x]]}; case (side _x isEqualTo independent): {format ["<t color='#FF0000'><img image='images\ems\ems.paa' size='1.5'></img></t> %1",_x getVariable ["realname",name _x]]}; default { if (!isNil {(group _x) getVariable "gang_name"}) then { format ["%1<br/><t size='0.8' color='#B6B6B6'>%2</t>",_x getVariable ["realname",name _x],(group _x) getVariable ["gang_name",""]]; } else { if (alive _x) then { _x getVariable ["realname",name _x]; } else { if (!isPlayer _x) then { _x getVariable ["realname","ERROR"]; }; }; }; }; }; _idc ctrlSetStructuredText parseText _text; _idc ctrlSetPosition [_sPos select 0, _sPos select 1, 0.4, 0.65]; _idc ctrlSetScale scale; _idc ctrlSetFade 0; _idc ctrlCommit 0; _idc ctrlShow true; } else { _idc ctrlShow false; }; } else { _idc ctrlShow false; }; } else { _idc ctrlShow false; }; _index = _forEachIndex; } forEach _units; (_ui displayCtrl (iconID + _index + 1)) ctrlSetStructuredText parseText "";
  4. Icons & Playertags

    Ok sorry I will close the post then.
  5. Icons & Playertags

    Hai can anybody send me a forum, site anything with good playertag icons thanks.
  6. I do know how to add cop ranks you have to go to the MySQL/phpadmin then players and cop then structures and cop ranks I reseted the server and it was not working properly.
  7. Hi I have tried deleting the the player accounts and it didn't work, how do I check the player variable,and then what do I do from that point thanks.
  8. 4.4 Altis you mean? Sorry I'm kinda noob.
  9. Hai guys I added a few cops ranks and stuff I reseted the server and I'm stuck on this message when I load in: Loading! ****** Don't Respawn(Reset Account)))
  10. [Tutorial] HUD 4.X UPDATED

    Hi I don't get by put the bellow images into the ini section please help.
  11. Professional Looking HUD

    Pease Help me it doesn't work
  12. Professional Looking HUD

    Guys for some reason it doesn't work,is there an error: Please tell me if you need the other 2 files #include "..\..\script_macros.hpp" //--------------------------------- //By Repentz //--------------------------------- #define INFINITE 1e+1000 #define IDC_LIFE_BAR_FOOD 2200 #define IDC_LIFE_BAR_FOOD_RING 3200 #define IDC_LIFE_BAR_WATER 2201 #define IDC_LIFE_BAR_WATER_RING 3201 #define IDC_LIFE_BAR_HEALTH 2202 #define IDC_LIFE_BAR_HEALTH_RING 3202 #define IDC_LIFE_BAR_Speaker 3007 //#define IDC_LIFE_BAR_SeatBelt 4203 disableSerialization; if(isNull LIFEdisplay) then {[] call life_fnc_hudSetup;}; //[LIFE_ID_PlayerTags,"onEachFrame"] call BIS_fnc_removeStackedEventHandler; LIFE_ID_PlayerTags = ["LIFE_PlayerTags","onEachFrame","life_fnc_playerTags"] call BIS_fnc_addStackedEventHandler; if(!isNil "life_seatbelt") then { if ( vehicle player != player ) then { if(life_seatbelt) then { LIFEctrl(IDC_LIFE_BAR_SeatBelt) ctrlSetText "\Altis_Life.Altis\textures\HUD\seatbeltOn.paa"; } else { LIFEctrl(IDC_LIFE_BAR_SeatBelt) ctrlSetText "\Altis_Life.Altis\textures\HUD\seatbeltOff.paa"; }; } else { LIFEctrl(IDC_LIFE_BAR_SeatBelt) ctrlSetText ""; }; }; if(!isNil "life_fadeSound") then { if(life_fadeSound) then { LIFEctrl(IDC_LIFE_BAR_Speaker) ctrlSetText "\Altis_Life.Altis\textures\HUD\earplugsY.paa"; } else { LIFEctrl(IDC_LIFE_BAR_Speaker) ctrlSetText "\Altis_Life.Altis\textures\HUD\earplugsN.paa"; }; }; if(!isNil "life_thirst") then { if (life_thirst <= 100) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water0.paa"; }; if (life_thirst <= 90) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water1.paa"; }; if (life_thirst <= 80) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water2.paa"; }; if (life_thirst <= 70) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water3.paa"; }; if (life_thirst <= 60) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water4.paa"; }; if (life_thirst <= 50) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water5.paa"; }; if (life_thirst <= 40) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water6.paa"; }; if (life_thirst <= 30) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water7.paa"; }; if (life_thirst <= 20) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water8.paa"; }; if (life_thirst <= 10) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water9.paa"; }; if (life_thirst <= 0) then { LIFEctrl(IDC_LIFE_BAR_WATER_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\water10.paa"; }; }; if (damage player >= 0) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health0.paa"; }; if (damage player >= 0.01) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health1.paa"; }; if (damage player >= 0.02) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health2.paa"; }; if (damage player >= 0.03) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health3.paa"; }; if (damage player >= 0.07) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health4.paa"; }; if (damage player >= 0.13) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health5.paa"; }; if (damage player >= 0.2) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health6.paa"; }; if (damage player >= 0.3) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health7.paa"; }; if (damage player >= 0.4) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health8.paa"; }; if (damage player >= 0.7) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health9.paa"; }; if (damage player >= 1) then { LIFEctrl(IDC_LIFE_BAR_HEALTH_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\health10.paa"; }; if(!isNil "life_hunger") then { if (life_hunger <= 100) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food0.paa"; }; if (life_hunger <= 90) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food1.paa"; }; if (life_hunger <= 80) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food2.paa"; }; if (life_hunger <= 70) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food3.paa"; }; if (life_hunger <= 60) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food4.paa"; }; if (life_hunger <= 50) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food5.paa"; }; if (life_hunger <= 40) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food6.paa"; }; if (life_hunger <= 30) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food7.paa"; }; if (life_hunger <= 20) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food8.paa"; }; if (life_hunger <= 10) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food9.paa"; }; if (life_hunger <= 0) then { LIFEctrl(IDC_LIFE_BAR_FOOD_RING) ctrlSetText "\Altis_Life.Altis\textures\HUD\food1.paa"; }; };
  13. ohhh I see ok thank you ill tell you if it works my bad
  14. I quoted you since I read your post,I putted it the script in my fn_playerTags.sqf but it still doesn't work. If you could tell me whats wrong my fn_playerTags.sqf thanks for helping again sorry.