Raised This Month: $32 Target: $400
 8% 

[CS:GO] Change ping place name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 07-17-2021 , 12:23   [CS:GO] Change ping place name
Reply With Quote #1

There is a ping entity in CS:GO info_player_ping. It is created by pressing mouse wheel.
This entity has a netprop string m_szPlaceName. Which contains the name of the place where the entity is created.
I'd like to change the name.
When I set it this way:
SetEntPropString(entity, Prop_Send, "m_szPlaceName", "#test");
It shows: "#%" near the entity and this message in console:
Quote:
**** Unable to localize '#*********%*********' on panel 'LocationLabel'
What is the proper way to set this string?

Last edited by kadet.89; 07-17-2021 at 17:14.
kadet.89 is offline
Send a message via Skype™ to kadet.89
BeepIsla
Member
Join Date: Mar 2020
Location: Germany
Old 07-19-2021 , 18:18   Re: [CS:GO] Change ping place name
Reply With Quote #2

Either try without the hashtag prefix or I think you can't and you are forced to use the strings from csgo/resource/csgo_*.txt
BeepIsla 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 18:21.


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