Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Postea como usas el evento: "enviarVariable".
  2. Es que no entiendo que queres hacer, podrias especificar?
  3. Me parece que no me entendiste, local elPlayer = getPlayerFromName(playerName) El jugador no existe.
  4. 'elPlayer' no debe ser un jugador, debe ser 'nil'.
  5. Si no tenes un elemento, nunca va a funcionar.
  6. function infectando ( ) for index, thePlayer in ipairs ( getElementsByType ( "player" ) ) do setElementData ( thePlayer, "nivel.infeccion", 0 ) end end setTimer ( infectando, 30000, 0 ) Eso querias decir?
  7. https://wiki.multitheftauto.com/wiki/Mysql#Installation
  8. He already solved his problem. AFTER we told him. No, actually he already solved it before anyone had posted ( I didn't post because it was already solved ).
  9. I'm locking this before it ends as a flame war.
  10. Download the MySQL module from here: https://wiki.multitheftauto.com/wiki/Mysql
  11. You can create colshapes and when player enter on one, it'll disable their controls. https://wiki.multitheftauto.com/wiki/Ser ... _functions Topic moved to "Scripting" section.
  12. Download the MySQL module from here: https://wiki.multitheftauto.com/wiki/Mysql The other day I was helping someone to install it, and for some reason the server wasn't loading the module.
  13. Obtene la hora de España, luego fijate la diferencia con la del servidor y ahi agregale o descontale la diferencia.
  14. Agregale o descontale segun la hora de España.
  15. Click on each of the Engine functions and read about them there.
  16. getPedTarget That function should get the target of a player/ped.
  17. It's possible with the Engine functions MTA provides: https://wiki.multitheftauto.com/wiki/Cli ... _functions Topic moved to "Scripting" section.
  18. Maybe explain what are you using this for? because that script will just cancel the damage if a vehicle crashes on you.
  19. He already solved his problem.
  20. You have missing the MySQL module, download it from here: https://wiki.multitheftauto.com/wiki/Mysql
  21. Instead of get the accountName every time, just use "playerIP" as you are getting the account name there.
×
×
  • Create New...