Page 1 of 3

team_max???

Posted: Sun Mar 05, 2006 8:27 am
by BenMcDermott
Post content removed

Posted: Sun Mar 05, 2006 12:13 pm
by The Birdman
About the best you'll get is :

g_knifeonly 1

That turns off all nades and guns.

Posted: Sun Mar 05, 2006 1:50 pm
by =FF=im2good4u
then use lua to turn off the knive :p

i know how todo that in the code i dunno if lua gives enoguh axxes todo it though

Posted: Sun Mar 05, 2006 2:19 pm
by gotenks
The Birdman wrote:About the best you'll get is :

g_knifeonly 1

That turns off all nades and guns.
in shrubet or etpub???

Posted: Sun Mar 05, 2006 2:58 pm
by bacon
g_knifeonly is etmain...

Posted: Sun Mar 05, 2006 4:01 pm
by The Birdman
Yes etmain.

But it doesn't turn all off, i know for engy it still leaves dyno and pliers on, and the needle for medic, I think thats all.

Posted: Sun Mar 05, 2006 4:44 pm
by bacon
=FF=im2good4u wrote:then use lua to turn off the knive :p

i know how todo that in the code i dunno if lua gives enoguh axxes todo it though
Just use lua to set ps.ammo to 0 for all the weapons you don't want :P

Posted: Sun Mar 05, 2006 11:58 pm
by =FF=im2good4u
yeh

and maybe i dunno it is posable also set ps.weapons (i though that was the name) to 0

and dont forget ps.ammoclip

Posted: Sun Mar 05, 2006 11:58 pm
by BenMcDermott
Post content removed

Posted: Mon Mar 06, 2006 12:00 am
by =FF=im2good4u

Posted: Mon Mar 06, 2006 4:18 am
by BenMcDermott
Post content removed

Posted: Mon Mar 06, 2006 8:08 am
by =FF=im2good4u
that is posable hold on ill code a lua mod for u :p

Posted: Mon Mar 06, 2006 9:35 am
by =FF=im2good4u
oke im sadly to tell u i cant disables knifes / enginneer tool :roll:

but it dos disable everything else

u can dl the file here

then put it in your server /etpro/ directory

then se the cvar lua_modules "noweapon.lua"

Posted: Mon Mar 06, 2006 6:52 pm
by gotenks
you could make it knife only... (no engineer tools or anything), just disable the weaponbank command

Posted: Mon Mar 06, 2006 11:12 pm
by =FF=im2good4u
gotenks wrote:you could make it knife only... (no engineer tools or anything), just disable the weaponbank command
even if u disable i how do maky ppl switch to a knive ?