Jump to content

Wrong location message

Closed 1.1.0

Hi,

since 1.1.0 igot the following message. Theres the tier instead of location.

A Hard Bradley has spawned around Hard

 

Code in lang file

A <color=#cf3c4d>Hard</color> Bradley has spawned around <color=red>{0}</color>

Share this comment


Link to comment

ah i see what happened

{0}  is  the bradleytier that will change the name if changed in cfg
{1} is the location

so in your case you change the {0} into {1}
 

  "BradVanilla": "A <color=#EC1349>{0}</color> Bradley has spawned around <color=#EC1349>{1}</color>",
  "BradEasy": "A <color=green>{0}</color> Bradley has spawned around <color=green>{1}</color>",
  "BradMedium": "A <color=purple>{0}</color> Bradley has spawned around <color=blue>{1}</color>",
  "BradHard": "A <color=red>{0}</color> Bradley has spawned around <color=red>{1}</color>",
  "BradNightmare": "A <color=yellow>{0}</color> Bradley has spawned around <color=yellow>{1}</color>",

section from cfg
 

  "Tier Names": {
    "Vanilla": "Normal",
    "Easy": "Noob",
    "Medium": "Intermediate",
    "Hard": "Tough",
    "Nightmare": "Zombie"
  },

the names above will change in the message from language file {0} without the need to edit the language file to change the names

Edited by Krungh Crow

Share this comment


Link to comment
  "KillRewardMessage": "You recieved {0}$ for Destroying the {1} BradleyApc",

yes goes same way 
{0} is value of economics
{1} Is bradleytier

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

81.9k

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.