-
Notifications
You must be signed in to change notification settings - Fork 0
AFI safestart
tuntematonjr edited this page Dec 13, 2023
·
2 revisions
Setting afi safestart.
Have following function must be called at server. You can use initServer.sqf
for this.
[] call afi_safestart_fnc_start;
You can use this to star safestart only in multiplayer, to make it easier to do testing in editor.
if (isMultiplayer) then { [] call afi_safestart_fnc_start;};
You need to have following code at description.ext
class Params
{
class afi_safeStart_duration
{
title = "SafeStart Timer";
values[] = {0,1,2,3,4,5,6,7,8,9,10,15,20};
texts[] = {"Safe Start Off","1","2","3","4","5","6","7","8","9","10","15","20"};
default = 15; // This needs to be one of the values[]
code = "afi_safeStart_timer = %1";
};
};