Jump to content

Mickoi

Members
  • Posts

    7
  • Joined

  • Last visited

Details

  • Gang
    Vitous
  • Location
    Poland

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mickoi's Achievements

Newbie

Newbie (4/54)

1

Reputation

  1. Mickoi

    Network speed

    Yeah i saw this one but i dont know how to get download speed whne downloading files on server I saw this once on server so it is possible
  2. Mickoi

    Network speed

    Hi, is there any function in mta returns network speed? For example, i need to show play his network speed at the moment for example 30MB/s, some help?
  3. Hi guys, i came to you with another question. For example, i have main_c.lua and utilities_c.lua and in main_c.lua i create onClientClick event and i need function 'isMouseIn' (check if mouse is in positions...) and i can do it by add code on top of main_c.lua at local function, but i attention when code is clear and i want to create this function in file utilities_c.lua and it will be global function so there is my question. Is that difference is big? local function and global function in other file? I hope you can read what i said! Thank you in advance.
  4. Thanks for help but finally i made a function which renew xml from file always when player is starting client resource, thanks one more time. /to close
  5. Hi, i came with question about xml files? Can i set xml file only to read for client? I mean in script i'm creating xml file and i dont want to situation that client is editing xml file and script is warning me in ds3, some ideas? I made a function which renew xml file but it isnt efficient so
  6. I have a question for you. Is it worth when all textures and fonts are in one resource and in that resource are 2 export functions? e.g. i did something like this: local TXT = {} function txt(script, txt) if TXT[script] and TXT[script][txt] then return TXT[script][txt].el else TXT[script] = {[txt] = {el = dxCreateTexture('txt/'..script..'/'..txt..'.png', 'argb', true, 'clamp')}} return TXT[script][txt].el end end For fonts is similiar function and question is, is it worth? Better would be when i create textures in resource where is render? Maybe you have other ideas Thank you in advance
×
×
  • Create New...