Remove wepons from the map

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

Post Reply
kubiszon
CJ Wannabe
CJ Wannabe
Posts: 34
Joined: May 27th, 2009, 7:55 pm

Remove wepons from the map

Post by kubiszon » January 22nd, 2010, 5:06 pm

Hi all
Can some one have script for removing wepons from map?

User avatar
Hoogie
Core Staff
Core Staff
Posts: 3974
Joined: September 2nd, 2008, 10:22 am
Location: Holland

Re: Remove wepons from the map

Post by Hoogie » January 22nd, 2010, 10:52 pm

You can just disable weapons with /cg_drawgun 0 (you can still shoot tough)
If you dont want to have it at all i cant help you
I don't understand scripting :oops:
-=[[CoDJumper.com Movies]]=-
[[Ambush]] || [[Backlot]] || [[Bloc]] || [[Bog]] || [[Broadcast]] || [[Chinatown]] || [[Countdown]]
[[Crash]] || [[Creek]] || [[Crossfire]] || [[District]] || [[Downpour]] || [[Killhouse]] || [[Overgrown]]
[[Pipeline]] || [[Shipment & Wetwork]] || [[Showdown]] || [[Strike]] || [[Vacant]]


A woman can fake an orgasm, but a man can fake an entire relationship

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Remove wepons from the map

Post by Drofder2004 » January 22nd, 2010, 11:23 pm

cg_drawgun literally just stop the gun from being drawn on the screen.

The command to remove weapons from players is takeallweapons()
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Hoogie
Core Staff
Core Staff
Posts: 3974
Joined: September 2nd, 2008, 10:22 am
Location: Holland

Re: Remove wepons from the map

Post by Hoogie » January 22nd, 2010, 11:28 pm

ah ok
well i always use that since the only reason i dont want the gun in the screen is for like intro's of movies and for that it works fine xD
-=[[CoDJumper.com Movies]]=-
[[Ambush]] || [[Backlot]] || [[Bloc]] || [[Bog]] || [[Broadcast]] || [[Chinatown]] || [[Countdown]]
[[Crash]] || [[Creek]] || [[Crossfire]] || [[District]] || [[Downpour]] || [[Killhouse]] || [[Overgrown]]
[[Pipeline]] || [[Shipment & Wetwork]] || [[Showdown]] || [[Strike]] || [[Vacant]]


A woman can fake an orgasm, but a man can fake an entire relationship

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests