Jump to content

#RooTs

Members
  • Posts

    1,991
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by #RooTs

  1. anyone here know?
  2. 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 ???
  3. no other way?
  4. 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)
  5. resolveu ? se não, dá uma lida na 5ª regra deste tópico https://forum.multitheftauto.com/viewtopic.php?f=114&t=48868
  6. mandei um MP pra vc. leia ai
  7. do firewall tbm ???
  8. setElementData não irá resolver, procure usar setAccountData
  9. abre as portas do seu modem. pode ser ele a causa disso
  10. kkkkkkk
  11. server em host ou no seu pc ??
  12. leia atentamente o meu roteiro https://community.multitheftauto.com/in ... ls&id=6561
  13. deixa a if do fade fora da render man
  14. 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
  15. Onix, eu acho q seu exemplo não vai funcionar. mais se funcionar vai ser bizarro kkkkkk
  16. eu já falei pra vc q da pra fazer o setPedAnimation no lado do server.
  17. qual botão ?
  18. você está em uma área portuguesa
  19. #RooTs

    Creator areas

    very nice
  20. good design. used a part of my code from my other hud, SASNet. more it was great, congratulations. if you need help, contact me
  21. 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)
  22. 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.
  23. posso fazer isso pra você por um preço favoravel.
×
×
  • Create New...