Jump to content

Renkon

Members
  • Posts

    876
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Renkon

  1. http://www.java2s.com/Code/Java/Develop ... status.htm As a Java developer, this may come handly for you
  2. Let's say you trigger to the Client an event called "carEntered", as an example. We can do the following clientside. addEventHandler("carEntered", root, function() -- bunch of code triggerServerEvent("checkEvent", localPlayer) end ) So we trigger a check to the Server. And we can take a look like this: isChecked = false; addEventHandler("checkEvent", root, function() isChecked = true; end) If necessary, after triggering the client event you could create a timer counting 2000 miliseconds to then check if isChecked is true. Do you get what I mean now'
  3. Renkon

    mysql problem

    I'm sorry, but that script has been stolen from valhalla gaming. We're not able to help you. Please create your own system or download a legal one.
  4. A possible way to realize that would be to trigger a serverSide Event as a response to that Client event. If after, for instance, two seconds, the event is not triggered (server-sided one), it means it has been canceled. Like: From Server > Client Client responses to server No response? cancelled
  5. Renkon

    SQL

    Could somebody explain me why do stored procedures have better performances than standard queries and why is it sometimes more useful to query to a view than to a table? Thanks in advance. PS: I'm back to scripting
  6. El color de fondo del panel de registro contrasta mucho con el transparente del de login, y en consecuencia queda mal. Creo que si le pones alguna tonalidad de gris a negro quedaría muuucho mejor. Desde ya el panel de login, 9/10, y el de registro está un poco feo comparado con el de login. Muy buen trabajo
  7. En realidad no se crean scripts. Se crean recursos. Estos recursos son interpretados. Para ser interpretados son leidos, y es exactamente lo mismo que ocurre con un programa. Es programación, pero de una forma distinta a la normal No te pregunté como funciona, en la wiki de mta dice Scripting, pero si para ti eso es programación, es cosa tuya, me quedo con lo de la wiki. http://es.wikipedia.org/wiki/Script_(inform%C3%A1tica) Claramente tus niveles de informática son muy bajos. Con responder eso me demuestras tu erróneo pensamiento. ¿Por qué crees que se llaman RECURSOS?. Un script no es ni más ni menos que un 'archivo' que se lee e interpreta. Justamente, la programación lee esos scripts, y no es ni más ni menos que un SINÓNIMO. En el caso de MTA, no se programa de manera convencional como en C, C++, C#, VB, Java, Python, Perl, etc. En este caso se puede testear todo en un programa (MTA) que no es exactamente una IDE (te invito a buscar que es). Si quieres aprender más, dejame explicarte que scriptear es un sinónimo de programar que unicamente es usado aquí de manera común. Buena suerte y sigue aprendiendo. Dr. Renkon
  8. En realidad no se crean scripts. Se crean recursos. Estos recursos son interpretados. Para ser interpretados son leidos, y es exactamente lo mismo que ocurre con un programa. Es programación, pero de una forma distinta a la normal
  9. lua no es un lenguaje de programación. lua si es un lenguaje de programación.
  10. I love your server, it's a pity it's not that played.
  11. What a luxurious job here... keep it up!
  12. Eso no se ejecuta una única vezal presionar o mantener apretado? Luego se debería desactivar..
  13. GTA V, GTA V is truly outrageous. It is Σ(n = 1; 3 "< truly, >") outrageous.
  14. Renkon

    Forgive me

    Welcome back mate! Long time no seen! Hope to see you around the Spanish section Esp: rebienvenido loco, se te extrañaba.
  15. Cause you are missing .. between String.Gsub and "text". .. Works as the connector between strings, and you are using string.sub and then directly "TEXT". You should add the concatenator: .. string.gsub(getPlayerName(p), "#%x%x%x%x%x%x", "").."TEXT"
  16. You must use string.gsub(string, pattern, replacement) string.gsub(getPlayerName(p), "#%x%x%x%x%x%x", "") I just don't remember if that's the correct pattern. If it's not, somebody fix it
  17. thread que crea renkon es considerado spam e.e
  18. dont think it will work but try setting 100.0 instead of 100.
  19. I'd like to take part on it! Hope this success, as current one lacks a lot of things and it's badly developed.
  20. Renkon

    Ayuda account

    'soruce' oki doki...
  21. Love the FONT! What's the name of it?
  22. Ji, a spamear mi propio thread .
  23. Para la próxima, sino un overwrite del método. local tablaNombres = { [344] = "Ferrari", [411] = "Masserati" } _getVehicleName = getVehicleName function getVehicleName(v) if not v or not getElementType(v) == "vehicle" then return end return tablaNombres[getElementModel(v)] or "Desconocido" end
  24. Podrías usar destroyElement o setear el alpha a 0 del setBlipColor, y hacer el createBlip o el set de alpha nuevamente
×
×
  • Create New...