Jump to content
cupcake_actual

Kick player not connected to taskforceradio

Recommended Posts

I'm looking for a way to kick a player who isn't using TFR, not on the teamspeak server. For example, if a player joins the server with the task force mod, but they are not on the teamspeak "taskforceradio" channel, they get kicked from the arma server. It seems that the mod already detects that a player is not connected to teamspeak by displaying the "pipe error". When this happens i want the player to be kicked from the server. can this be done?

Share this post


Link to post
Share on other sites

Put this in the init.sqf of your mission at the top line:

if(isClass(configFile>>"CfgPatches">>"task_force_radio"))then{endMission "END2";};
  • Like 1

Share this post


Link to post
Share on other sites

Can i specify wich TS server and room the player has to be in?

 

Share this post


Link to post
Share on other sites

Maybe with some .dll extension perhaps. Don't think there are any available so you'll have to get one written. Unless the TFR has something you can use in it's own .dll extension.

Edited by HazJ

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

×