Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About opnaiC

  • Rank
  • Birthday 07/03/2001


  • Gang
  • Location

Recent Profile Visitors

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

  1. I tried to reinstall it 3 times. But it is always the same problem. The file is not missing. It is in the MTA path.
  2. Hi, I am using a little server with windows server 2008. I have this problem when I try to start the mta server:
  3. https://wiki.multitheftauto.com/wiki/Database https://www.w3schools.com/sql/sql_intro.asp
  4. Nice project!
  5. Hello guys, on this forum you can find a resource where you can convert GTA maps to a MTA resource. My question is now how can I edit this map. When you are converting this map you can chouse between 3 "streaming" methods: streaming, distance, static. I tried to load the map on the server and remove all default map objects to edit the map. But the problem is that the models are not replacing on the server when I start the editor. But other way it is working when I am not using the map editor. I tried all 3 methods.
  6. So look: Now the spawning cmd is working and also all vehicles disappear when the player leaves the game. When I use the /dveh cmd, the last vehicle that I spawned got delete. But when I use the cmd again the next last spawned vehicle doesnt disappear. This is the error (line 300 is the line with destroyElement in the /dveh cmd) (Why we are not removing the vehicle from the table that got deleted ?)
  7. After using ur script my chatbox start buging, the script is also not working complety. The /dveh command is not working.
  8. addEventHandler("cmdHandler",getRootElement(), function(thePlayer, command, model) local serverTime = getRealTime() local time = string.format("[%02d:%02d:%02d]", serverTime.hour, serverTime.minute, serverTime.second) if(command == "/cveh") then if tonumber(model) then local x, y, z = getElementPosition (thePlayer) local veh = createVehicle (tonumber(model), x, y, z, 0, 0, 0, "ADMIN") table.insert (vehicles, 1, {thePlayer, veh}) setElementPosition (thePlayer, x, y, z +2) return else sendMessageToPlayer ("#ce3737"..time.
  9. Sorry I posted the wrong command. I have my own chat so I dont need the commandHandler. So basically I want all cars to disappear that the player spawned that left. addEventHandler ("onPlayerQuit", getRootElement(), function () for i=1,#vehicles do local player, veh = unpack(vehicles[i]) if (source == player) then destroyElement(veh) table.remove(vehicles, i) end end end )
  10. local vehicles = {} addEventHandler("cmdHandler",getRootElement(), function(thePlayer, command) if(command == "/dveh") then for i, v in ipairs (vehicles) do local player, veh = unpack(v) if (player == thePlayer) then destroyElement (veh) table.remove (vehicles, i) return end end end end ) Hi, I want the script to delete all vehicles and rows, but it only deletes the last one, why ?
  11. They are replaced. But when I start the map editor they change to the default one.
  12. opnaiC

    set skin

    What is the event handler and what do you want to do?
  • Create New...