I need a control player script

Posts 113 of 13 · Page 1 of 1
I need a control player script
hey guys does anyone know which menu uses the control player script or could someone link the script below and ill add it to my menu?


thanks in advance and ill be sure to give rep to anyone who helps me
Is this... This is possible?

Okay I guess it is, awesome. I need to go see Rustler's.
its in rustlers.

next time look harder. thanks
Quote Originally Posted by svtfan View Post
its in rustlers.

next time look harder. thanks
Actually it isn't and here you go:
Code:
_mycv = cameraView;

_n2sh = 10;  
_n2c = "Select Player:";
shnext = false;
nlist = [];  
selecteditem = "";

if (isNil "spectate") then {spectate = true;} else {spectate = !spectate;};
if (spectate) then 
{
		 
	{if (_x != player) then {nlist set [count nlist, name _x];};} forEach playableUnits;
		
	shnmenu = 
	{
		_pmenu = [["",true],[_n2c, [-1], "", -5, [["expression", ""]], "1", "0"]];
		for "_i" from (_this select 0) to (_this select 1) do
		{_arr = [format['%1',nlist select (_i)], [_i - (_this select 0) + 2],  "", -5, [["expression", format["selecteditem = nlist select %1;",_i]]], "1", "1"];_pmenu set [_i+2, _arr];};
		if (count nlist >  (_this select 1)) then {_pmenu set [(_this select 1)+2, ["Next", [12], "", -5, [["expression", "shnext = true;"]], "1", "1"]];}
		else {_pmenu set [(_this select 1)+2, ["", [-1], "", -5, [["expression", ""]], "1", "0"]];};
		_pmenu set [(_this select 1)+3, ["Exit", [13], "", -5, [["expression", "selecteditem = 'exitscript';"]], "1", "1"]];
		showCommandingMenu "#USER:_pmenu";
	};
	_j = 0; _n2sh = 10; if (_n2sh>9) then {_n2sh=10;};
	while {selecteditem==""} do
	{
		[_j,(_j+_n2sh) min (count nlist)] call shnmenu;_j=_j+_n2sh;
		WaitUntil {selecteditem!="" or shnext};	
		shnext = false;
	};

	
	if (selecteditem!= "exitscript") then
	{
		_name = selecteditem;
		{
			if(format[name _x] == _name) then 
			{
				_player = player;
				[_x] join group player;
				player remoteControl effectiveCommander _x;
				selectPlayer _x;

				F3_EH = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 0x3D) then {spectate = false;};"];	
				(vehicle _x) switchCamera "EXTERNAL";
				titleText ["Controlling...Press F3 to get back to your body","PLAIN DOWN"];titleFadeOut 4;
				player remoteControl _x;

				waitUntil { !(alive _x) or !(alive player) or !(spectate)};
				(findDisplay 46) displayRemoveEventHandler ["KeyDown", F3_EH];
				
				objNull remoteControl effectiveCommander _x;
				player switchCamera _mycv;
				selectPlayer _player;
			};
		} forEach playableUnits;
	};
	spectate = false;
	
};
if (!spectate) then 
{	
	titleText ["Back to player...","PLAIN DOWN"];titleFadeOut 4;
};
Quote Originally Posted by Jim Morrison View Post

Actually it isn't and here you go:
Code:
_mycv = cameraView;

_n2sh = 10;  
_n2c = "Select Player:";
shnext = false;
nlist = [];  
selecteditem = "";

if (isNil "spectate") then {spectate = true;} else {spectate = !spectate;};
if (spectate) then 
{
		 
	{if (_x != player) then {nlist set [count nlist, name _x];};} forEach playableUnits;
		
	shnmenu = 
	{
		_pmenu = [["",true],[_n2c, [-1], "", -5, [["expression", ""]], "1", "0"]];
		for "_i" from (_this select 0) to (_this select 1) do
		{_arr = [format['%1',nlist select (_i)], [_i - (_this select 0) + 2],  "", -5, [["expression", format["selecteditem = nlist select %1;",_i]]], "1", "1"];_pmenu set [_i+2, _arr];};
		if (count nlist >  (_this select 1)) then {_pmenu set [(_this select 1)+2, ["Next", [12], "", -5, [["expression", "shnext = true;"]], "1", "1"]];}
		else {_pmenu set [(_this select 1)+2, ["", [-1], "", -5, [["expression", ""]], "1", "0"]];};
		_pmenu set [(_this select 1)+3, ["Exit", [13], "", -5, [["expression", "selecteditem = 'exitscript';"]], "1", "1"]];
		showCommandingMenu "#USER:_pmenu";
	};
	_j = 0; _n2sh = 10; if (_n2sh>9) then {_n2sh=10;};
	while {selecteditem==""} do
	{
		[_j,(_j+_n2sh) min (count nlist)] call shnmenu;_j=_j+_n2sh;
		WaitUntil {selecteditem!="" or shnext};	
		shnext = false;
	};

	
	if (selecteditem!= "exitscript") then
	{
		_name = selecteditem;
		{
			if(format[name _x] == _name) then 
			{
				_player = player;
				[_x] join group player;
				player remoteControl effectiveCommander _x;
				selectPlayer _x;

				F3_EH = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 0x3D) then {spectate = false;};"];	
				(vehicle _x) switchCamera "EXTERNAL";
				titleText ["Controlling...Press F3 to get back to your body","PLAIN DOWN"];titleFadeOut 4;
				player remoteControl _x;

				waitUntil { !(alive _x) or !(alive player) or !(spectate)};
				(findDisplay 46) displayRemoveEventHandler ["KeyDown", F3_EH];
				
				objNull remoteControl effectiveCommander _x;
				player switchCamera _mycv;
				selectPlayer _player;
			};
		} forEach playableUnits;
	};
	spectate = false;
	
};
if (!spectate) then 
{	
	titleText ["Back to player...","PLAIN DOWN"];titleFadeOut 4;
};
its in my ver of rustlers which im sure I got off here /shrug
Quote Originally Posted by svtfan View Post
its in rustlers.

next time look harder. thanks
Wait! Was that a helpful post! Oh no, YOU TURNED!
Quote Originally Posted by Hi_own View Post
Wait! Was that a helpful post! Oh no, YOU TURNED!
I help alot of people bro. just cause you see me making fun of the retards most of the time doesn't mean I am a bad person
i don't use rustlers anyways but okay
HEY BRO don't use the word retard on my thread its insulting
Quote Originally Posted by usb1y View Post
HEY BRO don't use the word retard on my thread its insulting
shit im sorry internet police.

fuck off retard
Quote Originally Posted by svtfan View Post
shit im sorry internet police.

fuck off retard
<3 made me love you xD
lol wow thats immature bro
It is in T&D menu. For AJ and VA, and it's a free menu.
Posts 113 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?