Jump to content

Nedim

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Nedim's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. Nedim

    question

    Can you give me some instructions, what should I do now that I have downloaded the program?
  2. Nedim

    question

    hello how can make textdraw in mta for example this one https://imgur.com/a/tbVR4mw
  3. Nedim

    help

    i fixed all erors
  4. Nedim

    help

    <meta> <script src="db.lua" type="server"/> <export function="getConnection" type="server"/> </meta>
  5. Nedim

    help

    <meta> <script src="vehicles.lua" type="server"/> </meta> function createVehicleForPlayer(player, command, model) local db = exports.db:getConnection() local x, y, z = getElementPosition(player) y = y + 5 dbExec(db, 'INSERT INTO vehicles (model, x, y, z) VALUES (?, ?, ?, ?)', model, x, y, z) createVehicle(model, x, y, z) end
  6. Nedim

    help

    local db = exports.db:getConnection()
  7. Nedim

    help

    ERROR: vehicles\vehicles.lua:3: call: failed to call 'db:getConnection' [string "?"] code : local db = exports.db:getConnection() another : WARNING: vehicles\vehicles.lua:7: Bad argument @ 'dbExec' [Expected db-connection at argument 1, got boolean] : dbExec(db, 'INSERT INTO vehicles (model, x, y, z) VALUES (?, ?, ?, ?)', model, x, y, z) server log: ================================================================== = Multi Theft Auto: San Andreas v1.5.9 ================================================================== = Server name : Default MTA Server = Server IP address: auto = Server port : 22003 = = Log file : ..ktop/server/mods/deathmatch/logs/server.log = Maximum players : 32 = HTTP port : 22005 = Voice Chat : Disabled = Bandwidth saving : Medium ================================================================== [2022-09-21 18:44:30] Resources: 3 loaded, 0 failed [2022-09-21 18:44:30] Starting resources...... [2022-09-21 18:44:30] Authorized serial account protection is enabled for the ACL group(s): `Admin` See http://mtasa.com/authserial [2022-09-21 18:44:30] WARNING: <owner_email_address> not set [2022-09-21 18:44:30] Server started and is ready to accept connections! [2022-09-21 18:44:30] To stop the server, type 'shutdown' or press Ctrl-C [2022-09-21 18:44:30] Type 'help' for a list of commands. [2022-09-21 18:44:30] Querying MTA master server... success! (Auto detected IP:31.176.135.138) [2022-09-21 18:44:57] Server minclientversion is now 1.5.9-9.21261.0 [2022-09-21 18:44:57] CONNECT: LooseMariachi11 connected (IP: 192.168.1.2 Serial: 505A20AA19516EE7B5BA1FFA5FB1A8B4 Version: 1.5.9-9.21324.0) [2022-09-21 18:44:58] JOIN: LooseMariachi11 joined the game (IP: 192.168.1.2) [2022-09-21 18:45:03] ERROR: vehicles\vehicles.lua:3: call: failed to call 'db:getConnection' [string "?"] [2022-09-21 18:45:03] WARNING: vehicles\vehicles.lua:7: Bad argument @ 'dbExec' [Expected db-connection at argument 1, got boolean] [2022-09-21 18:45:30] QUIT: LooseMariachi11 left the game [Quit]
×
×
  • Create New...