SLasH Posted February 27, 2011 Share Posted February 27, 2011 HI.. Im New in MTA... THis is my ERROR that happens when I put a script on a map PLZ HELP!!! Link to comment
Moderators Citizen Posted February 27, 2011 Moderators Share Posted February 27, 2011 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 Really ? Could you put here your script ? Link to comment
SLasH Posted February 27, 2011 Author Share Posted February 27, 2011 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
diegofkda Posted February 28, 2011 Share Posted February 28, 2011 HI.. Im New in MTA... THis is my ERROR that happens when I put a script on a map PLZ HELP!!! LoL thats because resource-name contains space. Delete space in foldername... example: [DM]test, but dont put spaces in it. Link to comment
Moderators Citizen Posted February 28, 2011 Moderators Share Posted February 28, 2011 Lol I did not know that this problem made this error. See that viewtopic.php?f=91&t=32073 And I found the problem of spaces but I never seen this error EDIT: lol In fact, it's the same error but with an extra at the end Link to comment
SLasH Posted February 28, 2011 Author Share Posted February 28, 2011 worked thank you very much Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now