Most visitors online was 17251 , on 24 May 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!When i remove these // m'y server stop generate loot..
Or you could create a function inside init.sqf of DZ folder, name it whatever you want, then don't call it, but spawn it.
myfunctionname =
{
_var1 = _this select 0;
_var2 = _this select 1;
_var3 = _this select 2; //you can add as many variables as you want
CODE HERE...
};
[var1,var2,var3...] call myfunctionname;
[var1,var2,var3...] spawn myfunctionname;
I can throw grenades but they can't be unpinned or exploded it's just me or it's normal in this version!?
You have two ways (use one of):I want to set time like real time in my country,Do you know how to do it?
//SET DATE
[COLOR=#4b0082]//[] execVM (DZ_DIR_S + "SetDateTime.sqf"); //For script
[/COLOR]//Standart
[COLOR=#000080]setDate getSystemTime;
skipTime 1; // 1 = you TZ shift hours
[/COLOR]//Fixed daytime
_dt_4h = dateToNumber [1,1,1,3,0];
Works for me.
Not sure if the flash grenades work though (because i never used them on my bought game)
thnks for replying but I was talking about this version and creating your own server I can't unpin grenades
You have two ways (use one of):
1) Simply shift UTC to your country-timezone. For this, replace next lines in section "SET DATE" of file <mission>\init.sqf
Code://SET DATE [COLOR=#4b0082]//[] execVM (DZ_DIR_S + "SetDateTime.sqf"); //For script [/COLOR]//Standart [COLOR=#000080]setDate getSystemTime; skipTime 1; // 1 = you TZ shift hours [/COLOR]//Fixed daytime
2) Change TZ-shift in datetime-setiing script. For this, find next line in file <mission>\Scripts\SetDateTime.sqf
and replace number "3" with your TZ-shiftCode:_dt_4h = dateToNumber [1,1,1,3,0];
Do you have file init.sqf and SetDateTime.sqf that already complete my time zone is UTC+7
Please help me.
I can throw grenades but they can't be unpinned or exploded it's just me or it's normal in this version!?
{"slot":"supply","type":"Grenade","state":{"vars":{"internalenergy":0.5}}}
I think I know what's happening:
You edited you save file to include a grenade into your inventory, but did not add an internalenergy variable.
This is what the grenade looks like in a savegame:
Code:{"slot":"supply","type":"Grenade","state":{"vars":{"internalenergy":0.5}}}
I think I know what's happening:
You edited you save file to include a grenade into your inventory, but did not add an internalenergy variable.
This is what the grenade looks like in a savegame:
Code:{"slot":"supply","type":"Grenade","state":{"vars":{"internalenergy":0.5}}}