Added moduleViewDistance file

This commit is contained in:
SAM 2015-05-08 15:36:47 +02:00
parent bb625aac58
commit 5732015370
4 changed files with 29 additions and 5 deletions

View File

@ -2,6 +2,7 @@
ADDON = false;
PREP(moduleViewDistance);
PREP(returnViewDistanceValue);
PREP(changeViewDistance);
PREP(initViewDistance);

View File

@ -12,7 +12,7 @@
* Example:
* [] call ace_viewdistance_fnc_changeViewDistance;
*
* Public: No
* Public: Yes
*/
#include "script_component.hpp"

View File

@ -1,18 +1,18 @@
/*
* Author: Winter
* Sets the player's current view distance according to allowed values.
* Assigns the Event Handler which fires when a player adjusts their view distance in the menu
*
*
* Arguments:
* 0: View Distance Setting (SCALAR)
* None
*
* Return Value:
* None
*
* Example:
* [1500] call ace_common_fnc_imanexample
* [] call ace_viewdistance_fnc_initViewDistance;
*
* Public: No
* Public: Yes
*/
#include "script_component.hpp"

View File

@ -0,0 +1,23 @@
/*
* Author: Winter
* Initialises the view distance limiter module
*
*
* Arguments:
*
*
* Return Value:
* View Distance Limit <SCALAR>
*
* Example:
*
*/
#include "script_component.hpp"
if (!isServer) exitWith {};
/*
PARAMS_2(_logic,_activated);
if !(_activated) exitWith {};
*/