How Do I Create An Sqf Using This Code?
testIndex = _this select 1;
_thePlayer = _this select 2;
// foreach loop
{
if (name _x == _thePlayer) then
{
_x switchCamera "Internal";
selectPlayer _x;
player remoteControl _x;
_rcntrl = true;
};
} foreach playableUnits;
Just put all of that in a text file and change the ending or save it as a .sqf
thats it.