Search the Community
Showing results for tags 'text'.
-
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...
-
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 )...
-
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, "...
- 2 replies
-
- dxdrawtext
- dxdrawtextonelement
-
(and 7 more)
Tagged with:
-
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
-
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
-
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...
-
I want create a dxdraw rectangle and text on the map. But how to make this possible?
-
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?
-
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...
-
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...
- 3 replies
-
- dxdraw3dtext
- dayz
- (and 4 more)
-
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...
-
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"...
-
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...
-
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...
-
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 (...
-
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...
- 8 replies
-
- text
- rectangles
-
(and 6 more)
Tagged with:
-
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] =...