Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Real Quick lang edit

Closed 2.2.73

I'm trying to find out how to change the RustRewards happyhour notification. When printing out in chat it prints RustRewards:: Happy Hour has started. I'm trying to remove the second : so it looks like RustRewards: Happy Hour has started.

There's no extra : in the lang folder so I'm assuming it's something hard coded in the plugin

Share this comment


Link to comment

It always adds a : so make sure there is none in the Prefix.  Here is the code:

mess = String.Concat( prestring ?? blnk , Lang("Prefix", player.UserIDString) ?? blnk , ": " ,
						midstring ?? blnk, Lang(key, player.UserIDString) ?? blnk, poststring ?? blnk);

 

Share this comment


Link to comment

After removing the full colon from the prefix if it is still an issue for it ping me and I reopen this.  Please attach the lang file and config and I will run it on my test server.

Share this comment


Link to comment

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

7,088 files sold to 634 customers and $102,777 of payments processed this year!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.