I think he meant one of the player classes in TF2. I haven't scripted in 
years but I'd imagine SourceMod would have a way of simply displaying 
the player class. And spectator is sadly not a real class in TF2, 
although it does sound pretty cool. 8)

Ratman2000 wrote:
> Hello,
>
> you cant show the Class becouse every player is from the class "player"
> You only can see the Team... Like T, CT or Spectator...
>
> That you can get over the Logs or by  Using the RatMod Querry Interface...
>
> With friendly Reguards
>
> Ratman2000
>
> ----- Original Message ----- 
> From: "CLAN RCR" <[email protected]>
> To: "Half-Life dedicated Win32 server mailing list" 
> <[email protected]>
> Sent: Saturday, February 28, 2009 1:45 AM
> Subject: Re: [hlds] [TF2] Rcon / SM Command to show players CLASS
>
>
>   
>> HLSW will show you what team they are on, spectator included.. But I don't
>> know if there is any way to see what class they are.
>>
>> -Matt
>>
>> On Fri, Feb 27, 2009 at 3:38 PM, Ryan Mannion <[email protected]> 
>> wrote:
>>
>>     
>>> The information is logged, but I don't believe there's a way to access
>>> it through the console. You can rig up an SM plugin to do it using
>>> GetClientTeam(clientIndex), where 1 <= clientIndex <= GetMaxClients()
>>> and IsClientInGame(clientIndex). Note that RED = 2 and BLU = 3.
>>> Unknown/Spectator are 0/1.
>>>
>>> Ryan
>>>
>>> On Fri, Feb 27, 2009 at 10:51 AM, Chris Oryschak <[email protected]>
>>> wrote:
>>>       
>>>> Is there an rcon command or even a sourcemod plugin that I can use to
>>>>         
>>> query the server and see what class they are -- specifically I want to 
>>> know
>>> if they are spectator or not.
>>>       
>>>> _______________________________________________
>>>> To unsubscribe, edit your list preferences, or view the list archives,
>>>>         
>>> please visit:
>>>       
>>>> http://list.valvesoftware.com/mailman/listinfo/hlds
>>>>
>>>>
>>>>         
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list archives,
>>> please visit:
>>> http://list.valvesoftware.com/mailman/listinfo/hlds
>>>
>>>       
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives, 
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlds 
>>     
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds
>
>   

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to