Quote Originally Posted by EvoloZz View Post
Hey, I was making a hud elem and then got this error:
PHP Code:
localized string "RANK_RANK" not precached: (file 'maps/mp/gametypes/_tdm.gsc'line 579)
 
self.hud.label = &"RANK_RANK"
It is supposed to read from localized string file, but it doesn't seem to work, I have been using that method already, but now it doesn't work anymore, the file is like this:

rank.str
PHP Code:
REFERENCE           RANK
LANG_ENGLISH        
"Rank:"

ENDMARKER 
Ofc I am not going to precache it, because it will otherwise read it as a string.
If somebody can help, I will appreciate that

-EvoloZz
what do you mean you are not going to precache it because it will read it as a string? It is a string. No two ways about it.

It's very simple - either you precache it, like the game is telling you to do. Or, you will have to put up with the error.