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

[Any] "[SM]" Prefix changer! UPDATE: March 22, 2013


Post New Thread Reply   
 
Thread Tools Display Modes
Mitchell
~lick~
Join Date: Mar 2010
Old 06-23-2012 , 22:42   Re: [Any] "[SM]" Prefix changer! UPDATE: June 16, 2012
Reply With Quote #11

Quote:
Originally Posted by shavit View Post
How to make it support Translations?
What translations? All translation support is in the plugins that use this text. There is nothing to translate..
Mitchell is offline
Hunter S. Thompson
Senior Member
Join Date: Jun 2012
Old 06-24-2012 , 04:54   Re: [Any] "[SM]" Prefix changer! UPDATE: June 16, 2012
Reply With Quote #12

Isn't there actually a way in which that you can pass "[Whatever]" to the chat to replace the [SM] prefix, via a prototype/stock? I remember seeing an example (I think from TheTwistedPanda) in which he passes text via some prototype/stock with one of the parameters being "[SM]".
Hunter S. Thompson is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 06-24-2012 , 08:12   Re: [Any] "[SM]" Prefix changer! UPDATE: June 16, 2012
Reply With Quote #13

Quote:
Originally Posted by Mitchell View Post
What translations? All translation support is in the plugins that use this text. There is nothing to translate..
I mean for example plugin that use [SM] and using translations, it's not changing the colors in translations.
I'm trying to use it with cPMod and i changed the translations [the prefix is in the translations] to SM without colors and it isn't supported.
__________________
retired

Last edited by shavit; 06-24-2012 at 08:12.
shavit is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 06-24-2012 , 10:57   Re: [Any] "[SM]" Prefix changer! UPDATE: June 16, 2012
Reply With Quote #14

Quote:
Originally Posted by Hunter S. Thompson View Post
Isn't there actually a way in which that you can pass "[Whatever]" to the chat to replace the [SM] prefix, via a prototype/stock? I remember seeing an example (I think from TheTwistedPanda) in which he passes text via some prototype/stock with one of the parameters being "[SM]".
If youy asking if you could put something else than [SM] then yeah, go for it! If not then im not sure what your saying, i just woke up ^^"

Quote:
Originally Posted by shavit View Post
I mean for example plugin that use [SM] and using translations, it's not changing the colors in translations.
I'm trying to use it with cPMod and i changed the translations [the prefix is in the translations] to SM without colors and it isn't supported.
Those plugins probably use PrinToChat, or something, this does not replace print to chat messages

Last edited by Mitchell; 06-24-2012 at 10:58.
Mitchell is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 06-24-2012 , 11:09   Re: [Any] "[SM]" Prefix changer! UPDATE: June 16, 2012
Reply With Quote #15

Quote:
Originally Posted by Mitchell View Post
Those plugins probably use PrinToChat, or something, this does not replace print to chat messages
It will soon?
__________________
retired
shavit is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 06-24-2012 , 17:28   Re: [Any] "[SM]" Prefix changer! UPDATE: June 16, 2012
Reply With Quote #16

Quote:
Originally Posted by shavit View Post
It will soon?
It would only replace [SM] i would have to add a better code and config to replace different texts.
But by then you could just edit the code's .sp to your liking.
Mitchell is offline
Hunter S. Thompson
Senior Member
Join Date: Jun 2012
Old 06-24-2012 , 18:08   Re: [Any] "[SM]" Prefix changer! UPDATE: June 16, 2012
Reply With Quote #17

Quote:
Originally Posted by Mitchell View Post
If youy asking if you could put something else than [SM] then yeah, go for it! If not then im not sure what your saying, i just woke up ^^"
No, I mean, there's a in-built stock into SM in which it allows you to modify the [SM], I'm not 100% sure what it was, but I'm almost 90% positive it's there.
Hunter S. Thompson is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 06-24-2012 , 21:17   Re: [Any] "[SM]" Prefix changer! UPDATE: June 16, 2012
Reply With Quote #18

Quote:
Originally Posted by Hunter S. Thompson View Post
No, I mean, there's a in-built stock into SM in which it allows you to modify the [SM], I'm not 100% sure what it was, but I'm almost 90% positive it's there.
Really... if you find it please inform me.

Quote:
Originally Posted by scripting/basecommands/kick.sp
ShowActivity2(param1, "[SM] ", "%t", "Kicked target", "_s", name);
To me it looks like its hard coded in.

Last edited by Mitchell; 06-24-2012 at 21:18.
Mitchell is offline
Hunter S. Thompson
Senior Member
Join Date: Jun 2012
Old 06-24-2012 , 21:29   Re: [Any] "[SM]" Prefix changer! UPDATE: June 16, 2012
Reply With Quote #19

Quote:
Originally Posted by Mitchell View Post
Really... if you find it please inform me.


To me it looks like its hard coded in.
Oh, I must have been wrong then. I didn't pay too much attention to detail, just saw the "[SM]", and made a snap judgement.
Hunter S. Thompson is offline
Azzar.
SourceMod Donor
Join Date: Jan 2011
Location: Australia
Old 07-14-2012 , 14:25   Re: [Any] "[SM]" Prefix changer! UPDATE: June 16, 2012
Reply With Quote #20

L 07/16/2012 - 00:41:41: [SM] Displaying call stack trace for plugin "sm_defaulttextreplace.smx":
L 07/16/2012 - 00:41:41: [SM] [0] Line 127, /home/groups/alliedmodders/forums/files/7/4/2/3/4/105140.attach::timer_strip()
__________________
Azzar. 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 14:15.


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