TrapLord Studios™ Posted March 24, 2014 Share Posted March 24, 2014 I'd like to do the following: When a player is online, you can do /players and each player would be listed out on a DxRectangle on a separate line.Thanks in Advance. Link to comment
WhoAmI Posted March 24, 2014 Share Posted March 24, 2014 Just do a 'for' and get player elements, then put in it dxDrawText with automatically changing position depends of for's key. Link to comment
Overkillz Posted March 24, 2014 Share Posted March 24, 2014 Im noob on this, but i think u shoul use dxDrawRectangle: https://wiki.multitheftauto.com/wiki/DxDrawRectangle dxDrawText: https://wiki.multitheftauto.com/wiki/DxDrawText addCommandHandler: https://wiki.multitheftauto.com/wiki/AddCommandHandler Optional: If u wont use dxDrawRectangle and dxDrawText u can use: dxDrawImage: https://wiki.multitheftauto.com/wiki/DxDrawImage Im not sure of this, because im starting with this, but im sure in a 70 % Link to comment
Dealman Posted March 24, 2014 Share Posted March 24, 2014 getElementsByType dxDrawRectangle dxDrawText for in ipairs do Draw the rectangle, create the text inside the rectangle using offsets. Link to comment
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