Jump to content

RyaanThiago

Members
  • Posts

    14
  • Joined

  • Last visited

Details

  • Gang
    Ajuda

RyaanThiago's Achievements

Square

Square (6/54)

0

Reputation

  1. Algumas pessoas fazem Botao ON/OFF usando "imagem outras usando rectangle" eu queria fazer usando rectangle assim como o freeroam do Blood como alguns botao seu tambem como do painel do veiculo V2 eu acho nao sei oq estou fazendo errado se alguem pouder me ajudar?
  2. Na verdade eu queria saber oq significa essa ultima coisa dxDrawRectangle(x*1181, y*358, x*92, y*19, cor[9], false) Porque, Tipo if (levelVisible == true) then dxDrawRectangle(466, 474, 152, 33, tocolor(0, 0, 0, 145), false) dxDrawRectangle(x*1181, y*358, x*92, y*19, cor[9], false) dxDrawRectangle(498, 514, 41, 27, tocolor(0, 255, 0, 255), false) dxDrawText("ON", 675, 524, 704, 536, tocolor(255, 255, 255, posX1), x*1.00, font_MenuStatus, "center", "center", false, false, false, false, false) end Essa aqui eu peguei somente do texto "ON" dai coloquei Somente a Position dxDrawText("ON", 675, 524, 704, 536, tocolor(255, 255, 255, posX1), x*1.00, font_MenuStatus, "center", "center", false, false, false, false, false) Essa e o Rectangle no caso o Verde de "ON" dxDrawRectangle(498, 514, 41, 27, tocolor(0, 255, 0, 255), false) Eu queria saber oq seginifica isso agora dxDrawRectangle(x*1181, y*358, x*92, y*19, cor[9], false) Nao sei se voce conseguil entender mais se entendeu tenta me explicar.
  3. if (levelVisible == true) then dxDrawRectangle(466, 474, 152, 33, tocolor(0, 0, 0, 145), false) dxDrawRectangle(x*1181, y*358, x*92, y*19, cor[9], false) dxDrawRectangle(498, 514, 41, 27, tocolor(0, 255, 0, 255), false) dxDrawText("ON", 675, 524, 704, 536, tocolor(255, 255, 255, posX1), x*1.00, font_MenuStatus, "center", "center", false, false, false, false, false) end if (levelVisible == false) then dxDrawRectangle(x*1178, y*355, x*98, y*25, tocolor(0, 0, 0, 255), false) dxDrawRectangle(x*1181, y*358, x*92, y*19, cor[9], false) dxDrawRectangle(x*1227, y*358, x*46, y*19, tocolor(255, 0, 0, 255), false) dxDrawText("OFF", x*1227, y*358, x*1273, y*377, tocolor(255, 255, 255, posX1), x*1.00, font_MenuStatus, "center", "center", false, false, false, false, false) end Galera alguem pode me informar quais sao as cordenadas corretamentes pra colocar 1 por uma ?
  4. O botao do tancar veiculo e o resto aee que quando voce aperta ele ele destiva e o botao vai pro lado sabe. Por Favo se pouder me ajudar me ajude.
  5. Whats i dont understand. explain me anyone what need to this function work correctly
  6. Rots eu queria saber mais ou menos oq voce fais para fazer um botão em painels como este se nao abrir http://imgur.com/Qz7mzp2
  7. if painel == true then if state == "down" then if isCursorOnElement (627, 227, 165, 167) then local theVehicle = getPedOccupiedVehicle ( localPlayer ) thetimer = setTimer ( rainbow, 1000, 1, theVehicle ) end end end end function rainbow (vehicle) local vehicle = getPedOccupiedVehicle ( localPlayer ) local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) setVehicleColor( vehicle, r, g, b ) end function rainbowstop () killTimer ( thetimer ) end addCommandHandler ( "rainbow", rainbowbotches ) addCommandHandler ( "stoprainbow", rainbowstop ) So guys what's wrong with it. it's not working why ? guys something is wrong ?
  8. Someone tell me function name Rainbow ? is a function that changes the color of your vehicle can someone tell me the name of this function?
  9. Eu sou amigo do MrDante. Mais vlws
  10. When join a area green like area praia,Cj,Drop etc.. Then.When you leave the green area the handling back to handling the person was wearing
  11. Galera eu preciso de que o Handling fica a 0 quando entrar em uma area como "Praia,CJ" etc.. e se a pessoa sair dessa area o handling volta quando voce sair dessa area ? Me ajudem por favor
  12. Guys i want a sytem Handling when you join in a area like Praia, etc.. your Handling set to 0 then. when you leave this area it back again please i need help im learning Scripting now im new with scripts please help me guys. Sry bad English im from brazil
  13. Hello guys i wanted know how to get all players with CMD anyone know ? Sent me Function plz I wanted too a freeze all players just if this player join in event ? sent me function too please guys Thx so much
  14. Im sry post here but i need help with Txd + Dff how to create Skins,Cars etc... with Zmodeler im canfunded Eu moro no brasil se alguem souber ajudar me chame Skype: ryaan.thiago
×
×
  • Create New...