Jump to content

#RooTs

Members
  • Posts

    1,991
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by #RooTs

  1. SOLUTION this may affect the performance of the MTA servers? I have friends who have servers, and their server is falling. not just one server, most are more than 20 servers that are falling
  2. so I'll steal your cashe and post to download. with my credits think that right?
  3. the site comunity it is offline
  4. start to edit the scripts from the community, and I learned, so like this. I already passed the beginner level, and I'm in the middle
  5. @~#Pedro, digite no chat /debugscript 3 e mostre os erros, se quiser tira um print, upa a print e mande aki
  6. LOLL I have not used resourceRoot, read my example of script I used getRootElement()
  7. just I gave an example for him, the more he did not understand
  8. client.lua function takeFood() if source == wDrink then triggerServerEvent("tDrink", resourceRoot) guiSetVisible(eatMenu,false) showCursor(false) end end addEventHandler("onClientGUIClick", root, takeFood) --stop animation [example button 02] function StopAnimation() if source == wDrink then triggerServerEvent("AnimationOff", resourceRoot) guiSetVisible(eatMenu,false) showCursor(false) end end addEventHandler("onClientGUIClick", root, StopAnimation) -- look stop server.lua addEvent ("tDrink", true) addEventHandler ("tDrink", getRootElement(), function() setPedAnimation ( source, "DANCING", "dnce_m_b") end ) --stop animation [example button 02] addEvent ("AnimationOff", true) addEventHandler ("AnimationOff", getRootElement(), function() setPedAnimation ( source ) end )
  9. create one button to add and stop, in panel Animation: [On] [Off]
  10. in my animation panel is so addEvent ("AnimationOn", true) addEventHandler ("AnimationOn", getRootElement(), function() setPedAnimation ( source, "DANCING", "dnce_m_b") end ) -------- addEvent ("AnimationOff", true) addEventHandler ("Animationoff", getRootElement(), function() setPedAnimation ( source ) end )
  11. Look my example server.lua function dance (source) daBlockz = getElementData(root,"blockz") daAnimz = getElementData(root,"animz") if daBlockz == "dancing" and daAnimz == "dnce_m_b" then setPedAnimation(source,false) else setPedAnimation ( source, "DANCING", "dnce_m_b") end end addCommandHandler("dance1",dance)
  12. quis dizer 10.83 de download [total do server], hoje ainda não entrei mais o dia que entrei levo mais de 20 min para baixar
  13. place the server side function setPedAnimation --example setPedAnimation ( thePlayer, "VENDING", "VEND_Drink_P", 2.1, false) else setPedAnimation ( thePlayer )-- stop animation
  14. Hello Admin, the user (C4N3L4) stole my edition, came into my server and stole the cache. thereafter, gave only a small edited and launched look video if you want more proof, do I send my script by MP Real developer: https://community.multitheftauto.com/ind ... w&pic=7644 fake/stolen: https://community.multitheftauto.com/ind ... s&id=11017
  15. LOLL, eu também tenho o mapa F11 substituído e não sabia disso!
  16. yes you can, you must be new in LUA, right friend? addEventHandler("onClientRender", root, function() dxDrawImage(x*400, y*100,x*500, y*400, ":Lay-New/window.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText("Zmień Skin", x*825, y*200, x*477, y*34, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) end) -- close function -- or function Event() dxDrawImage(x*400, y*100,x*500, y*400, ":Lay-New/window.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText("Zmień Skin", x*825, y*200, x*477, y*34, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) end addEventHandler("onClientRender", root, Event )
×
×
  • Create New...