Jump to content

metalman10

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About metalman10

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. No need to complicate all this. Use this instead /****************************************************** Script : Playuer Init Made For : Exile Mod || TGN Community Author : Metalman10 / 6IX Returns : ******************************************************/ waitUntil { !isNull (findDisplay 46) }; { _x params [ [ "_function", "" ], [ "_file", "" ], [ "_useState", false ] ]; private _code = compileFinal ( preprocessFileLineNumbers _file ); if ( _function isEqualTo "" || _file isEqualTo "" ) then { for "_x" from 0 to 15 do { diag_log format [ "WARNING! :: CHECK YOUR PLAYER INIT ! YOU HAVE MISSING PARAMS !", _function, _file ]; }; } else { if ( _useState isEqualTo false ) then { diag_log format [ "TGN DEBUG :: Function ( %1 | %2 ) use state is FALSE. File ignored.", _function, _file ]; } else { missionNamespace setVariable [ _function, _code]; }; }; true } count [];
×