AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Location in Voice blocker? (https://forums.alliedmods.net/showthread.php?t=135623)

ThatOneGuy 04-30-2013 22:04

Re: Location in Voice blocker?
 
Quote:

Originally Posted by GoD-Tony (Post 1940887)
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 05-02-2013 02:50

Re: Location in Voice blocker?
 
2 Attachment(s)
I compiled tony's response and it works great. Thanks man. Attached below for everyone's convenience.


All times are GMT -4. The time now is 17:06.

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