Well that works too. Gl.Works now, thank you!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Well that works too. Gl.Works now, thank you!
11:54:17 File z\addons\dayz_server\compile\server_updateObject.sqf, line 23
11:54:17 Error in expression < "0" && (vehicle _object getVariable [""Sarge"",0] != 1)) then {
_object_positio>
11:54:17 Error position: <Sarge"",0] != 1)) then {
_object_positio>
11:54:17 Error Missing ]
if (!_parachuteWest) then {
if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable [""Sarge"",0] != 1)) then {
_object_position = getPosATL _object;
diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", typeOf _object, _object_position select 0, _object_position select 1, _object_position select 2];
_isNotOk = true;
};
};
add this in above next page in each vehiclemenu, you need to change the #USER:VehicleMenu portion to link to the correct one tho:Meh, I tried didnt seem to work
["Previous page", [11], "#USER:VehicleMenu", -5, [["expression", ""]], "1", "1"],
VehicleMenu =
[
["",true],
["A10", [2], "", -5, [["expression", format[EXECscript5,"A10.sqf"]]], "1", "1"],
["Little Bird", [3], "", -5, [["expression", format[EXECscript5,"AH64.sqf"]]], "1", "1"],
["an2", [4], "", -5, [["expression", format[EXECscript5,"an2_prop.sqf"]]], "1", "1"],
["Apache", [5], "", -5, [["expression", format[EXECscript5,"APACHE.sqf"]]], "1", "1"],
["MTVR fors", [6], "", -5, [["expression", format[EXECscript5,"MTVRf.sqf"]]], "1", "1"],
["MTVR des", [7], "", -5, [["expression", format[EXECscript5,"MTVR.sqf"]]], "1", "1"],
["ATV", [8], "", -5, [["expression", format[EXECscript5,"ATV.sqf"]]], "1", "1"],
["Bike", [9], "", -5, [["expression", format[EXECscript5,"Bike.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Next page(2)", [12], "#USER:VehicleMenu2", -5, [["expression", ""]], "1", "1"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
VehicleMenu2 =
[
["",true],
["Bus", [2], "", -5, [["expression", format[EXECscript5,"bus.sqf"]]], "1", "1"],
["C130", [3], "", -5, [["expression", format[EXECscript5,"C130.sqf"]]], "1", "1"],
["Chinook", [4], "", -5, [["expression", format[EXECscript5,"chinook.sqf"]]], "1", "1"],
["Su39", [5], "", -5, [["expression", format[EXECscript5,"F35.sqf"]]], "1", "1"],
["Boat 1", [6], "", -5, [["expression", format[EXECscript5,"FISH.sqf"]]], "1", "1"],
["Boat 2", [7], "", -5, [["expression", format[EXECscript5,"FISH2.sqf"]]], "1", "1"],
["Boat 3", [8], "", -5, [["expression", format[EXECscript5,"FISH3.sqf"]]], "1", "1"],
["Gaz", [9], "", -5, [["expression", format[EXECscript5,"Gaz.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Previous page", [11], "#USER:VehicleMenu", -5, [["expression", ""]], "1", "1"],
["Next page (3)", [12], "#USER:VehicleMenu3", -5, [["expression", ""]], "1", "1"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
VehicleMenu3 =
[
["",true],
["Hatchback", [2], "", -5, [["expression", format[EXECscript5,"Hatchback.sqf"]]], "1", "1"],
["HMMV fors", [3], "", -5, [["expression", format[EXECscript5,"HMMV.sqf"]]], "1", "1"],
["HMMV des", [4], "", -5, [["expression", format[EXECscript5,"HMMV_Fallu.sqf"]]], "1", "1"],
["KA60 Namal", [5], "", -5, [["expression", format[EXECscript5,"KA60_namalsk.sqf"]]], "1", "1"],
["Red Lada", [6], "", -5, [["expression", format[EXECscript5,"ladared.sqf"]]], "1", "1"],
["White Lada", [7], "", -5, [["expression", format[EXECscript5,"Ladawhite.sqf"]]], "1", "1"],
["Little Bird", [8], "", -5, [["expression", format[EXECscript5,"littleBird.sqf"]]], "1", "1"],
["MI17", [9], "", -5, [["expression", format[EXECscript5,"MI17civ.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Previous page (2)", [11], "#USER:VehicleMenu2", -5, [["expression", ""]], "1", "1"],
["Next page (4)", [12], "#USER:VehicleMenu4", -5, [["expression", ""]], "1", "1"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
VehicleMenu4 =
[
["",true],
["MI24", [2], "", -5, [["expression", format[EXECscript5,"MI24.sqf"]]], "1", "1"],
["Mill Offroad", [3], "", -5, [["expression", format[EXECscript5,"militrayOffroad.sqf"]]], "1", "1"],
["UH60", [4], "", -5, [["expression", format[EXECscript5,"UH60.sqf"]]], "1", "1"],
["VW Golf", [5], "", -5, [["expression", format[EXECscript5,"miniHB.sqf"]]], "1", "1"],
["Moto", [6], "", -5, [["expression", format[EXECscript5,"Moto.sqf"]]], "1", "1"],
["Moto 2", [7], "", -5, [["expression", format[EXECscript5,"Moto2.sqf"]]], "1", "1"],
["Moto 3", [8], "", -5, [["expression", format[EXECscript5,"Moto3.sqf"]]], "1", "1"],
["Moto 4", [9], "", -5, [["expression", format[EXECscript5,"Moto4.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Previous page (3)", [11], "#USER:VehicleMenu3", -5, [["expression", ""]], "1", "1"],
["Next page (5)", [12], "#USER:VehicleMenu5", -5, [["expression", ""]], "1", "1"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
...
Works now, thank you!
ChangeHi, first things first. Script is pretty awesome. Using a modified version on my Emita Island Life server with everything dayz related commented. Everything works great but the esp/tele seems to completely jack up the hotkeys for the mod (tab, 1-0, e, t) so I just disabled that script.
It's pretty much perfect except on death after you respawn the mouse menu is gone and never comes back. (mod adjusts respawn time on different variables.)
for activate.sqf im using
Code:waituntil {!isnull (finddisplay 46)}; if ((getPlayerUID player) in ["5531584","5603520"]) then { sleep 120; player addaction [("<t color=""#0074E8"">" + ("Tools Menu") +"</t>"),"admintools\Eexcute.sqf","",5,false,true,"",""]; }
Any ideas?
//edit
seems reslotting gives you the mouse menu back. but of course you lose it on death. woe is me
waituntil {!isnull (finddisplay 46)};
waituntil {!alive player ; !isnull (finddisplay 46)};
You haven't followed all of the steps, did you?When i spawn a vehicle with that Script and i enter it, it just explodes and kills me. :/
hmmm i dont know about that one its a job for itsyukaWhen i spawn a vehicle with that Script and i enter it, it just explodes and kills me. :/
of course i did.You haven't followed all of the steps, did you?
Send me your dayz_server.pbo.of course i did.
Alt+Click to teleport on the map and then W+Space to unfreeze yourself.And some other problems.. Teleport to me doesn't work and how i can i teleport myself?
Here: Click
Code:11:54:17 File z\addons\dayz_server\compile\server_updateObject.sqf, line 23 11:54:17 Error in expression < "0" && (vehicle _object getVariable [""Sarge"",0] != 1)) then { _object_positio> 11:54:17 Error position: <Sarge"",0] != 1)) then { _object_positio> 11:54:17 Error Missing ]
I keep getting that in the logs... Here is what I have it set as...
Code:if (!_parachuteWest) then { if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable [""Sarge"",0] != 1)) then { _object_position = getPosATL _object; diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", typeOf _object, _object_position select 0, _object_position select 1, _object_position select 2]; _isNotOk = true; }; };
Am I missing something obvious?
Here is your working server.pboAnd some other problems.. Teleport to me doesn't work and how i can i teleport myself?
Here: Click
Works now, thank you!Here is your working server.pbo
No problem, good luck.Works now, thank you!
Thats what I did, Ill try again and let you knowadd this in above next page in each vehiclemenu, you need to change the #USER:VehicleMenu portion to link to the correct one tho:
Code:["Previous page", [11], "#USER:VehicleMenu", -5, [["expression", ""]], "1", "1"],
as an example here is what the vehicle menu could look like.
Can be done with all of the menus that have pages.Code:VehicleMenu = [ ["",true], ["A10", [2], "", -5, [["expression", format[EXECscript5,"A10.sqf"]]], "1", "1"], ["Little Bird", [3], "", -5, [["expression", format[EXECscript5,"AH64.sqf"]]], "1", "1"], ["an2", [4], "", -5, [["expression", format[EXECscript5,"an2_prop.sqf"]]], "1", "1"], ["Apache", [5], "", -5, [["expression", format[EXECscript5,"APACHE.sqf"]]], "1", "1"], ["MTVR fors", [6], "", -5, [["expression", format[EXECscript5,"MTVRf.sqf"]]], "1", "1"], ["MTVR des", [7], "", -5, [["expression", format[EXECscript5,"MTVR.sqf"]]], "1", "1"], ["ATV", [8], "", -5, [["expression", format[EXECscript5,"ATV.sqf"]]], "1", "1"], ["Bike", [9], "", -5, [["expression", format[EXECscript5,"Bike.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Next page(2)", [12], "#USER:VehicleMenu2", -5, [["expression", ""]], "1", "1"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; VehicleMenu2 = [ ["",true], ["Bus", [2], "", -5, [["expression", format[EXECscript5,"bus.sqf"]]], "1", "1"], ["C130", [3], "", -5, [["expression", format[EXECscript5,"C130.sqf"]]], "1", "1"], ["Chinook", [4], "", -5, [["expression", format[EXECscript5,"chinook.sqf"]]], "1", "1"], ["Su39", [5], "", -5, [["expression", format[EXECscript5,"F35.sqf"]]], "1", "1"], ["Boat 1", [6], "", -5, [["expression", format[EXECscript5,"FISH.sqf"]]], "1", "1"], ["Boat 2", [7], "", -5, [["expression", format[EXECscript5,"FISH2.sqf"]]], "1", "1"], ["Boat 3", [8], "", -5, [["expression", format[EXECscript5,"FISH3.sqf"]]], "1", "1"], ["Gaz", [9], "", -5, [["expression", format[EXECscript5,"Gaz.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Previous page", [11], "#USER:VehicleMenu", -5, [["expression", ""]], "1", "1"], ["Next page (3)", [12], "#USER:VehicleMenu3", -5, [["expression", ""]], "1", "1"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; VehicleMenu3 = [ ["",true], ["Hatchback", [2], "", -5, [["expression", format[EXECscript5,"Hatchback.sqf"]]], "1", "1"], ["HMMV fors", [3], "", -5, [["expression", format[EXECscript5,"HMMV.sqf"]]], "1", "1"], ["HMMV des", [4], "", -5, [["expression", format[EXECscript5,"HMMV_Fallu.sqf"]]], "1", "1"], ["KA60 Namal", [5], "", -5, [["expression", format[EXECscript5,"KA60_namalsk.sqf"]]], "1", "1"], ["Red Lada", [6], "", -5, [["expression", format[EXECscript5,"ladared.sqf"]]], "1", "1"], ["White Lada", [7], "", -5, [["expression", format[EXECscript5,"Ladawhite.sqf"]]], "1", "1"], ["Little Bird", [8], "", -5, [["expression", format[EXECscript5,"littleBird.sqf"]]], "1", "1"], ["MI17", [9], "", -5, [["expression", format[EXECscript5,"MI17civ.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Previous page (2)", [11], "#USER:VehicleMenu2", -5, [["expression", ""]], "1", "1"], ["Next page (4)", [12], "#USER:VehicleMenu4", -5, [["expression", ""]], "1", "1"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; VehicleMenu4 = [ ["",true], ["MI24", [2], "", -5, [["expression", format[EXECscript5,"MI24.sqf"]]], "1", "1"], ["Mill Offroad", [3], "", -5, [["expression", format[EXECscript5,"militrayOffroad.sqf"]]], "1", "1"], ["UH60", [4], "", -5, [["expression", format[EXECscript5,"UH60.sqf"]]], "1", "1"], ["VW Golf", [5], "", -5, [["expression", format[EXECscript5,"miniHB.sqf"]]], "1", "1"], ["Moto", [6], "", -5, [["expression", format[EXECscript5,"Moto.sqf"]]], "1", "1"], ["Moto 2", [7], "", -5, [["expression", format[EXECscript5,"Moto2.sqf"]]], "1", "1"], ["Moto 3", [8], "", -5, [["expression", format[EXECscript5,"Moto3.sqf"]]], "1", "1"], ["Moto 4", [9], "", -5, [["expression", format[EXECscript5,"Moto4.sqf"]]], "1", "1"], ["", [-1], "", -5, [["expression", ""]], "1", "0"], ["Previous page (3)", [11], "#USER:VehicleMenu3", -5, [["expression", ""]], "1", "1"], ["Next page (5)", [12], "#USER:VehicleMenu5", -5, [["expression", ""]], "1", "1"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; ...
remove the double quotes. Might have been my bad, just copying over the code from the fsm file. so instead of ""Sarge"" use "Sarge".
Thats how it works, they are only temporary vehicles unfortunatelyThanks! That seems to work...
However, it isn't saving the vehicles when the server reset - They just go back to how they were before the mod was added? Any ideas?
Thats how it works, they are only temporary vehicles unfortunately