Page MenuHomeFeedback Tracker

Request: add string message param to DisconnectPlayer
New, UrgentPublic

Description

	/**
  	\brief Destroy player info and disconnect 
	\note Works only on server
	*/
	proto native void		DisconnectPlayer(PlayerIdentity identity);

this is the current DisconnectPlayer function, however when invoked it sends the player back to the main menu with no reason. I propose the following change:

	/**
  	\brief Destroy player info and disconnect 
	\note Works only on server
	*/
	proto native void		DisconnectPlayer(PlayerIdentity identity, string message="");

Then when the main menu is invoked after a disconnection, if the string is empty then it is a normal disconnect, but if the message has text, display said text in an alert box equivalent to the pbo error window.

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

Stix90 added a subscriber: Stix90.Jul 13 2019, 6:56 PM