Jump to content

Real Quick lang edit

Closed 2.2.73

Sandoxus
Sandoxus

Posted

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

  • Moderator
Mals

Posted

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);

 

  • Moderator
Mals

Posted

Changed Status from Pending to Closed

  • Moderator
Mals

Posted

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.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.