Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    MTA ERROR

    Reinstall it?
  2. https://wiki.multitheftauto.com/wiki/OnElementDataChange this event handler uses "source" as the element who element data has been changed, so you could just example from wiki: function outputChange(dataName,oldValue) if getElementType(source) == "player" then -- check if the element is a player local newValue = getElementData(source,dataName) -- find the new value outputChatBox("Your element data '"..tostring(dataName).."' has changed from '"..tostring(oldValue).."' to '"..tostring(newValue).."'",source) -- output the change for the affected player end end addEventHandler("onElementDataChange",getRootElement(),outputChange) This is only triggered for who element data has been changed if i'm right.
  3. I know, you have uploaded just a website if i'm right in the second version.
  4. Castillo

    MTA ERROR

    Does your video card supports GTA? if so, i would recommend reinstalling GTA and MTA.
  5. You can use this resource to create in-game GUI interfaces. https://community.multitheftauto.com/index.php?p= ... ils&id=141 It's pretty easy to use it and really usefull.
  6. Here you have an example of how does it work. https://wiki.multitheftauto.com/wiki/Int ... ng_the_GUI
  7. Post your code here, we can't guess how your script works.
  8. Hmmm, if you use this function once, when that player moves the camera stills following the target? if so, it doesn't need any timer i think.
  9. I don't get what do you want to do, could you explain it a bit better?
  10. The Kid, this guy still learning (if i'm not wrong), i would let him do what he wants to do to learn
  11. Gyu, it's not allowed to speak another language, you must use English or go to Russian section, or PM volk-rus.
  12. What The Kid said it's the similar to what i said, MTA paradise was a f*** bad idea, everyone just uses it without even learn how to do a simple Script and that really sucks.
  13. may be this addEvent("buy2", true) addEventHandler("buy2", getRootElement(), function() if ( getPlayerMoney (source) >= 2000 ) then takePlayerMoney(source, 2000) local x,y,z = getElementPosition ( source ) local trolley1 = getElementInterior ( trolley ) trolley = createObject (2780, x, y, z, 0, 0, 0 ) outputChatBox(""..getPlayerName(source).." Bought SMoke !", getRootElement(), 0, 255, 0, true) else outputChatBox(" No Money !", source, 255, 0, 0, true) end end ) This makes totally no sense... i suposed you learned more
  14. Ah, yo pensaba que el queria que no lo pudiesen tocar ni nada de eso.
  15. Castillo

    HELP LUA

    That should mean, you need a different code to create them.
  16. I don't get what do you mean, could you explain yourself better?
  17. Please, don't double-triple post, use the f** "EDIT" button.
  18. Castillo

    SQL

    You need the mysql module to use this, download it here, https://wiki.multitheftauto.com/wiki/Mysql it explains how to install it also.
  19. Another car mod https://community.multitheftauto.com/ind ... ls&id=1880
  20. Use your in-game Admin account and password, example: Solidsnake 123456
  21. No podes o,O, lo que podrias hacer es cambiarlo de dimension.
  22. I don't see why it would work here and not in your server.
  23. Impossible, it's working fine here, are you logged in as "Admin"?
×
×
  • Create New...