Jump to content

Search the Community

Showing results for tags 'text'.

  • Search By Tags

    • text ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 20 results

  1. Hello everyone! I would ask help, how id would be able to make it with what how drawdxtext announces it-in that: Start of competition 8:55 minutes left , unfortunately the drawdxtext i never could together to make friends but i would love now. thank you...
  2. Boa tarde, Gostaria de saber como colocar um texto acima de um marker, segue o script de um marker para exemplificar melhor. marker = createMarker ( 1177.4351806641, -1308.5612792969, 13.994218826294 -1, "cylinder", 1.5, 5,106,204, 50) veh = {} function pegarbike ( source )...
  3. Sooo, how can I use (I think for you well known) dxDrawTextOnElement() (client-side function, MTA Wiki site: [click]) in server-side scripts? I tried to export, plus this code: addEventHandler("onPlayerChat", resourceRoot, function(message, type_) if(type_ == 0) then call(resourceRoot, "...
  4. I can not make a DxText that displays the player's account name in screen My code (CLIENT SIDE) CHECK LINE 109 I wanted it to work this way: no one debugscript error example image
  5. I want draw a dxdrawtext to a object, but how can i do it this?
  6. where i can change the text from that circled photo??? where is placed in resources ?? in announcement isn't https://imgur.com/a/galEmaI PLEASE HELP MEEEE
  7. Guest

    Text bug

    Guys i have this script function DXdraw() --Variables local screenWidth, screenHeight = guiGetScreenSize ( ) setTimer(function() triggerServerEvent("online",getLocalPlayer()) end, 10000, 1, true) local num = getElementData ( getLocalPlayer(), "numPlayer...
  8. I want create a dxdraw rectangle and text on the map. But how to make this possible?
  9. I want create a script, which creates a 3d text with a cmd. For example, when i type "/word asd" then this make a 3d text the player position "#playername : asd", then after elapse 3 hours, the text will hide. How to make this?
  10. trollik75

    Blurry text

    Hello! I'm struggling with very annoying (at least for me) problem. Text in menu is blurry and there are strange curves around cursor. Also chat in-game is unreadable screenshot: Additional info: Windows 10 PRO 64bit I have DirectPlay turned on I have direct...
  11. So. i have little problem with client side. Console and debugmonitor3 dosen't say anything. Server Side: local onDuty = {} addCommandHandler('duty',function(player,cmd) local accName = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup('user.'..accName,aclGetGroup('Adm...
  12. local start = getTickCount() local one, one1 = -300, 604 local two, two1 = 0, 604 local screenW, screenH = guiGetScreenSize() local text = "" local pic = "j" function draw() local x,y = interpolateBetween(one, one1, 0, two, two1, 0, (now - start) / ((start + 1500) - start), "Linear") loc...
  13. i have this script, and does not update online players number, why? local online = #getElementsByType("player") local messagesList = { online.."/30", "SF", } local currentMessage = 0 addEventHandler("onClientPreRender", getRootElement(), function() local online = #getElementsByType("player"...
  14. i want edit the " Vote for next map starts in: 5 " dxtext, but i can not find it in race gamemode lua files. which file included this?
  15. Hello guys! I have small problem.. I want to disable line aftert the text in the guiCreateEdit Picture: It's possible?
  16. i added this to a nametag script: dxDrawColorText (getElementHealth(player).."%", sx-w- (offset*-10), sy - (offset*5), sx, sy - (offset*-15), tocolor(255,255,255,255), textscale*NAMETAG_TEXTSIZE or (textscale*NAMETAG_TEXTSIZE)/1.5, srfont2, "center", "center", false, false, false ) and f...
  17. i added this to a nametag script: dxDrawColorText (getElementHealth(player).."%", sx-w- (offset*-10), sy - (offset*5), sx, sy - (offset*-15), tocolor(255,255,255,255), textscale*NAMETAG_TEXTSIZE or (textscale*NAMETAG_TEXTSIZE)/1.5, srfont2, "center", "center", false, false, f...
  18. function text_render ( ) for i,v in pairs ( messages ) do local x, y, z = unpack ( v ) local sx, sy, _ = getScreenFromWorldPosition ( x, y, z ) if sx then dxDrawText ( i, sx+2, sy+2, sw, sh, tocolor ( 0, 0, 0, 255 ), 2.0, "default-bold" ) dxDrawText ( i, sx, sy, sw, sh, tocolor (...
  19. Heyo, so recently I got an awesome toptimes resource from a friend and today I fixed the positions of all elements drawn with dxDraw so that the toptimes window doesn't go outside of screen boundary on any resolution. So far, so good. But there is one problem, I don't know how to fix the elements' s...
  20. local screenW, screenH = guiGetScreenSize() local GUIEditor = { button = {}, window = {}, edit = {} } GUIEditor.window[1] = guiCreateWindow(0.35, 0.40, 0.32, 0.12, "Event hírdető panel", true) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] =...
×
×
  • Create New...