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

[CS:S] Resetscore


Post New Thread Reply   
 
Thread Tools Display Modes
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 11-21-2009 , 00:22   Re: [CS:S] Resetscore
Reply With Quote #11

[ Thread bumped for the unanswered post of BeG's ]
__________________
Links to posts I received Karma from:
Big thanks to all who gave Karma
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
Jabiroca
New Member
Join Date: May 2010
Old 05-02-2010 , 13:58   Re: [CS:S] Resetscore
Reply With Quote #12

Hello.

I've tried to change the language of the in-game announcements, on the "resetscore.sp" file, to my language (Portuguese) (like, for example, "[SM] You have just reset your score!" ---> "[SM] Voce resetou seu score!"). But in-game, the language continues in english. Why? How can I change it to my language?

Thanks .

@edit

There's no other file that I can change anything, because there's no file related to resetscore on the translations folder, and the file "resetscore.smx" contains many strange codes and letters that I can't read.
Jabiroca is offline
Send a message via Skype™ to Jabiroca
stone newbie
Junior Member
Join Date: Oct 2010
Old 10-29-2010 , 17:46   Re: [CS:S] Resetscore
Reply With Quote #13

doesn't work,i installed the plugin -> open server.cfg and past (sm_resetscore 1) -> switch the map -> type in chat (!resetscore) -> the plugin say (Your score is already 0!) -> but the stats don't reset

reset at next round-NO
reset at next map-NO

pls help me

mfg
stone newbie is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-30-2010 , 00:46   Re: [CS:S] Resetscore
Reply With Quote #14

@BeG #10
Code:
        PrintToChatAll( "\x05[\x01ResetMyScore\x05]\x01: \x02% \x01hat seinen Score resettet.", Name );
        PrintToChatAll( "\x05[\x01ResetMyScore\x05]\x01: \x02%s \x01hat seinen Score resettet.", Name );
But have to done different way to get team_name color
Yak's FAQs on Scripting


So try this, I attach it txt file. rename file to *.sp if you want compile it.
I'm not sure would it show right color. If you are CT, can you see player T name as red in chat...
Attached Files
File Type: txt BeG.txt (2.7 KB, 319 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 10-30-2010 at 00:49.
Bacardi is offline
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Old 11-06-2010 , 10:39   Re: [CS:S] Resetscore
Reply With Quote #15

PHP Code:
PrintToChatid"\x03[SM Resetscore] You have successfully reseted your score!" );
        
PrintToChatAll"\x03[SM Resetscore] %s has just reseted his score."Name );
        
PrintToConsoleid"[SM Resetscore] You have successfully reseted your score." ); 
Should be:
PHP Code:
PrintToChatid"\x03[SM Resetscore] You have successfully reset your score!" );
        
PrintToChatAll"\x03[SM Resetscore] %s has just reset his score."Name );
        
PrintToConsoleid"[SM Resetscore] You have successfully reset your score." ); 
Reseted isn't an English word
__________________
bobbobagan is offline
Send a message via Skype™ to bobbobagan
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 03-04-2011 , 07:51   Re: [CS:S] Resetscore
Reply With Quote #16

would be awesome if there also was a admin command so you could reset a players score

like sm_resetplayerscore <#userid | Steamid | name>
DoPe^ is offline
Aion
Member
Join Date: Nov 2010
Location: Russia, Voronezh
Old 04-19-2011 , 04:06   Re: [CS:S] Resetscore
Reply With Quote #17

Can anybody translate this plugin?
Aion is offline
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 04-20-2011 , 08:28   Re: [CS:S] Resetscore
Reply With Quote #18

Quote:
Originally Posted by Aion View Post
Can anybody translate this plugin?
First the support for translations should be coded. I'm well capable of quality Finnish translation.
__________________
Links to posts I received Karma from:
Big thanks to all who gave Karma
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
Aion
Member
Join Date: Nov 2010
Location: Russia, Voronezh
Old 04-20-2011 , 15:26   Re: [CS:S] Resetscore
Reply With Quote #19

My version of plugin with Bacardi's translation code and file including Russian translation.

ResetScore v1.2
1) Added announce when player connecting to server
2) Added team color announce when player reset his score
3) Change chat command to !rs and /resetscore

Great thanks to Bacardi for translation code and file.
Attached Files
File Type: sp Get Plugin or Get Source (resetscore.sp - 1106 views - 2.9 KB)
File Type: txt resetscore.phrases.txt (1.9 KB, 564 views)

Last edited by Aion; 04-20-2011 at 15:28.
Aion is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-20-2011 , 16:16   Re: [CS:S] Resetscore
Reply With Quote #20

Quote:
Originally Posted by rautamiekka View Post
First the support for translations should be coded. I'm well capable of quality Finnish translation.
Harmi vain että OB-päivityksen jälkeen, pelaajat jonka steam asetuksista kieli on joku muu kuin englanti, niillä kaatuu peli aika usein HL2.exe virheeseen.

*
Too bad that when there came OB-update, players who have set their language to other than english in steam settings, they get most HL2.exe crash.

Don't know have they fix this yeat, or do this problem occurs only finnish language
Have to test.
Bacardi is offline
Reply


Thread Tools
Display Modes

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:15.


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