Heaney 11 Posted August 23, 2012 So I'm trying to use "disableChannels[]={6};" to remove all the annoying messages, and replace them with a simple "<player> joined the game" and "<player> left the game". The "joined the game" works perfectly by just having it happen on player init, but how can I detect when the player leaves a slot? Share this post Link to post Share on other sites
cuel 25 Posted August 23, 2012 Maybe try onPlayerDisconnected I'm not sure when it's triggered tho. Could be when the player leaves the server entirely. Share this post Link to post Share on other sites
kylania 567 Posted August 23, 2012 Maybe try onPlayerDisconnectedI'm not sure when it's triggered tho. Could be when the player leaves the server entirely. I was thinking the same, but couldn't find anything that confirmed if that was at mission start or when you connect to the lobby. Share this post Link to post Share on other sites
Deadfast 43 Posted August 23, 2012 (edited) Pretty sure onPlayerConnected and onPlayerDisconnected trigger when a player enters/leaves the mission. Edited August 23, 2012 by Deadfast Share this post Link to post Share on other sites
Heaney 11 Posted August 23, 2012 I didn't know about those commands. Those work perfectly, thanks! Share this post Link to post Share on other sites