autojoin ct team

Started by berix
13/02/2008 13:57
Page 1 of 1
berix13/02/2008 13:57(edited 13/02/2008 13:58)

Hi sometimes in my kz public server, players cant join the CT team(only 1players join to game rest players join only to spectactors) , mostyly after restart server.
I need plugin auto join to ct team(i dont want see MOTD)
In kzmonkeys bhop server is that plugin

-AvAtAr- mapper13/02/2008 14:30

#include #include public plugin_init() {
register_plugin("Join CT only", "0.1", "_")

register_event("ShowMenu","menuclass","b","4&CT_Select","4&Terrorist_Select")
register_event("ShowMenu","menuteam","b","4&Team_Select_Spect","4&Team_Select","4&IG_Team_Select")
}

public menuteam(id) { //Connect choose team menu - force client to select CT
client_cmd(id,"slot2")
return PLUGIN_CONTINUE
}

public menuclass(id) { //Force client to choose random model
client_cmd(id,"slot5")
return PLUGIN_CONTINUE
}

berix13/02/2008 18:27

ok, ok but when click on [m](change team) my player kill onself...

Mehz13/02/2008 18:53

then some admin probably screwed with you or something and did so you kill urself with M..

Just do "bind M change_team" or w/e in console.

Page 1 of 1

Please log in to post replies.