Jump to content

Real Quick lang edit

Closed 2.2.73

Sandoxus

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
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.1k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • 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.