Jump to content

Search the Community

Showing results for tags 'ballas'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. So i create a garage script: function addGarage(thePlayer, commandName, tipus) if (getElementData) >= 6 then x,y,z = getElementPosition(thePlayer) local tipus = tonumber(tipus) if type == 1 then osszeg = 10000 intid = 70 ix, iy, iz = 615.12976074219, -124.89443206787, 997.9921875 elseif type == 2 then osszeg = 25000 intid = 24 ix, iy, iz = 610.23449707031, -1.8843175172806, 1000.921875 elseif type == 3 then osszeg = 50000 intid = 10 ix, iy, iz = 1403.0490722656, -2.8066546916962, 1000.910949707 else outputChatBox("#00aeefHasználat:#ffffff /" .. commandName .. " [1 = Small | 2 = Medium | 3 = High]", thePlayer, 255, 255, 255, true) return end intbel = interiors[tonumber(intid)] local interiorid = intbel[1] name = "Garázs" local query = dbQuery(con, "INSERT INTO interiors SET x = ?, y = ?, z = ?, interiorx = ?, interiory = ?, interiorz = ?, name = ?, type = ?, cost = ?, interior = ?,intid = ?",x, y, z, ix, iy, iz, name, 4, osszeg, interiorid,intid) local insertered, _, insertid = dbPoll(query, -1) if insertered then loadOneInteriorWhereID(insertid) outputChatBox("#1E8BC3[Garázs]:#ffffff You have been create a garage!. (ID: " .. insertid .. " | Típus: " .. tipus .. " | Ár: " .. osszeg .. "$)", thePlayer, 255 ,255, 255, true) exports.mta_admin:outputAdminMessage("#00aeef" .. getElementData(thePlayer, "char:anick") .. "#ffffff created a grage. (ID: " .. insertid .. " | Típus: " .. tipus .. " | Ár: " .. osszeg .. "$)") else outputChatBox("sikertelen sql mentés", thePlayer, 255, 255, 255, true) end end end addCommandHandler("addgarage", addGarage, false, false)
×
×
  • Create New...