Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-24 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
October 24, 2012, 03:24:11 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Tf2 Weapon restrictions in IDs  (Read 480 times)
Ordoxous
Newbie
*
Posts: 20


View Profile
« on: September 24, 2011, 07:58:59 PM »

Is it possible to do the normal weapon restrictions without using item names only ids?
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2045



View Profile WWW Email
« Reply #1 on: September 24, 2011, 08:00:10 PM »

there are no weapon restrictions in tf2
Logged

DarkEnergy
Ordoxous
Newbie
*
Posts: 20


View Profile
« Reply #2 on: September 24, 2011, 08:07:27 PM »

I tried it out and i got weapon restrictions

War3_WeaponRestrictTo(client,thisRaceID,"tf_weapon_shotgun_primary,tf_weapon_shotgun_soldier,tf_weapon_shotgun_pyro,tf_weapon_scattergun,");

this code restricts to only shotguns, and scattergun, it does work
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2045



View Profile WWW Email
« Reply #3 on: September 24, 2011, 08:10:29 PM »

it was never meant for tf2 but if it works then ...sure why not, but then tf2 doesnt drop weapons and you dont pick up any

Logged

DarkEnergy
Ordoxous
Newbie
*
Posts: 20


View Profile
« Reply #4 on: September 24, 2011, 08:14:08 PM »

it just stops you from having access to the unlisted weapons
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!