SamplePage: Difference between revisions

From FPArma Wiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
else:
else:
pass
pass
</syntaxhighlight>
<syntaxhighlight lang="C++" line='line'>
enableSaving [false,false];
// These are the recommended settings for view distance based on zombie distance spawning.
// You can change them but remember to edit config.sqf if zombies are spawning within visible range
// The reason fog is set here is because then it won't take into account height
0 setFog 0.73;
setViewDistance 800;
setObjectViewDistance 600;
if (isServer) then {
  forceWeatherChange;
};
// Config should be set first
[] call compile preprocessFileLineNumbers "config.sqf";
// Start FPZ
[] call fpz_api_fnc_init;
</syntaxhighlight>
</syntaxhighlight>



Revision as of 18:39, 12 July 2017

Example of Syntax Highlighting

def quickSort(arr):
	less = []
	pivotList = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass


enableSaving [false,false];


// These are the recommended settings for view distance based on zombie distance spawning. 
// You can change them but remember to edit config.sqf if zombies are spawning within visible range
// The reason fog is set here is because then it won't take into account height
0 setFog 0.73;
setViewDistance 800;
setObjectViewDistance 600;

if (isServer) then {
  forceWeatherChange;
};

// Config should be set first
[] call compile preprocessFileLineNumbers "config.sqf";
// Start FPZ
[] call fpz_api_fnc_init;

Hotlinking Images

Embed a Video