Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. I take it that you haven't heard about that offline compilers won't be able to be used soon, you can only use the luac.multitheftauto.com compiler.
  2. Tenes un script que causa que se ejecute infinitamente.
  3. Try using: "127.0.0.1" instead of "localhost".
  4. You're talking about the freeroam skin list? if so, then you can go to the freeroam resource and open "skins.xml" and change it there.
  5. Castillo

    DD ! command

    Why is not working? do you get any debug error?
  6. It's on the "stopMinigunDamage" function which you should also add of course, or you can also do this: function stopDamage ( ) addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), cancelEvent ) end
  7. Because that's wrong. You must do something like this: function stopDamage ( ) addEventHandler ( "onClientPlayerDamage", getLocalPlayer(), stopMinigunDamage ) end Then: addEventHandler ( "onClientGUIClick", unlimited, stopDamage, false )
  8. Well, that's because you put the event just when script starts, is not inside a function which is triggered when click a GUI element.
  9. You can setup one on the same server where you host the MTA server.
  10. addEventHandler ( "onClientGUIClick", lekarz, lekarzz) addEventHandler ( "onClientGUIClick", strazak, strazakk) addEventHandler ( "onClientGUIClick", szeryf, szeryff) addEventHandler ( "onClientGUIClick", pilot, pilott) addEventHandler ( "onClientGUIClick", mechanik, mechanikk) addEventHandler ( "onClientGUIClick", robotnik, robotnikk) You forgot about the "getPropagated" argument. addEventHandler ( "onClientGUIClick", lekarz, lekarzz, false) addEventHandler ( "onClientGUIClick", strazak, strazakk, false) addEventHandler ( "onClientGUIClick", szeryf, szeryff, false) addEventHandler ( "onClientGUIClick", pilot, pilott, false) addEventHandler ( "onClientGUIClick", mechanik, mechanikk, false) addEventHandler ( "onClientGUIClick", robotnik, robotnikk, false)
  11. And you may want to convert that to string, or make a check in case the player has no data.
  12. Post the code. Yes, that's correct.
  13. Could be that they don't allow remote connections.
  14. triggerClientEvent ("ok", source) Change that to: triggerClientEvent ( source, "ok", source )
  15. Post the server side part too, the problem is obviously there.
  16. Castillo

    Help

    What do you mean?
  17. Castillo

    got Area

    I don't understand what you said, please explain yourself.
  18. El tema es que no podes enviar timers al client side.
  19. Are you sure that the error isn't on this line? pizzasLeft = guiCreateLabel (590, 182, 195, 55, "PIZZAS LEFT: " .. getElementData (source, "pizzajob.pizzas"), false)
×
×
  • Create New...