Dr_Cox1911 Posted February 20, 2018 Share Posted February 20, 2018 For some reason my JDgui doesn't want to start right now, so I can't check the java source for this. I want to display a icon above a players head just like the skull when the safety is off. I looked through the lua files and didn't find anything related to the skull, only to the safety indicator at the bottom right of the screen. Link to comment Share on other sites More sharing options...
Fenris_Wolf Posted February 20, 2018 Share Posted February 20, 2018 The button seems to call toggleSafetyServer Looking around in the LuaManager.GlobalObject class API, i can see a getRenderer() function. Possibly use getRenderer():render(Texture tex, float x, float y, float width, float height, float r, float g, float b, float a) or one of the variations of that method? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now