[moved] KZ server, only CT team, not TS

Started by Mobsis
8 Jun 2008, 18:15
Page 1 of 1
8 Jun 2008, 18:15(edited 9 Jun 2008, 08:14)

Hi all :) i'm making kz server, its allmost done... the plugins are ready, stats too... The problem is, that the players can join TS and CT, so they shoot each other, not jump... Can someone tell, how and where, i can make, that the players can join only CT team? Pls help :)

8 Jun 2008, 19:32

Almost all kz maps only have CT spawn points, so it's impossible to spawn as T. There are a few maps that have T spawns. You can use humans_join_team "ct" to force players to CT, but they won't be able to join spectator, so you will need to get an amxmodx plugin to fix that.

8 Jun 2008, 20:14

#include
#include

new const entities_to_be_removed[][] = {
"info_deathmatch_start",
"func_breakable"
}
new fow_keyvalue

public plugin_init() {
register_plugin("Entity Removal","1.0","Unknown")
unregister_forward(FM_KeyValue,fow_keyvalue,0)
}

public plugin_precache() {
fow_keyvalue = register_forward(FM_KeyValue,"fm_keyvalue",0)
}

public fm_keyvalue(ent,kvdid) {
static key[24], value[24]
get_kvd(kvdid,KV_KeyName, key,23)
get_kvd(kvdid,KV_Value, value,23)

if(equal(key,"classname")) {
for(new i = 0; i < sizeof entities_to_be_removed; i++) {
if(equal(value,entities_to_be_removed)) {
set_kvd(kvdid,KV_Value, "plop123") //invalid classname makes engine remove the entity
}
}
}
return FMRES_IGNORED
}

9 Jun 2008, 08:13

Lol, where to put that? :D P.S its server with the PUB maps, its just for trainings, so it is with kz mod, anyway, is it impossible to make that? (only CT's)

9 Jun 2008, 10:11

Try this http://www.sendspace.com/file/n3n77m

9 Jun 2008, 10:22

It works, just only one person can log in... P.S in server.cfg how big has got to be the - mp_limitteams and in kz.cfg - kz_autojoin ?

9 Jun 2008, 10:30

mp_limitteams 0
mp_autoteambalance 0

9 Jun 2008, 10:39

And autojoin?

9 Jun 2008, 20:57

I don't know what plugin do you use... mb kz_multiplugin?
kz_autojoin 0 i think...

Page 1 of 1

Reply

Please log in to post replies.