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

CS:GO player location in grenade messages and mic icons?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xm3kilo
Member
Join Date: Jan 2018
Old 01-20-2018 , 01:08   CS:GO player location in grenade messages and mic icons?
Reply With Quote #1

Hey guys,

How do I disable this? Like xm3kil @ MIDDLE threw grenade

etc

I've tried a few different plugins, anyways
Thanks!

EDIT: I think it was alltalk

Last edited by DarkDeviL; 02-21-2018 at 01:44.
xm3kilo is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 01-20-2018 , 02:32   Re: CS:GO player location in grenade messages and mic icons?
Reply With Quote #2

This should work from memory:

PHP Code:
#include <sourcemod>
#include <sdkhooks>

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

public 
OnPreThink(client)
{
    if(
IsPlayerAlive(client))
        
SetEntPropString(clientProp_Send"m_szLastPlaceName""\0");

__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards is offline
xm3kilo
Member
Join Date: Jan 2018
Old 01-20-2018 , 07:21   Re: CS:GO player location in grenade messages and mic icons?
Reply With Quote #3

Thanks heaps!

You wouldn't know how to inspect weapon and flashlight on the same key?

Cheers anyway!

EDIT: Nevermind, if you're using the sm_flashlight plugin you can
sm_flashlight_lookatweapon 1
sm_flashlight_return 1

Last edited by DarkDeviL; 02-21-2018 at 01:45. Reason: Restored post
xm3kilo 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 16:15.


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