-
Posts
29 -
Joined
-
Last visited
About DaeRoNz
- Birthday August 23
Details
-
Gang
-
-
Location
Portugal
-
Occupation
-
-
Interests
-
Recent Profile Visitors
1,179 profile views
DaeRoNz's Achievements
Advanced Member (8/54)
4
Reputation
-
-
DaeRoNz started following Converter GTA MAP , draw RenderTarget and [Release]thisdp's Dx GUI System
-
Não aparece os draw que usa a shader do resource dgs. Alguem sabe o porque e uma solução para isso ? local sx,sy = guiGetScreenSize() local x,y = (sx/1920), (sy/1080) local dxScale = ((x/1920) / (y/1080)) renderTarget = dxCreateRenderTarget(sx,sy, true) loadstring(exports["dgs-master"]:dgsImportFunction())() local roundedRect = dgsCreateRoundRect(10, false, tocolor(255, 255, 255), nil, false) local roundRectDown = dgsCreateRoundRect({{10, false}, {10, false}, {0, false}, {0, false}}, tocolor(255, 255, 255, 255), nil, false) local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted", "area_name", "radio", "vehicle_name" } for _, component in ipairs(components) do setPlayerHudComponentVisible(component, false) end function drawHud() dxSetRenderTarget(renderTarget, true) dxDrawImage(x*1560,y*40,x*260,y*70, roundedRect, 0, 0, 0, tocolor(36, 36, 36,190), true) dxDrawRectangle(10, 50, 40, 40, tocolor(math.random(255), math.random(255), math.random(255))) dxDrawImage(x*1590,y*100,x*110,y*20, roundedRect, 0, 0, 0, tocolor(40, 40, 40, 240), true) dxDrawImage(x*1590,y*100,x*110,y*20, roundedRect, 0, 0, 0, tocolor(1, 202, 129, 245), true) dxDrawImage(x*1710,y*100,x*80,y*20, roundedRect, 0, 0, 0, tocolor(40, 40, 40, 240), true) dxDrawImage(x*1710,y*100,x*50,y*20, roundedRect, 0, 0, 0, tocolor(1, 150, 202, 245), true) dxSetRenderTarget() dxDrawImage(220, 25, 500,500, renderTarget, -10,0,0) end addEventHandler("onClientRender", root, drawHud)
-
@thisdp is possible change border color and size in element dgsCreateRoundRect ? if yes how .. i tryed some property but nothign work
-
addCommandHandler( global.Comando, function(playerSource, cmd, ...) local conta = getAccountName(getPlayerAccount(playerSource)) if ( isObjectInACLGroup ( "user.".. conta, aclGetGroup ( "Superior" ) ) ) then local text = table.concat({...}, " ") if text then local namePlayer = getPlayerName(playerSource) triggerClientEvent(root, "KKZinho:AnunciarStaff", playerSource, namePlayer, text) end else return end end)
-
Ajuda: dxDrawTextOnElement (Apenas em Policiais)
DaeRoNz replied to Drosdek Developer's topic in Programação em Lua
O código seria algo deste género. addEventHandler("onClientRender", getRootElement(), function () for k,v in ipairs(getElementsByType("player")) do if getElementData(v,"EmServico") == true then dxDrawTextOnElement(v,"Em Serviço",1,20,0,0,255,255,1,"arial") end end end) Se você está a usar de maneira diferente mostre seu código.- 2 replies
-
- dxdrawtextonelement
- dx
-
(and 1 more)
Tagged with:
-
addEventHandler( 'onPlayerLogin', getRootElement(), function ( _, acc ) local IDplayer = getAccountData(acc, "ID") setElementData(source, "ID", IDplayer) end )
-
Ola Guilherme , usa a função toggleControl . ex: toggleControl ( "change_camera", false )
-
EDIT : IDK WHAT I MADE BUT IS NOW WORKING ------------------------------------------- them i apply the code : DGS:dgsSetVisible( Edit, false ) DGS:dgsFocus(image1) DGS:dgsSetEnabled ( Edit, false ) disappears correctly but cursor still on screen. only clicking somewhere the cursor show off. How can i do to cursor show off with the dgsSetVisible false. another thing is if i m in car doing this the edit box dont type the letters
-
Encontrei o topico, peço desculpa pelo topico desnecessario
-
bom dia, peço desde já desculpa se é o lugar errado ou se já existe um tópico similar. Quero saber se existe alguma maneira de converter mapas de gta para mta. Ou seja ( IPL PARA MAP) Sim eu sei existe o ( http://gtamap.delux-host.com/converter/ ) map ele nao converte as rotaçoes. Existe alguma alternativa que seja completa com as rotações ? Obrigado
-
You need translate your server to english, i cant even register / login because the language
-
Need some updates the code. I don't have the knowledge to do it. My bot disconnet after some hours. and the process back on but bot not. I need restart app all days. ** If i update the discord folder bot not work. So i think the code need some updated.
-
I dont know if this help but. If i open painel Admin behind the bind t dont work. but if i close admin painel and type t again it work.
-
yes dont work. .. so you can fix the : dgsSetInputMode("no_binds_when_editing") ?
-
when I type in edit if i press t the bind go for chat . Have any way to fix that ? the dgsSetInputMode("no_binds_when_editing") still bind the chat