Thread
:
[TF2] Melee Only
View Single Post
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
07-17-2010 , 19:07 Re: [TF2] Melee only
#
5
Right, some history:
Yeah, the two other melee plugins have two approaches. One is to strip all but your melee weapons, and disable the ammo cabinets. This presents a problem when you want to return to normal gameplay. bl4nk's plugin which I used for awhile and is now unapproved used OnPlayerRunCmd to set the player's active weapon. Unfortunately, it can be exploited by touching an ammo cabnit. Plus none of those plugins do melee mode the way I wanted it.
For all the minimal code I use during OnGameFrame, its worth the performance trade off (or what very little there is). Another way to check weapons is SDKHook's client think hook, but it's not worth it. I'm keeping this clean and simple.
__________________
Steam profile
Extensions:
Build in repsawn
|
Fire huntsman in the air
Plugins:
Stop that Tank!
|
TF2: Roll the Dice
|
Melee only
|
Tidy Chat
Last edited by pheadxdll; 05-08-2014 at
18:31
.
pheadxdll
View Public Profile
Send a private message to pheadxdll
Find More Posts by pheadxdll