Jump to content

ERROR 404 not Found!


SLasH

Recommended Posts

  • Moderators

This error means that your MTA try to download the requested files to enter in the server by a website but which doesn't exist.

I think that it's in your mtaserver.conf at: http://.....

So if your server is in local, delete the URL like this:

Save it and restart your server.

that happens when I put a script on a map :cry:

Really ? Could you put here your script ?

Link to comment

is this...

local root = getRootElement() 
local this = getThisResource() 
local resourceRoot = getResourceRootElement(this) 
local localPlayer = getLocalPlayer() 
local Marker = {} 
  
--[[ 
    Events 
]] 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        Marker[1] = createMarker(3012.8034667969, -1304.4008789063, 8.7787075042725, "corona", 5, 255, 10, 0) 
        Marker[2] = createMarker(3011.4096679688, -1257.5598144531, 95.511764526367, "corona", 5, 255, 10, 0) 
    end 
) 
  
addEventHandler("onClientMarkerHit", root, 
    function(player, matchingDimension) 
        if not matchingDimension then return end 
         
        if player == localPlayer and isPedInVehicle(player) then 
            local vehicle = getPedOccupiedVehicle(player) 
  
            -- Check markers.. 
            if source == Marker[1] then 
                setVehicleGravity(vehicle, 0, 1, 0) 
            elseif source == Marker[2] then 
                       setVehicleGravity(vehicle, 0, 0, -1)      
            end 
        end 
    end 
) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...