ACE3/addons/bft/functions/fnc_generateEncryptionKey.sqf
2018-10-04 16:43:06 +02:00

22 lines
302 B
Plaintext

#include "script_component.hpp"
/*
* Author: Glowbal
*
*
* Arguments:
*
* Return Value:
* keyString - 15 characters <STRING>
*
* Public: No
*/
private _newKeyArray = [];
for "_i" from 1 to 15 /* step +1 */ do {
_newKeyArray pushback (48 + floor (random 74));
};
toString _newKeyArray