Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. peds[i] = {} local rows = mysql:numRows(query) for i = 0, rows do "i" is no where defined, it should go after the for loop, like this: local rows = mysql:numRows(query) for i = 0, rows do peds[i] = {}
  2. You have "peds" table defined?
  3. Cambia: triggerClientEvent("triggear",playerSource,cancion,nombre) Por: triggerClientEvent(v,"triggear",v,cancion,nombre)
  4. Line 37 in the script you posted is: exports.box:showBoxS(thePlayer,"error","Nincs egyetlen karakter sem hozzárendelve ehhez az accounthoz. A játék megkezdése előtt mindenképpen szükséged van legalább 1 karakterre, melyet weboldalunkon tudsz elkészíteni. ([url=http://www.sa-stories.net]http://www.sa-stories.net[/url])") Is not the right line.
  5. Topic moved to Scripting section. You must use the engine scripting functions: https://wiki.multitheftauto.com/wiki/Cli ... _functions
  6. for k,v in ipairs(players) do "players" no esta definido, pone esto: for k,v in ipairs ( getElementsByType ( "player" ) ) do
  7. bindKey ( "u", "down", ( GUIEditor.button[1], GUIEditor.button[2], What is that? All the DX drawing functions require onClientRender to work.
  8. You can't open a SQLite database which is not in your server folder.
  9. You are talking about the game mode where you can have weapons on your vehicle? like rocket launcher, laser gun all attached to your vehicle. If so, then here's the link to Interstate69: https://community.multitheftauto.com/ind ... ails&id=32
  10. Cual es el problema? P.D: Es "Admin" no "admin" con minuscula "a".
  11. You mean stop a resource that has been included in another resource? if so, then yes.
  12. When you start a resource that has included other resources, these resources will also start, same when you stop it.
  13. Castillo

    Data Return ?

    Seems like getPlayerMoney client side stops returning the right amount after the map started, I don't know why.
  14. Castillo

    Data Return ?

    What does the admin panel say? does it say the correct amount of money?
  15. Castillo

    Data Return ?

    But the money is updated every second according to your script.
  16. Castillo

    Data Return ?

    I don't understand what do you mean.
  17. Proba en lugar de 15 pone 9999.
  18. Vos queres que se vea desde lejos en el radar?
  19. Castillo

    Spoiler

    Como el Infernus no soporta spoilers, te queda una de dos, editar el modelo ( DFF ) o pegarle un objeto usando: createObject y attachElements
  20. local bankBlip = createBlip ( x, y, z, 52, 2, 0, 0, 0, 255, 0, 15, getRootElement() ) Eso seria un blip, el "15" es la visibilidad.
  21. Tenes que cambiar la distancia de visibilidad.
  22. Castillo

    Guardar

    getElementHealth -- Vida getElementModel -- Skin getPedWeapon -- Armas getPedArmor -- Armadura getElementPosition -- Posicion
×
×
  • Create New...