Jump to content

Hello.


xeon17

Recommended Posts

Posted

Hello all , i wanna ask how i can create something like this

1u8l.png

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 :)

Posted
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.

Posted

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....

Posted
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 :)

Posted

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.

Posted

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).

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...