Jump to content
  • 0

Logout in vehicles above player base bug (help to fix)


rss_adm

Question

Hello! 

 

Description:

 

1) The player arrives to mozzie (or any helicopters) and hover above the ceiling someone else's base

2) Player press Alt+F4 or press button Exit to lobby (logout in vehicle)

3) The player is on the ground inside the base.  :o

 

 

Please help how to fix this bug

 

http://www.youtube.com/watch?v=srwg_g2OTKA

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

You can log it with this

if (vehicle _playerObj != _playerObj) then {
		_playerObj action ["eject", vehicle _playerObj];
		_invehicle = true;
		_playerObj setVariable["NORRN_unconscious",true, true];
		_playerObj setVariable["unconsciousTime",300,true];
		diag_log format["LOGOUT IN VEHICLE - GLITCHING?: %1 at location %2", _playerName,(getPosATL _playerObj)];
		_hint = parseText format["<t align='center' color='#FF0033' shadow='2' size='1.75'>Vehicle Logger</t><br/><t align='center' color='#ffffff'>%1 Disconnected in a vehicle, may be base glitching</t>",_playerName];
		customRemoteMessage = ['hint', _hint];
		publicVariable "customRemoteMessage";
	};
Link to comment
Share on other sites

  • 0

Thank you! 

I have question.

 

How do this? :

if ((vehicle _playerObj) isKindOf "Air"<<and player not in "plotfriends"(Plot Management)>>) then {_playerObj setVariable["USEC_injured",true];_playerObj setVariable["USEC_BloodQty",1];};

 

or teleport player to random 100 meters near plot 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...