Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by Derpy

  1. Thanks for reply. I've made one topic already regarding render targets, but nobody answered.

    hey what are render targets? how do i use them? how can they help me, or be useful in some way? how do they work? i don't get it..

    I would really appreciate if you, or someone else could explain to me what exactly are render targets, how are they used(with example if you got time to show the example) and when do they become useful c:

    Sorry if i am asking too much, it's just that i don't understand how does it work nor what happens after dxSetRenderTarget() with no arguments is called, and what happens when e.g i do dxSetRenderTarget(something,true)..

    So if you, or someone can explain to me this things about render targets and what they are, it would make it easier for me to start working on them, and learning how to work with them :D

  2. hey if i wanted to make say some sort of gridlist(did it already but it always loops through tables and its really stupid imo) which has images,rectangles,etc not just texts and had some columns for instance, how could i make it so that when i scroll with mouse that everything moves? just like on the scoreboard

    is there a way to have a rectangle or something and if anything is outside it that it doesnt get rendered because its cut off or something? i would appreciate some help :)

  3. hi i have a question and i need your help to tell me which script would be better at performance

    if we have table with 1000 indexes with some data, and we needed only 25 indexes of data,which would be faster?


    function myFunction() 
       for i,v in pairs(table) do 
          if i <= 25 then 

    2. (i think this one is better at performance)

    function myFunction() 
       for i = 1,25 do 

    i think that first method would be catastrophic because it would loop 1000 indexes 60 times a second,while second method would loop only 25 indexes 60 times a second,am i correct??

  4. hey

    I see popular servers like FFS-GAMING are able to instantly, or within minutes give people donator status as soon as they've donated any money

    How would you detect in mta if somebody sent you money like this?xD

  5. I've read a little about the function which you use for this shader (dxSetShaderTransform) and it says that it can apply 3d to images, but it doesn't say anything about text. Sorry, can you please give me an example how to do 3d text when you get free time?I'm not in a hurry with this, but would like to know how to do this 3d stuff in future :)

  6. @ren i will check out the resource in couple of hours because currently i gotta go somewhere

    @blaawee thanks man it works, i don't know why the render stopped working in my resource before.. you're brilliant

    just 1 more question:

    is it possible to use this shader and apply it on dxDrawText too or?

  7. Why do you "script" if you don't even know how to do anything by yourself or do any math at all?

    if you got 1000 experience and 1500 is required to level up then percentage is

    1000/1500*100 = 66.66%

  8. hey man thanks i really appreciate that you've made a shader and whole function just for my topic :)

    you're awesome.

    but there's a problem :c

    shader is loaded successfully, code is drawing something invisible for like 7 seconds then the render just stops itself somehow

    i don't know if i'm doing anything wrong, i have tried using this test example

    local imagee = "image.png"; 
    -- ur code here 
    function testing() 

    edit: sorry, my arguments made the image go somewhere i don't know, but still the render stops working after about 7 seconds..

  9. hello i would like to have something like a vps or dedicated server or cloud server, but i really dont know which one would be the best choice and with which one could i run multiple different mta servers at once

    in here i would like to choose this VPS L


    is that vps good, is it worth it?

    or should i rent a cloud server(which according to google is pretty much like a dedicated server) and run multiple vps's on it?


    (10$ per month one)

    is this cloud server good?are cloud servers good for mta?

    sorry i am inexperienced about this, i would appreciate some help,thanks

  10. hello

    i would like to do some kind of a system where i attach data to serial

    it would look like sort of this

    serial data otherData etcData

    asd 1 2 3

    bfd 3 5 8

    how can i store the data like this?

    so every serial has its own row, but it doesn't conflict with other serials' data

    please help

  • Create New...