Raised This Month: $ Target: $400
 0% 

[TF2] Ban player you are spectating


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FlyveHest
Member
Join Date: Nov 2010
Location: Denmark
Old 03-18-2012 , 07:01   Re: [TF2] Ban player you are spectating
Reply With Quote #1

I've tried using the @aim, and it works .. somewhat, but it is a very hit and miss when spectating.

19 out of 20 I got "No target found" when doing an sm_who @aim while spectating a player, both from "inside the head" and from 3rd person.

Is it possible to extract the player you are actively following somehow? That would make it 100% foolproof.
__________________
FlyveHest
-
GB.CritVote - Let people vote to en/disable random crits each round

Visit Gladblad Gamers
FlyveHest is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 03-18-2012 , 07:29   Re: [TF2] Ban player you are spectating
Reply With Quote #2

Because i've seen you are a coder yourself, i just post a snippet.
One of the stocks is from SMlib.

Spoiler


Yours sincerely
Impact
__________________

Last edited by Impact123; 03-18-2012 at 07:30.
Impact123 is offline
FlyveHest
Member
Join Date: Nov 2010
Location: Denmark
Old 03-18-2012 , 11:19   Re: [TF2] Ban player you are spectating
Reply With Quote #3

Quote:
Originally Posted by Impact123 View Post
Because i've seen you are a coder yourself, i just post a snippet.
One of the stocks is from SMlib.
Exactly what the doctor ordered, thanks a lot Impact, did a small plug, and it works like a charm.
__________________
FlyveHest
-
GB.CritVote - Let people vote to en/disable random crits each round

Visit Gladblad Gamers
FlyveHest is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode