Jump to content

SpoC^

Members
  • Posts

    90
  • Joined

  • Last visited

Everything posted by SpoC^

  1. Original https://community.multitheftauto.com/ind ... ls&id=6561 Stolen https://community.multitheftauto.com/ind ... ls&id=8968 DONE
  2. hello friends, what is happening with my script, everything is fine. more it just gets for a while on the screen then disappears what's wrong? in, /debugscript appears [WARNING] client.lua bad argument function DXINFO ( ) local largura = 350 dxDrawImage(x*310, y*560, largura, 22, "info/fundo.png", 0,0,0, tocolor(0, 0, 0, 130)) dxDrawImage(x*310, y*585, largura, 22, "info/fundo.png", 0,0,0, tocolor(0, 0, 0, 130)) dxDrawImage(x*310, y*610, largura, 22, "info/fundo.png", 0,0,0, tocolor(0, 0, 0, 130)) dxDrawImage(x*310, y*635, largura, 22, "info/fundo.png", 0,0,0, tocolor(0, 0, 0, 130)) dxDrawImage(x*310, y*660, largura, 22, "info/fundo.png", 0,0,0, tocolor(0, 0, 0, 130)) dxDrawImage(x*310, y*685, largura, 22, "info/fundo.png", 0,0,0, tocolor(0, 0, 0, 130)) local myFont = dxCreateFont( "info/font.ttf", 10 ) local Text = 150 local mais = 4 local alin = 4 dxDrawBorderedText("ping: 00" ,x*310+alin, y*560+mais, x*310, y*40,tocolor(255, 255, 255, 100),1.0,myFont,"left","top",false,false, false) dxDrawText("#ffde00ping: #FFFFFF00" ,x*310+alin, y*560+mais, x*310, y*40,tocolor(255, 255, 255,Text+100),1.0,myFont,"left","top",false,false,false,true) dxDrawBorderedText("skin id: 00" ,x*310+alin, y*585+mais, x*310, y*40,tocolor(255, 255, 255,Text-100),1.0,myFont,"left","top",false,false,false) dxDrawText("#ffde00skin id: #FFFFFF00" ,x*310+alin, y*585+mais, x*310, y*40,tocolor(255, 255, 255,Text+100),1.0,myFont,"left","top",false,false,false,true) dxDrawBorderedText("hora real: 00:00:00 jogo: 00:00" ,x*310+alin, y*610+mais, x*310, y*40,tocolor(255, 255, 255,Text-100),1.0,myFont,"left","top",false,false,false) dxDrawText("#ffde00hora real: #FFFFFF00:00:00 #ffde00jogo: #FFFFFF00:00" ,x*310+alin, y*610+mais, x*310, y*40,tocolor(255, 255, 255,Text+100),1.0,myFont,"left","top",false,false,false,true) dxDrawBorderedText("nome do veiculo: nenhum" ,x*310+alin, y*635+mais, x*310, y*40,tocolor(255, 255, 255,Text-100),1.0,myFont,"left","top",false,false,false) dxDrawText("#ffde00nome do veiculo: #FFFFFFnenhum" ,x*310+alin, y*635+mais, x*310, y*40,tocolor(255, 255, 255,Text+100),1.0,myFont,"left","top",false,false,false,true) dxDrawBorderedText("jogadores online: 100/120" ,x*310+alin, y*660+mais, x*310, y*40,tocolor(255, 255, 255,Text-100),1.0,myFont,"left","top",false,false,false) dxDrawText("#ffde00jogadores online: #FFFFFF100/120" ,x*310+alin, y*660+mais, x*310, y*40,tocolor(255, 255, 255,Text+100),1.0,myFont,"left","top",false,false,false,true) dxDrawBorderedText("login: Test senha: ******" ,x*310+alin, y*685+mais, x*310, y*40,tocolor(255, 255, 255,Text-100),1.0,myFont,"left","top",false,false,false) dxDrawText("#ffde00login: #FFFFFFTest #ffde00senha: #FFFFFF******" ,x*310+alin, y*685+mais, x*310, y*40,tocolor(255, 255, 255,Text+100),1.0,myFont,"left","top",false,false,false,true) end
  3. @aboudmad Thanks, worked perfectly
  4. Hello Friends, someone can give me an example of how would the function of the height of the aircraft Image my result, no sucessful local vehicle = getPedOccupiedVehicle(getLocalPlayer()) local height = getAircraftMaxHeight(vehicle) dxDrawRectangle(sW*255, sH*679, sW*50, sH*16, tocolor(0, 0, 0, 100), false)--fundo dxDrawBorderedText(height.."Mts",sW*150, sH*680, sW*605/2, sH*30/2,tocolor(255,255,255,255),1.0,"default-bold","right","top",false,false,false) local height = getAircraftMaxHeight() dxDrawRectangle(sW*255, sH*679, sW*50, sH*16, tocolor(0, 0, 0, 100), false)--fundo dxDrawBorderedText(height.."Mts",sW*150, sH*680, sW*605/2, sH*30/2,tocolor(255,255,255,255),1.0,"default-bold","right","top",false,false,false) independent of height gets always in 800
  5. Dealman, thanks for your help! you're a good person.
  6. My God, nobody do know how to help me, what are here? is just a calculation in alpha to solve
  7. my script no function local playerX, playerY, playerZ = getElementPosition( getLocalPlayer()) local playerZoneName = getZoneName( playerX, playerY, playerZ ) dxDrawRectangle(sW*70, sH*1355/2, sW*150, sH*35/2, tocolor(0, 0, 0, 100), false) dxDrawBorderedText(playerZoneName,sW*75, sH*1360/2, sW*515/2, sH*30/2,tocolor(255,255,255,255),1.0,"default-bold","left","top",false,false,false)
  8. friends, me help please
  9. Sorry my english more his attempt did not help me
  10. I am already using this function you not helped in nothing
  11. Hello, I'm new here, I'm trying to get the name of the area down after appearing on my screen want that it to delete after appearing can someone help me? my script alpha = 255 setTimer( function () if (dx ) then destroyElement(dx) end local playerX, playerY, playerZ = getElementPosition( getLocalPlayer()) local playerZoneName = getZoneName( playerX, playerY, playerZ ) local dx = dxDrawRectangle(sW*70, sH*1355/2, sW*150, sH*35/2, tocolor(0, 0, 0, 100/alpha), false) dxDrawBorderedText(playerZoneName,sW*75, sH*1360/2, sW*515/2, sH*30/2,tocolor(255,255,255,alpha - 50),1.0,"default-bold","left","top",false,false,false) alpha = alpha - 50 end,3,5000) My second attempt function show(type) a = 100 aR = 255 rendered = true addEventHandler("onClientRender", root, NameArea) addEventHandler("onClientRender", root, startAlpha) end addEvent("output", true) addEventHandler('output', root, show) local playerX, playerY, playerZ = getElementPosition( getLocalPlayer()) local playerZoneName = getZoneName( playerX, playerY, playerZ ) function NameArea dxDrawRectangle(sW*70, sH*1355/2, sW*150, sH*35/2, tocolor(0, 0, 0, a), true) dxDrawBorderedText(playerZoneName,sW*75, sH*1360/2, sW*515/2, sH*30/2,tocolor(255,255,255,aR),1.0,"default-bold","left","top",false,false,false) end function startAlpha() if aR > 0 then aR = aR - 1 end if a > 0 then a = a - 1 end if a == 0 then removeEventHandler("onClientRender", root, NameArea) removeEventHandler("onClientRender", root, startAlpha) end end function original of GTA:SA
×
×
  • Create New...