Jump to content

Search the Community

Showing results for tags 'phpmyadmin'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Member Title





Found 5 results

  1. I can't find any tutorial about something like this but I know it's possible because I searched if this question was made before in the forum and yes, I saw some codes and explanation from users and mods, but it doesn't work for me, because I'm using mysql and phpmyadmin, the examples doesn't match with my project, so I was wondering if someone could help me to understand how to save the data from the player's weapon and ammo... this is what I tried first: ---------this is inside of a function that saves all the player's info-------- local weapon1 = getPedWeapon (source) local weapon = getWeaponNameFromID (weapon) local ammo = getPedTotalAmmo(source) --------the info it's send to the table (this was simplified)----------- local sendInfo = exports.mysql:_Query("UPDATE characters SET weapon=?, ammo=? WHERE account=?", weapon, ammo, account) Since i've started, many problems as "getPedWeapons a nill value" appeared in the console, also "expected number, got boolean", etc. If there is a way to make a system like this without the getaccountdata/setaccountdata... I would like to know how to make it. I'm not asking for a full code, just some of knowlegde
  2. I've been trying to save the position of the player's character and it saves... but in a new table, not in the main one where its the account's name, the character's name and the rest. -> This is what happens<- This is the code I'm using for the "character money, position, and health" // i translated some concepts to english so you can understand easly what I'm trying to make: (server-side) function saveDataCharacter() local x, y, z = getElementPosition(source) local money = getPlayerMoney(source) local health = getElementHealth(source) local sendInfo = exports.mysql:_Exec("INSERT INTO characters (x,y,z, money, health) VALUES (?,?,?,?,?)", x, y, z, money, health) if (sendInfo) then iprint("Data saved") else iprint("Error saving") end end end addEventHandler("onPlayerQuit", getRootElement(), saveDataCharacter)
  3. Well, it's too late to delete it, so if a mod or admin see this, please delete this or move it, I solved the problem
  4. في واحد عرف باس روت الphp حق خادمي قمت غيرته بس نسيته كيفف ارجعهه؟؟؟؟؟؟؟؟ يا ريت مساعدة لو في كود من الputty يرجعه عطوني ياه بكون ممنون لكم
  5. ProSystemsHz.com - Calidad, Seguridad & Economia en tus Servidores Quienes somos? http://www.ProSystemsHz.com es una Empresa dedicada exclusivamente al alojamiento de servidores SA:MP, MTA, CS:GS, Minecraft y VPS Linux/Windows Contamos con personal experto, soporte tecnico amigable disponible la mayor parte del dia Proteccion DDoS, 99.9% de tiempo en linea garantizado, Panel de control profesional propio Ofrecemos un exelente servicio a un precio economico, puedes comprar los slots que necesites cada slot a tan solo 8 centavos Algunos de Nuestros Beneficios Proteccion DDoS Juega sin interrupciones con la mejor proteccion DDoS, así tu servidor estara protegido contra envidiosos Espacio ilimitado No te preocupes por el tamaño de tus archivos, te brindamos espacio ilimitado en cualquier plan de Game Hosting Activacion instantanea No esperes para tener tu servidor activado, pides y en segundos tienes los datos necesarios para montar tu servidor y no te cobramos gastos de instalacion Backups Gratis Los Problemas pueden pasar en cualquier rato, ProSystemsHz esta preparado para cualquier problema con su archivos respaldados con Amazon. Soporte tecnico Si tienes problemas con tu servidor te ayudaremos con gusto, somo expertos y nos apaciona lo que hacemos, puedes contactarnos via sms/email/tickets Servidores Potentes Contamos con servidores capacitados y potentes para ofrecerte un buen servicio al cliente y dar una experiencia muy buena METODOS DE PAGO: Mensajes de texto (SMS), PayPal, Western Union, Y muy Pronto MercadoPago. Pagina web: http://www.ProSystemsHz.com Pagina en facebook: https://www.facebook.com/ProSystemsHz Email: [email protected] Tambien ofrecemos chat en vivo desde la pagina web
  • Create New...