-
Posts
527 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Articles
Posts posted by Sukkaed
-
-
To bottom of server_functions.
if (isServer) then { [] spawn { waitUntil {!(isNil "sm_done")}; _lastFPS = diag_tickTime; while {true} do { if ((diag_tickTime - _lastFPS) > 600) then { _lastFPS = diag_tickTime; _logFPS = format ["DEBUG FPS : %1 OBJECTS: %2 : PLAYERS: %3", diag_fps,(count (allMissionObjects "")),(playersNumber west)]; diag_log (_logFPS); }; }; }; };
-
I can make something like that to update based on query.
Give me some time and I'll look into getting the query code done as this is sql sided and not server sided.
Right, we could check latest date stamp from player login table and check corresponding player uid from banking data and delete if login older than x days?
-
Soul, can you add Last Updated field support to banking_data table so it can be cleaned.
-
You need to block the check wallet option if there is another player near.
-
You don't have _sounddist defined anywhere. Use this, where 20 is the distance.
private ["_vehicle","_status"]; _vehicle = _this select 0; _status = _this select 1; if (local _vehicle) then { if(_status) then { _vehicle setVehicleLock "LOCKED"; // _vehicle setVariable ["BTC_Cannot_Lift",true,true]; _vehicle setVariable ["R3F_LOG_disabled",true,true]; // _vehicle setVariable ["MF_Tow_Cannot_Tow",true,true]; titleText ["LOCKED = Can not be lifted or towed away","PLAIN DOWN"]; titleFadeOut 4; } else { _vehicle setVehicleLock "UNLOCKED"; // _vehicle setVariable ["BTC_Cannot_Lift",false,true]; _vehicle setVariable ["R3F_LOG_disabled",false,true]; // _vehicle setVariable ["MF_Tow_Cannot_Tow",false,true]; titleText ["UNLOCKED = Can be lifted or towed away","PLAIN DOWN"]; titleFadeOut 4; }; [nil, _vehicle, rSAY, "carLock", 20] call RE; };
-
:P You're welcome.
-
-
What is the difference between this and this -->
-
For sure it can be done but is there any good way to do it as I can only think of some while loop where you jump 1m after every 2m or something like that.
-
You would need to write your own code or find someone elses, right now there is nothing in place for what you are looking to change, someone correct me if I'm wrong.
I made a debug monitor like this, it just displays hero or bandit 1 to 5, we haven't got it to the state that it actually gives you benefits like faster runspeed though
How would you increase running speed?
-
AI's everywhere and 20 000 zombies lul. Good luck ;)
-
Better to not use removealleventhandlers or reapply your own after that. As far as I know there is no way to check alive EH's. I would avoid loops everytime when possible.
-
Remove it like this
removeEventHandler ["handleDamage",myEH_hd];
-
-
I've been using this.
disableSerialization; createDialog "RscFunctionsViewer"; _display = findDisplay 2929; _indexdis = 292905; _textTitle = _display displayctrl (_indexdis + 0); _textPath = _display displayctrl (_indexdis + 1); _textDesc = _display displayctrl (_indexdis + 2); _textCode = _display displayctrl (_indexdis + 3); _btnCopy = _display displayctrl (_indexdis + 4); _btnCopy2 = _display displayctrl (_indexdis + 5); _btnCopy3 = _display displayctrl (_indexdis + 6); _listFNCs = _display displayCtrl (_indexdis - 4); _listSRCs = _display displayCtrl (_indexdis - 3); _listTags = _display displayCtrl (_indexdis - 2); _listCats = _display displayCtrl (_indexdis - 1); _textTitle ctrlShow true;_textPath ctrlShow true;_textDesc ctrlShow true; _btnCopy ctrlShow true;_btnCopy2 ctrlShow true;_btnCopy3 ctrlShow true; _listFNCs ctrlShow false;_listSRCs ctrlShow false;_listTags ctrlShow false;_listCats ctrlShow false; _textCode ctrlSetTextColor [0.75,0,0,1]; _textCode ctrlSetFontHeight 0.0306; _textCode ctrlSetText ""; _textCode ctrlSetFont "EtelkaNarrowMediumPro"; _textCtrl = (ctrlPosition _textCode); _textCode ctrlSetPosition [(_textCtrl select 0) - 0.19, (_textCtrl select 1), (_textCtrl select 2), (_textCtrl select 3)]; _textCode ctrlCommit 0; _btnCopy ctrlSetText "Run"; _btnCopy ctrlSetTextColor [0,0,0,1]; _btnCopy ctrlSetFont "Zeppelin33"; _btnCopy buttonSetAction "_text = ctrlText 292908;call compile _text;"; _btnctrl = (ctrlPosition _btnCopy); _btnCopy ctrlSetPosition [(_btnctrl select 0) - 0.19, (_btnctrl select 1), (_btnctrl select 2), (_btnctrl select 3)]; _btnCopy ctrlCommit 0; _btnCopy2 ctrlSetText ""; _btnCopy2 ctrlSetTextColor [0,0,0,1]; _btnCopy2 ctrlSetFont "Zeppelin33"; _btnCopy2 buttonSetAction ""; _btn2ctrl = (ctrlPosition _btnCopy2); _btnCopy2 ctrlSetPosition [(_btn2ctrl select 0) - 0.19, (_btn2ctrl select 1), (_btn2ctrl select 2), (_btn2ctrl select 3)]; _btnCopy2 ctrlCommit 0; _btnCopy3 ctrlSetText "Close"; _btnCopy3 ctrlSetTextColor [0,0,0,1]; _btnCopy3 ctrlSetFont "Zeppelin33"; _btnCopy3 buttonSetAction "closeDialog 0;"; _btn3ctrl = (ctrlPosition _btnCopy3); _btnCopy3 ctrlSetPosition [(_btn3ctrl select 0) - 0.19, (_btn3ctrl select 1), (_btn3ctrl select 2), (_btn3ctrl select 3)]; _btnCopy3 ctrlCommit 0;
You can copy/paste and run any code in that while in game. Really easy to find text locations etc.
-
It's local variable and everything in that file is _intentory so I don't see that it could cause any problems.
-
I'm still on 103718 and I don't see any point of updating before commander supports steam servers or battleye stops working on 1.62.
-
-
-
First I get
Picture \z\addons\dayz_code\gui\dayz_logo_ca.paa not found
Then crash with
Include file z\addons\dayz_code\system\BIS_Effects\init.sqf not found.
:huh: :unsure:
-
You could shove this in there.
_ammo = [] + getArray (configFile >> "cfgWeapons" >> _crateweps >> "magazines"); _box addMagazineCargoGlobal (_ammo select 0);
-
Best way would be BIS_fnc_selectRandom.
_soda = ["ItemSodaRabbit","ItemSodaOrangeSherbet","ItemSodaLvg","ItemSodaClays","ItemSodaSmasht","ItemSodaPepsi","ItemSodaMdew","ItemSodaCoke","ItemSodaLemonade"] call BIS_fnc_selectRandom; player addMagazine _soda;
- MattL, Halvhjearne and Incar
- 3
-
Has anybody been working on the lightbar script part for the SUV? If so do you care to share it? I got a Rebel vs Police Force in my server and we sorta would like that!
Thanks
OtterNas3 has done it but as far as I know, it has not been released.
-
I would think that this gives nice performance boost?
Hancuff script help
in Scripting
Posted
Looks horribly wrong to me.
Here:
It's still same menu for both tho. I don't get your point. You just want to change the scroll wheel text?