Raised This Month: $51 Target: $400
 12% 

Location in Voice blocker?


Post New Thread Reply   
 
Thread Tools Display Modes
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 04-30-2013 , 22:04   Re: Location in Voice blocker?
Reply With Quote #11

Quote:
Originally Posted by GoD-Tony View Post
Something like this should work. Credit to Peace-Maker (if I remember correctly).
PHP Code:
#include <sourcemod>
#include <sdkhooks>

public OnClientPutInServer(client)
{
    
SDKHook(clientSDKHook_PreThinkPostHook_PreThinkPost);
}

public 
Hook_PreThinkPost(client)
{
    
SetEntPropString(clientProp_Send"m_szLastPlaceName""");

Thanks for the reply. I found an alternate solution for my server, but i have saved this in case i need it later. I ended up using alltalk 0, then using another plugin to toggle alltalk on when the round ends. This way, no living players from the other team see your position, and everyone can chatter on round end. Thanks for your time though!
ThatOneGuy is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 05-02-2013 , 02:50   Re: Location in Voice blocker?
Reply With Quote #12

I compiled tony's response and it works great. Thanks man. Attached below for everyone's convenience.
Attached Files
File Type: sp Get Plugin or Get Source (hidemiclocation.sp - 164 views - 257 Bytes)
File Type: smx hidemiclocation.smx (1.9 KB, 53 views)

Last edited by ThatOneGuy; 05-02-2013 at 02:52.
ThatOneGuy 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 20:42.


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