View Single Post
Old 06-19-2010, 08:29 PM   #5
moosh
WhenNailGrenWillOut?
Beta Tester
 
moosh's Avatar
 
Join Date: May 2009
Gametype: mp_prematch
Affiliations: [:)] - Frag Happy, babe|
Posts Rated Helpful 29 Times
Quote:
Originally Posted by Bridget View Post
It can't be done manually with Lua (there's no switchclass() callback) until the development team hardcodes no suicides and instant class switching in spawns. However, ApplyToPlayer() can change people's team and class without a respawn or a suicide. You can make some brushes that change people to specific classes when they touch them. Unfortunately, that means taking up a lot of room in or around your spawn. I wrote up some code for this, but it doesn't seem to work, and I am too lazy to figure out why.
Oh well. Thanks for trying though.
__________________
[[ ff_hotfudge - bhop_theonlyone ]]
"As the the new year approaches I await for it like an case of explosive fecalomania otherwise know as diareha or the massive shits. I am gripping the sides of the toilet as my stomach produces the first hollow thud out of the anus of the year to come." DarkeN_HellspawN
moosh is offline   Reply With Quote