disable !give

A Forum Thread for Counter-Strike: Source

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending w4nder points.
  • Post: Give w4nder your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Stop Lurking!

Sign up

Already a Bananite? Login

Hey, im making a map for gun game servers and one of the rooms is a knifing room. i find that people are always dicks and hit "!give" so they get their gun. is it possible to disable that option for a specific room. if not, can i do that for the entire map? if possible, i'd prefer that to be map specific, so the server doesnt have a change an option. thanks!!

Posts

  • 8y
    zerox913 avatar
    zerox913 Offline
    Member Joined 8y
    382 points Ranked 10854th
    You can have the whole room be a weapon strip entity, GG5 defaultly doesnt have the give command though so... its only an issue on old servers...

    http://developer.valvesoftware.com/wiki/Player_weaponstrip

    just make a trigger entitiy that exacutes it on touch or something and it should work
    YES! avatar
    Mantra
    YES!
  • 8y
    Crazypip666 avatar
    Crazypip666 avatar Offline
    Member Joined 11y
    36,268 points Ranked 111st
    15 medals 1 rare
    • 6 years a member Medal icon
    • Became a Club Leader Medal icon
    • Reached 1,000 Points Medal icon
    • Reached 2,500 Points Medal icon
    • Reached 7,500 Points Medal icon
    • Reached 25,000 Points Medal icon
    Posted by zerox913

    You can have the whole room be a weapon strip entity, GG5 defaultly doesnt have the give command though so... its only an issue on old servers...

    http://developer.valvesoftware.com/wiki/Player_weaponstrip

    just make a trigger entitiy that exacutes it on touch or something and it should work

    The problem is that they need to keep their knife.
    BAD WOLF avatar
    Mantra
    BAD WOLF
  • 8y
    zerox913 avatar
    zerox913 Offline
    Member Joined 8y
    382 points Ranked 10854th
    Im pretty sure you can filter what is stripped..

    and is CS:S you can never lose your knife, unless you have a special mod installed
    YES! avatar
    Mantra
    YES!
  • 8y
    w4nder avatar
    w4nder Offline
    Member Joined 9y
    806 points Ranked 5709th
    6 medals 1 rare
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    • 4 years a member Medal icon
    Posted by zerox913

    You can have the whole room be a weapon strip entity, GG5 defaultly doesnt have the give command though so... its only an issue on old servers...

    http://developer.valvesoftware.com/wiki/Player_weaponstrip

    just make a trigger entitiy that exacutes it on touch or something and it should work


    to strip items, there are two entities:

    - player_weaponstrip - but it strips everything, so if it were put over the entire room, then they wouldnt have knives

    - game_player_equip - this could give a knife, but it only happens at the spawn, and i want them to spawn with their current weapon

    furthermore, most gun game servers have !give, its an eventscript that is added.
    Gun Game Mapper

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

w4nder avatar
w4nder Offline
Member Joined 9y
806 points Ranked 5709th
6 medals 1 rare
  • 6 years a member Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • 2 years a member Medal icon
  • 4 years a member Medal icon

w4nder
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
4
Views
657
Date Added
8y
bcp.crwdcntrl.net tracking pixel