xeon17 Posted February 10, 2014 Share Posted February 10, 2014 Hello all , i wanna ask how i can create something like this TAPL said me i need to use DxDrawRectangle I readed the wiki and all but i still no understand how i can do it , i'm begginer at lua. a good extample can be usefull for me. Thanks Link to comment
Karuzo Posted February 10, 2014 Share Posted February 10, 2014 Do you mean the Rectangle only or the Score's too ? For the dxDrawRectangle --> there's an example in the wiki. Link to comment
xeon17 Posted February 10, 2014 Author Share Posted February 10, 2014 Do you mean the Rectangle only or the Score's too ? For the dxDrawRectangle --> there's an example in the wiki. For everything , the 2 teams their deaths the time and the score. Yes i seen but i really no understand the wiki so i asked here if someone can tell me something better about it or give me an extample. Link to comment
Bonsai Posted February 10, 2014 Share Posted February 10, 2014 Why don't you start with something more simple? If you are a beginner, this is pretty hard stuff. And if you don't understand the wiki.... Link to comment
xeon17 Posted February 10, 2014 Author Share Posted February 10, 2014 Why don't you start with something more simple?If you are a beginner, this is pretty hard stuff. And if you don't understand the wiki.... Because i need this all simple stuff i allerdy did Link to comment
Saml1er Posted February 11, 2014 Share Posted February 11, 2014 My dear, try to search for examples in google. Trust me, you'll find what you need. Btw you can only create the rectangle with dxDrawRectangle and for displaying text you'll need to use dxDrawText. Link to comment
Anubhav Posted February 11, 2014 Share Posted February 11, 2014 I Know how to do this things. To make it visible and light enough like it set its alpha to 170 and its color to 0,0,0 Link to comment
manve1 Posted February 11, 2014 Share Posted February 11, 2014 For this type of script you will need to use both sides (client,server), for client it's easy as you won't need timers if you're using dx functions (dxDrawText,dxDrawRectange), of course to make it visible you need events (onClientRender,onClientPreRender), for the server side you will need to create your own system of saving stats on how many people were killed, and I assume it is going to be used in a team-death match server, so you will need to get peoples teams when they kill someone then trigger it to client side to display it, or save it for later use (for example: when the match ends, the scores are shown). Link to comment
xeon17 Posted February 11, 2014 Author Share Posted February 11, 2014 For this type of script you will need to use both sides (client,server), for client it's easy as you won't need timers if you're using dx functions (dxDrawText,dxDrawRectange), of course to make it visible you need events (onClientRender,onClientPreRender), for the server side you will need to create your own system of saving stats on how many people were killed, and I assume it is going to be used in a team-death match server, so you will need to get peoples teams when they kill someone then trigger it to client side to display it, or save it for later use (for example: when the match ends, the scores are shown). sounds hard but I'll try it , i understand it now thanks 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