Jump to content

#RooTs

Members
  • Posts

    1,990
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by #RooTs

  1. I tried this and it worked. but you have an error message... if isMouseInPosition ( botX+sizeX+420, botX2+sizeX2+100, 150, 150 ) then som = playSound(click) setTimer ( function() stopSound(som) end, 50, 1 ) dxDrawImage ( botX+sizeX+420, botX2+sizeX2+100, 150, 150,"icon/chat2.png", 0, 0, 0, tocolor ( 255, 255, 255) ) else dxDrawImage ( botX+sizeX+420, botX2+sizeX2+100, 150, 150,"icon/chat1.png", 0, 0, 0, tocolor ( 255, 255, 255) ) end WARNING: mod_panel\sourceC.lua:132: Bad argument @ 'stopSound' [Expected sound at argument 1] WARNING: mod_panel\sourceC.lua:132: Bad argument @ 'stopSound' [Expected sound at argument 1] WARNING: mod_panel\sourceC.lua:132: Bad argument @ 'stopSound' [Expected sound at argument 1] [DUB x10] WARNING: mod_panel\sourceC.lua:132: Bad argument @ 'stopSound' [Expected sound at argument 1] [DUB x5] is possible add the playSound within of render ???
  2. hello guys, is there any easier way to. so I can move the mouse in a certain place, and make a sound? dx line dxDrawImage ( botX+sizeX+417, 140, 150, 150, isMouseInPosition ( botX+sizeX+417, 140, 150, 150 ) and "icon/fu2.png" or "icon/fu1.png", 0, 0, 0, tocolor ( 255, 255, 255) ) position botX+sizeX+417, 140, 150, 150 my attempt function ClientMouseEnter (_,state) if painelAnim == true then if state == "down" then if isCursorOnElement (botX+sizeX+417, 140, 150, 150) then playSound(click) end end end end addEventHandler ("onClientMouseEnter", root, ClientMouseEnter)
  3. resolveu ? se não, dá uma lida na 5ª regra deste tópico https://forum.multitheftauto.com/viewtopic.php?f=114&t=48868
  4. setElementData não irá resolver, procure usar setAccountData
  5. abre as portas do seu modem. pode ser ele a causa disso
  6. leia atentamente o meu roteiro https://community.multitheftauto.com/in ... ls&id=6561
  7. deixa a if do fade fora da render man
  8. skin https://community.multitheftauto.com/ind ... s&id=12735 https://community.multitheftauto.com/ind ... s&id=12734 https://community.multitheftauto.com/ind ... s&id=12736 DONE
  9. Onix, eu acho q seu exemplo não vai funcionar. mais se funcionar vai ser bizarro kkkkkk
  10. eu já falei pra vc q da pra fazer o setPedAnimation no lado do server.
  11. você está em uma área portuguesa
  12. good design. used a part of my code from my other hud, SASNet. more it was great, congratulations. if you need help, contact me
  13. try this --server function onWaste() triggerClientEvent (source,"showSpawn") end addEventHandler("onPlayerWasted", root, onWaste) --client function onWaste2() addEventHandler("onClientRender", root, NameRender) end addEvent("showSpawn", true) addEventHandler("showSpawn", root, onWaste2) or --client function NameEvent2() addEventHandler("onClientRender", root, NameRender) end addEventHandler("onClientPlayerWasted", root, NameEvent2)
  14. já existe um servidor com esse nome. terá 24hs para você muda esse nome. ou irei denuncialo para os administradores do mta e consequentemente terá o ip do servidor bloqueado.
  15. posso fazer isso pra você por um preço favoravel.
  16. New Version: 4.0 | PT-BR - released! http://i.imgur.com/y0LQRgK.png http://i.imgur.com/GkXIdOz.png sold to a Brazilian server. enter in server,wait for the server load and press F5.
×
×
  • Create New...