• KillFeed name for an entity
    2 replies, posted
I currently have an entity that deals damage to the player using CTakeDamageInfo(), but when the player is killed, it uses the class name. https://files.facepunch.com/forum/upload/148553/b00dd848-92ba-447e-8cb1-f807ff72d663/image.png Of course this is ugly. I couldn't find anything that shows where to set the name for this. (Everything was either creating a custom killfeed or creating the kill icon) So, where would I tell GMod what I want this to be called?
Use language.Add to add a translation string for your entity class.
Ah right, shoulda been obvious but i've never messed with language stuff. Thanks a million.
Sorry, you need to Log In to post a reply to this thread.