Jump to content
Sign in to follow this  
logan83

Force First Person In Vehicles problem

Recommended Posts

Hi To All!! im tryin force the players to use first person when entry in a vehicle... i try somethig like this...


while {true} do
{
	if(vehicle player != player) then
		{
		thirdperson_allowed = false;
			while {not thirdperson_allowed} do
				{
					if(cameraView == "EXTERNAL" || cameraView == "GROUP") then
						{
						vehicle player switchCamera "INTERNAL";
						};

							sleep 0.1;
				};
		};

	if(vehicle player != player) then
		{
		 thirdperson_allowed =true;
		};

};


I get in in a vehicle... and nothing hapens... but when i get Out... The first person view its running... :O what the.... i serch in the forum but i cant fix the problem... some help?

Share this post


Link to post
Share on other sites

Think there was a bug dealing with this in the feedback tracker somewhere.

Just let difficulty of the server control this and let people play missions how they want.

Share this post


Link to post
Share on other sites

while {alive player} do
{
waitUntil {player != vehicle player && cameraOn == vehicle player && cameraView == "External"};

vehicle player switchCamera "Internal"
};

this will work

Share this post


Link to post
Share on other sites

oks thanks Kylania but its for an important part of the mision... its important to the ambientation of the mision...

JTS_2009 ill try it...

---------- Post added at 21:18 ---------- Previous post was at 21:11 ----------

while {alive player} do
{
waitUntil {player != vehicle player && cameraOn == vehicle player && cameraView == "External"};

vehicle player switchCamera "Internal"
};

this will work

nopes.... dont work... :(

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×