-
Posts
1,903 -
Joined
-
Last visited
-
Days Won
1
Everything posted by xeon17
-
this does not help me Eh? He given you what you need, this isn't a request forum. Go learn scripting
-
Looks cool when it will be released?
-
--[[---------------------------------------------------- -- client script main -- @author Banex -- @update 22/09/2014 ----------------------------------------------------]]-- local sx,sy = guiGetScreenSize() local px,py = 1600,900 local x,y = (sx/px), (sy/py) local Menus = { { "gfx/images/menu.png" }, { "gfx/images/menu2.png" }, { "gfx/images/menu3.png" } } local random = math.random(#Menus) local interiors = { [5] = true,[9] = true,[10] = true,[7] = true,[6] = true } function ShowGUI() Background = guiCreateStaticImage(x*200, y*240, 606, 340,table.concat(Menus[random]), false) Button2 = guiCreateStaticImage(370, 80, 130.32, 61.92,"gfx/images/button-low.png",false,Background) Button3 = guiCreateStaticImage(320, 150, 213.96096, 61.9704, "gfx/images/button-mediun.png", false, Background) Button4 = guiCreateStaticImage(380, 220, 100.2, 75.6, "gfx/images/button-big.png", false, Background) Button22 = guiCreateStaticImage(370, 80, 130.32, 61.92,"gfx/images/button-low2.png",false,Background) Button33 = guiCreateStaticImage(320, 150, 213.96096, 61.9704, "gfx/images/button-mediun2.png", false, Background) Button44 = guiCreateStaticImage(380, 220, 100.2, 75.6, "gfx/images/button-big2.png", false, Background) Close2 = guiCreateLabel(578,10,15,15,"✖", false, Background ) Close = guiCreateLabel(580,8,15,15,"✖", false, Background ) Button222 = guiCreateStaticImage(370, 80, 130.32, 61.92,"gfx/images/button.png",false,Background) Button333 = guiCreateStaticImage(320, 150, 213.96096, 61.9704, "gfx/images/button.png", false, Background) Button444 = guiCreateStaticImage(380, 220, 100.2, 75.6, "gfx/images/button.png", false, Background) end guiLabelSetColor(Close2,0,0,0) guiSetVisible (Background, false ) showCursor( false ) addEventHandler("onClientGUIClick", Close, function() showCursor( false ) guiSetVisible(Background, false) end) addEventHandler("onClientGUIClick", Close2, function() showCursor( false ) guiSetVisible(Background, false) end) function ShowGUI( hitPlayer ) showCursor( true ) guiSetVisible(Background, true) end addEvent("showGUI",true) addEventHandler("showGUI",getRootElement(),ShowGUI) addEventHandler("onClientMouseEnter",root, function () if ( source == Button222 ) then playSound("gfx/sounds/click.mp3") guiSetVisible (Button2, false ) guiSetVisible (Button22, true ) elseif ( source == Button333 ) then playSound("gfx/sounds/click.mp3") guiSetVisible (Button3, false ) guiSetVisible (Button33, true ) elseif ( source == Button444 ) then playSound("gfx/sounds/click.mp3") guiSetVisible (Button4, false ) guiSetVisible (Button44, true ) elseif ( source == Close ) then playSound("gfx/sounds/click.mp3") guiSetVisible (Close2, true ) end end) addEventHandler( "onClientMouseLeave", root, function () if ( source == Button222 ) then guiSetVisible (Button2, true ) guiSetVisible (Button22, false ) elseif ( source == Button333 ) then guiSetVisible (Button3, true ) guiSetVisible (Button33, false ) elseif ( source == Button444 ) then guiSetVisible (Button4, true ) guiSetVisible (Button44, false ) elseif ( source == Close ) then guiSetVisible (Close2, false ) end end) addEventHandler ("onClientGUIClick", root, function() if ( source == Close ) or ( source == Close2 ) then guiSetVisible (Background, false ) showCursor ( false ) elseif ( source == Button222 ) then triggerServerEvent("Low",getLocalPlayer()) elseif ( source == Button333 ) then triggerServerEvent("Medium",getLocalPlayer()) elseif ( source == Button444 ) then triggerServerEvent("Big",getLocalPlayer()) end end) markers = { { 373.9, -118.8, 1000.4, 5, 5 }, { 373.9, -118.8, 1000.4, 11, 5 }, { 373.9, -118.8, 1000.4, 10, 5 }, { 373.9, -118.8, 1000.4, 9, 5 }, { 373.9, -118.8, 1000.4, 7, 5 }, { 373.9, -118.8, 1000.4, 6, 5 }, { 373.9, -118.8, 1000.4, 4, 5 }, { 373.9, -118.8, 1000.4, 0, 5 }, { 373.9, -118.8, 1000.4, 1, 5 }, { 373.9, -118.8, 1000.4, 8, 5 }, { 369, -6, 1000.8515625, 2, 9 }, { 369, -6, 1000.8515625, 1, 9 }, { 369, -6, 1000.8515625, 5, 9 }, { 369, -6, 1000.8515625, 9, 9 }, { 369, -6, 1000.8515625, 10, 9 }, { 369, -6, 1000.8515625, 11, 9 }, { 369, -6, 1000.8515625, 8, 9 }, { 369, -6, 1000.8515625, 6, 9 }, { 369, -6, 1000.8515625, 7, 9 }, { 369, -6, 1000.8515625, 4, 9 }, { 369, -6, 1000.8515625, 3, 9 }, { 369, -6, 1000.8515625, 0, 9 }, { 375.6, -67.5, 1000.5, 0, 10 }, { 375.6, -67.5, 1000.5, 1, 10 }, { 375.6, -67.5, 1000.5, 5, 10 }, { 375.6, -67.5, 1000.5, 6, 10 }, { 375.6, -67.5, 1000.5, 7, 10 }, { 375.6, -67.5, 1000.5, 8, 10 }, { 375.6, -67.5, 1000.5, 9, 10 }, { 375.6, -67.5, 1000.5, 2, 10 }, { 375.6, -67.5, 1000.5, 3, 10 }, { 375.6, -67.5, 1000.5, 4, 10 }, } for k,v in ipairs (markers) do z = v[3] -1 Marker = createMarker ( v[1], v[2], z, "cylinder", 1, 255, 0, 0, 200 ) addEventHandler('onClientMarkerHit', Marker, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then ShowGUI() end end ) end addEventHandler("onClientResourceStart", getRootElement(), function() setTimer(function() local localX, localY = getElementPosition(localPlayer) for _, blip in pairs(getElementsByType("blip")) do local blipX, blipY = getElementPosition(blip) if(getDistanceBetweenPoints2D(localX, localY, blipX, blipY) > 1300) then local icon = getElementData(blip, "IconID") if not icon then setElementData(blip, "IconID", getBlipIcon(blip), false) end setBlipIcon(blip, 0) setBlipColor(blip, 255, 255, 255, 0) else local icon = getElementData(blip, "IconID") if icon then setBlipIcon(blip, icon) end end end end, 500, 0) end) addEventHandler("onClientElementStreamIn", getRootElement(), function () if interiors [getElementInterior(localPlayer)] then setPedWeaponSlot ( localPlayer , 0 ) toggleControl("fire", false) toggleControl("sprint", false) toggleControl("next_weapon", false) toggleControl("previous_weapon", false) toggleControl ("aim_weapon", false) toggleControl ("vehicle_fire", false) toggleControl ("aim_weapon", false) end end) addEventHandler("onClientElementStreamOut", getRootElement(), function () if interiors [getElementInterior(localPlayer)] then toggleControl("fire", true) toggleControl("sprint", true) toggleControl("next_weapon", true) toggleControl("previous_weapon", true) toggleControl ("aim_weapon", true) toggleControl ("vehicle_fire", true) toggleControl ("aim_weapon", true) end end) http://imgur.com/908XLPA.png
-
not working, no errors in debugscript
-
if I use onClientResourceStart I will not have a random image entering the marker. In other buttons I also use guiSetVisible, and have no problem
-
Background = guiCreateStaticImage(x*200, y*240, 606, 340,table.concat(Menus[random]), false) Client line 21 Debugscript: main.lua:87: Bad argument @ 'guiSetVisible'[Expected gui-element at argument 1, got nil]
-
line 5 math.ramdom should be math.random
-
but now I have another problem problem, when I click the button ✖ only hide the cursor. if ( source == Close ) or ( source == Close2 ) then guiSetVisible (Background, false ) showCursor ( false )
-
I only used guiCreateStaticImage
-
I tried only the client side, and now works perfectly for k,v in ipairs (markers) do z = v[3] -1 Marker = createMarker ( v[1], v[2], z, "cylinder", 1, 255, 0, 0, 200 ) addEventHandler('onClientMarkerHit', Marker, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then ShowGUI() end end ) end but now I have another problem problem, when I click the button ✖ only hide the cursor. if ( source == Close ) or ( source == Close2 ) then guiSetVisible (Background, false ) showCursor ( false )
-
I did it at the moment --[[---------------------------------------------------- -- server script main -- @author Banex & XeoN -- @update 22/09/2014 ----------------------------------------------------]]-- --local Health = getElementHealth(source) addEvent("Low",true) addEventHandler("Low",root, function() -- if Helth < 100 then if ( getPlayerMoney (source) >= 2 ) then takePlayerMoney(source, 2) playSoundFrontEnd ( source, 1 ) outputChatBox("Small snack purchased for $ 2!",source,0,255,0) setElementHealth ( source, getElementHealth(source) + 20 ) else playSoundFrontEnd ( source,6 ) outputChatBox("You do not have enough money!",source,255,0,0) end -- else -- playSoundFrontEnd ( source, 1 ) -- outputChatBox("His life is already full!",source,255,0,0) --end end) addEvent("Medium",true) addEventHandler("Medium",root, function() -- if Helth < 100 then if ( getPlayerMoney (source) >= 6 ) then takePlayerMoney(source, 6) playSoundFrontEnd ( source, 6 ) outputChatBox("Medium snack purchased for $ 6!",source,0,255,0) setElementHealth ( source, getElementHealth(source) + 20 ) else playSoundFrontEnd ( source, 1 ) outputChatBox("You do not have enough money!",source,255,0,0) end -- else -- playSoundFrontEnd ( source, 1 ) -- outputChatBox("His life is already full!",source,255,0,0) --end end) addEvent("Big",true) addEventHandler("Big",root, function() -- if Helth < 100 then if ( getPlayerMoney (source) >= 10 ) then takePlayerMoney(source, 10) playSoundFrontEnd ( source, 6 ) outputChatBox("big snack purchased for $ 2!",source,0,255,0) setElementHealth ( source, getElementHealth(source) + 20 ) else playSoundFrontEnd ( source, 1 ) outputChatBox("You do not have enough money!",source,255,0,0) end -- else -- playSoundFrontEnd ( source, 1 ) -- outputChatBox("His life is already full!",source,255,0,0) --end end) function addMarkers ( res ) for k=1, #markers do local lower = 0 if markers[k][5] == 0 then lower = 1 end marker[k] = createMarker ( markers[k][1], markers[k][2], markers[k][3]-lower, "cylinder", 1, 255, 0, 0, 200 ) setElementDimension(marker[k], markers[k][4]) setElementInterior(marker[k], markers[k][5]) end for k=1, #blips do createBlip( blips[k][1], blips[k][2], blips[k][3], blips[k][4], 1, 0, 0, 0, 255, 111, 180 ) ped[k] = createPed ( peds[k][7], peds[k][1], peds[k][2], peds[k][3] ) setElementDimension( ped[k], peds[k][4] ) setElementInterior( ped[k], peds[k][5] ) setPedRotation ( ped[k], peds[k][6] ) addEventHandler( "onMarkerHit", marker[k], showGUI ) end end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), addMarkers ) function showGUI( hitPlayer, matchingDimension ) local counter = 1 for k=1, #markers do if source == marker[k] then counter = k end triggerClientEvent( hitPlayer, "showGUI", getRootElement(), hitPlayer, markers[counter][6] ) end end This is the the full server script,without errors,but when player hit the marker nothing happen. The util script is now: --------------------------------------------------------------------------------------- -- Name: Fastfood -- Developer: mrbrutus -- Last edit: 2014-09-23 -- License: GNU (General public license) --------------------------------------------------------------------------------------- marker = {} ped = {} markers = { { 373.9, -118.8, 1000.4, 5, 5 }, { 373.9, -118.8, 1000.4, 11, 5 }, { 373.9, -118.8, 1000.4, 10, 5 }, { 373.9, -118.8, 1000.4, 9, 5 }, { 373.9, -118.8, 1000.4, 7, 5 }, { 373.9, -118.8, 1000.4, 6, 5 }, { 373.9, -118.8, 1000.4, 4, 5 }, { 373.9, -118.8, 1000.4, 0, 5 }, { 373.9, -118.8, 1000.4, 1, 5 }, { 373.9, -118.8, 1000.4, 8, 5 }, { 369, -6, 1000.8515625, 2, 9 }, { 369, -6, 1000.8515625, 1, 9 }, { 369, -6, 1000.8515625, 5, 9 }, { 369, -6, 1000.8515625, 9, 9 }, { 369, -6, 1000.8515625, 10, 9 }, { 369, -6, 1000.8515625, 11, 9 }, { 369, -6, 1000.8515625, 8, 9 }, { 369, -6, 1000.8515625, 6, 9 }, { 369, -6, 1000.8515625, 7, 9 }, { 369, -6, 1000.8515625, 4, 9 }, { 369, -6, 1000.8515625, 3, 9 }, { 369, -6, 1000.8515625, 0, 9 }, { 375.6, -67.5, 1000.5, 0, 10 }, { 375.6, -67.5, 1000.5, 1, 10 }, { 375.6, -67.5, 1000.5, 5, 10 }, { 375.6, -67.5, 1000.5, 6, 10 }, { 375.6, -67.5, 1000.5, 7, 10 }, { 375.6, -67.5, 1000.5, 8, 10 }, { 375.6, -67.5, 1000.5, 9, 10 }, { 375.6, -67.5, 1000.5, 2, 10 }, { 375.6, -67.5, 1000.5, 3, 10 }, { 375.6, -67.5, 1000.5, 4, 10 }, } peds = { { 373.8, -117.27, 1000.4, 5, 5, 180, 155, }, { 373.8, -117.27, 1000.4, 11, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 10, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 9, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 7, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 6, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 4, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 0, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 1, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 8, 5, 180, 155 }, { 369, -4.4, 1001.8, 2, 9, 180, 167 }, { 369, -4.4, 1001.8, 1, 9, 180, 167 }, { 369, -4.4, 1001.8, 5, 9, 180, 167 }, { 369, -4.4, 1001.8, 9, 9, 180, 167 }, { 369, -4.4, 1001.8, 10, 9, 180, 167 }, { 369, -4.4, 1001.8, 11, 9, 180, 167 }, { 369, -4.4, 1001.8, 8, 9, 180, 167 }, { 369, -4.4, 1001.8, 6, 9, 180, 167 }, { 369, -4.4, 1001.8, 7, 9, 180, 167 }, { 369, -4.4, 1001.8, 4, 9, 180, 167 }, { 369, -4.4, 1001.8, 3, 9, 180, 167 }, { 369, -4.4, 1001.8, 0, 9, 180, 167 }, { 376, -66, 1000.5, 0, 10, 180, 205 }, { 376, -66, 1000.5, 1, 10, 180, 205 }, { 376, -66, 1000.5, 5, 10, 180, 205 }, { 376, -66, 1000.5, 6, 10, 180, 205 }, { 376, -66, 1000.5, 7, 10, 180, 205 }, { 376, -66, 1000.5, 8, 10, 180, 205 }, { 376, -66, 1000.5, 9, 10, 180, 205 }, { 376, -66, 1000.5, 2, 10, 180, 205 }, { 376, -66, 1000.5, 3, 10, 180, 205 }, { 376, -66, 1000.5, 4, 10, 180, 205 }, } blips = { { 2105, -1808, 14, 29 }, { 2084, 2224, 12, 29 }, { 2352, 2532, 12, 29 }, { -1721, 1359, 8, 29 }, { -1809, 946, 25, 29 }, { 203, -202, 2, 29 }, { 2756, 2477, 12, 29 }, { 1367, 249, 20, 29 }, { 2333, 75, 26, 29 }, { 2638, 1850, 12, 29 }, { -2155, -2460, 31, 14 }, { -1214, 1830, 42, 14 }, { 929, -1353, 14, 14 }, { 2393, 2042, 12, 14 }, { 2838, 2407, 12, 14 }, { 2102, 2229, 12, 14 }, { 2638, 1671, 12, 14 }, { -1816, 619, 36, 14 }, { -2671, 258, 5, 14 }, { 2398, -1899, 14, 14 }, { 2420, -1510, 25, 14 }, { 173, 1177, 15, 14 }, { 812, -1616, 14, 10 }, { 1199, -918, 44, 10 }, { 2367, 2071, 12, 10 }, { 2473, 2034, 12, 10 }, { 1872, 2042, 12, 10 }, { 2170, 2796, 12, 10 }, { 1158, 2072, 12, 10 }, { -1912, 828, 36, 10 }, { -2356, 1008, 51, 10 }, { -2336, -167, 36, 10 }, } Client --[[---------------------------------------------------- -- client script main -- @author Banex -- @update 22/09/2014 ----------------------------------------------------]]-- local sx,sy = guiGetScreenSize() local px,py = 1600,900 local x,y = (sx/px), (sy/py) local Menus = { { "gfx/images/menu.png" }, { "gfx/images/menu2.png" }, { "gfx/images/menu3.png" } } local random = math.random(#Menus) local interiors = { [5] = true,[9] = true,[10] = true,[7] = true,[6] = true } function ShowGUI( hitPlayer ) Background = guiCreateStaticImage(x*200, y*240, 606, 340,table.concat(Menus[random]), false) Button2 = guiCreateStaticImage(370, 80, 130.32, 61.92,"gfx/images/button-low.png",false,Background) Button3 = guiCreateStaticImage(320, 150, 213.96096, 61.9704, "gfx/images/button-mediun.png", false, Background) Button4 = guiCreateStaticImage(380, 220, 100.2, 75.6, "gfx/images/button-big.png", false, Background) Button22 = guiCreateStaticImage(370, 80, 130.32, 61.92,"gfx/images/button-low2.png",false,Background) Button33 = guiCreateStaticImage(320, 150, 213.96096, 61.9704, "gfx/images/button-mediun2.png", false, Background) Button44 = guiCreateStaticImage(380, 220, 100.2, 75.6, "gfx/images/button-big2.png", false, Background) Close2 = guiCreateLabel(578,10,15,15,"✖", false, Background ) Close = guiCreateLabel(580,8,15,15,"✖", false, Background ) Button222 = guiCreateStaticImage(370, 80, 130.32, 61.92,"gfx/images/button.png",false,Background) Button333 = guiCreateStaticImage(320, 150, 213.96096, 61.9704, "gfx/images/button.png", false, Background) Button444 = guiCreateStaticImage(380, 220, 100.2, 75.6, "gfx/images/button.png", false, Background) guiLabelSetColor(Close2,0,0,0) guiSetVisible (Button22, false ) guiSetVisible (Button33, false ) guiSetVisible (Button44, false ) guiSetVisible (Close2, false ) showCursor( true ) end addEvent("showGUI",true) addEventHandler("showGUI",getRootElement(),ShowGUI)
-
[counter] and [6] are not defined in the table I fixed it already. triggerClientEvent( "showGUI", resourceRoot,hitPlayer) should work good But this still no fix my problem...
-
It will never work no important what the ShowT function contain , because when player hit the marker nothing happen addEventHandler( "onMarkerHit", marker[k], showT )
-
I tried this too function showT( ) outputChatBox("Text",source,255,0,0) end It dosen't output the text, when player hit the marker..
-
I have the same error, the problem is with ShowT function and addEventHandler( "onMarkerHit", marker[k], showT ) Because when player hit the marker it dosen't trigger the function ShowT..
-
Nope, i already tried something like this. There wasn't bugs in debugscript3 but same problem the showT function no worked.
-
Problem isn't in meta.xml , anyway here is meta
-
Hello there, Trying already two days to fix a problem with markers of my fast food shop. Markers are created but there is a bug with the event handler,when a player hit the marker nothing happen. function addMarkers ( res ) for k=1, #markers do local lower = 0 if markers[k][5] == 0 then lower = 1 end marker[k] = createMarker ( markers[k][1], markers[k][2], markers[k][3]-lower, "cylinder", 1, 255, 0, 0, 200 ) setElementDimension(marker[k], markers[k][4]) setElementInterior(marker[k], markers[k][5]) end for k=1, #blips do createBlip( blips[k][1], blips[k][2], blips[k][3], blips[k][4], 1, 0, 0, 0, 255, 111, 180 ) ped[k] = createPed ( peds[k][7], peds[k][1], peds[k][2], peds[k][3] ) setElementDimension( ped[k], peds[k][4] ) setElementInterior( ped[k], peds[k][5] ) setPedRotation ( ped[k], peds[k][6] ) setTimer( setElementHealth, 50, 0, ped[k], 100 ) end end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), addMarkers ) function showT( hitPlayer ,matchingDimension) local counter = 1 for k=1, #markers do if source == marker[k] then counter = k end end if matchingDimension then triggerClientEvent( hitPlayer, "showGUI", getRootElement(), hitPlayer, markers[counter][6] ) end end addEventHandler( "onMarkerHit", marker[k], showT ) Error at line 36 , attempt to index global ''''marker'' (a nil value) Hope someone can help me please. EDIT: Forgot to share the markers script marker = {} ped = {} markers = { { 373.9, -118.8, 1000.4, 5, 5 }, { 373.9, -118.8, 1000.4, 11, 5 }, { 373.9, -118.8, 1000.4, 10, 5 }, { 373.9, -118.8, 1000.4, 9, 5 }, { 373.9, -118.8, 1000.4, 7, 5 }, { 373.9, -118.8, 1000.4, 6, 5 }, { 373.9, -118.8, 1000.4, 4, 5 }, { 373.9, -118.8, 1000.4, 0, 5 }, { 373.9, -118.8, 1000.4, 1, 5 }, { 373.9, -118.8, 1000.4, 8, 5 }, { 369, -6, 1000.8515625, 2, 9 }, { 369, -6, 1000.8515625, 1, 9 }, { 369, -6, 1000.8515625, 5, 9 }, { 369, -6, 1000.8515625, 9, 9 }, { 369, -6, 1000.8515625, 10, 9 }, { 369, -6, 1000.8515625, 11, 9 }, { 369, -6, 1000.8515625, 8, 9 }, { 369, -6, 1000.8515625, 6, 9 }, { 369, -6, 1000.8515625, 7, 9 }, { 369, -6, 1000.8515625, 4, 9 }, { 369, -6, 1000.8515625, 3, 9 }, { 369, -6, 1000.8515625, 0, 9 }, { 375.6, -67.5, 1000.5, 0, 10 }, { 375.6, -67.5, 1000.5, 1, 10 }, { 375.6, -67.5, 1000.5, 5, 10 }, { 375.6, -67.5, 1000.5, 6, 10 }, { 375.6, -67.5, 1000.5, 7, 10 }, { 375.6, -67.5, 1000.5, 8, 10 }, { 375.6, -67.5, 1000.5, 9, 10 }, { 375.6, -67.5, 1000.5, 2, 10 }, { 375.6, -67.5, 1000.5, 3, 10 }, { 375.6, -67.5, 1000.5, 4, 10 }, } peds = { { 373.8, -117.27, 1000.4, 5, 5, 180, 155, }, { 373.8, -117.27, 1000.4, 11, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 10, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 9, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 7, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 6, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 4, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 0, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 1, 5, 180, 155 }, { 373.8, -117.27, 1000.4, 8, 5, 180, 155 }, { 369, -4.4, 1001.8, 2, 9, 180, 167 }, { 369, -4.4, 1001.8, 1, 9, 180, 167 }, { 369, -4.4, 1001.8, 5, 9, 180, 167 }, { 369, -4.4, 1001.8, 9, 9, 180, 167 }, { 369, -4.4, 1001.8, 10, 9, 180, 167 }, { 369, -4.4, 1001.8, 11, 9, 180, 167 }, { 369, -4.4, 1001.8, 8, 9, 180, 167 }, { 369, -4.4, 1001.8, 6, 9, 180, 167 }, { 369, -4.4, 1001.8, 7, 9, 180, 167 }, { 369, -4.4, 1001.8, 4, 9, 180, 167 }, { 369, -4.4, 1001.8, 3, 9, 180, 167 }, { 369, -4.4, 1001.8, 0, 9, 180, 167 }, { 376, -66, 1000.5, 0, 10, 180, 205 }, { 376, -66, 1000.5, 1, 10, 180, 205 }, { 376, -66, 1000.5, 5, 10, 180, 205 }, { 376, -66, 1000.5, 6, 10, 180, 205 }, { 376, -66, 1000.5, 7, 10, 180, 205 }, { 376, -66, 1000.5, 8, 10, 180, 205 }, { 376, -66, 1000.5, 9, 10, 180, 205 }, { 376, -66, 1000.5, 2, 10, 180, 205 }, { 376, -66, 1000.5, 3, 10, 180, 205 }, { 376, -66, 1000.5, 4, 10, 180, 205 }, } blips = { { 2105, -1808, 14, 29 }, { 2084, 2224, 12, 29 }, { 2352, 2532, 12, 29 }, { -1721, 1359, 8, 29 }, { -1809, 946, 25, 29 }, { 203, -202, 2, 29 }, { 2756, 2477, 12, 29 }, { 1367, 249, 20, 29 }, { 2333, 75, 26, 29 }, { 2638, 1850, 12, 29 }, { -2155, -2460, 31, 14 }, { -1214, 1830, 42, 14 }, { 929, -1353, 14, 14 }, { 2393, 2042, 12, 14 }, { 2838, 2407, 12, 14 }, { 2102, 2229, 12, 14 }, { 2638, 1671, 12, 14 }, { -1816, 619, 36, 14 }, { -2671, 258, 5, 14 }, { 2398, -1899, 14, 14 }, { 2420, -1510, 25, 14 }, { 173, 1177, 15, 14 }, { 812, -1616, 14, 10 }, { 1199, -918, 44, 10 }, { 2367, 2071, 12, 10 }, { 2473, 2034, 12, 10 }, { 1872, 2042, 12, 10 }, { 2170, 2796, 12, 10 }, { 1158, 2072, 12, 10 }, { -1912, 828, 36, 10 }, { -2356, 1008, 51, 10 }, { -2336, -167, 36, 10 }, }
-
Thanks a lot man
-
I has the same problem , update your mta ( solved today )
-
This webpage is not available Opera could not load the webpage because 5.175.148.242 took too long to respond. The website may be down, or you may be experiencing issues with your internet connection. Check your internet connection. Check any cables and reboot any routers, modems, or other network devices you may be using. Allow Opera to access the network in your firewall or antivirus settings. If it is already listed as a program allowed to access the network, try removing it from the list and adding it again. If you use a proxy server... Check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server: Go to the Opera menu > Settings > Change proxy settings... > LAN Settings and deselect "Use a proxy server for your LAN".
-
Yes, my and my friends VPS OS are same. Don't know why dosen't it work.. there's a problem with ./mta-server
-
Thanks a lot Trying to run another server on my friend's VPS but dosen't work tried everything Log: login as: root [email protected]'s password: Linux ofx13uzu70 2.6.32-042stab093.4 #1 SMP Mon Aug 11 18:47:39 MSK 2014 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Sep 19 17:46:45 2014 from 79.143.111.222 root@ofx13uzu70:~# cd mta root@ofx13uzu70:~/mta# cd multitheftauto_linux* -bash: cd: multitheftauto_linux-1.4.0.tar.gz: Not a directory root@ofx13uzu70:~/mta# rm mta rm: cannot remove `mta': No such file or directory root@ofx13uzu70:~/mta# cd root@ofx13uzu70:~# rm mta rm: cannot remove `mta': Is a directory root@ofx13uzu70:~# rm mta. rm: cannot remove `mta.': No such file or directory root@ofx13uzu70:~# cd multitheftauto_linux* root@ofx13uzu70:~/multitheftauto_linux-1.4.0# cd deathmatch -bash: cd: deathmatch: No such file or directory root@ofx13uzu70:~/multitheftauto_linux-1.4.0# cd mods root@ofx13uzu70:~/multitheftauto_linux-1.4.0/mods# cd root@ofx13uzu70:~# cd multitheftauto_linux* root@ofx13uzu70:~/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/multitheftauto_linux-1.4.0# cd root@ofx13uzu70:~# cd multitheftauto_linux-1.4.0 root@ofx13uzu70:~/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/multitheftauto_linux-1.4.0# rm multitheftauto_linux-1.4.0.tar. gz rm: cannot remove `multitheftauto_linux-1.4.0.tar.gz': No such file or directory root@ofx13uzu70:~/multitheftauto_linux-1.4.0# wget [url=http://linux.multitheftauto.com/dl/140]http://linux.multitheftauto.com/dl/140[/url] /multitheftauto_linux-1.4.0.tar.gz --2014-09-20 12:50:58-- http://linux.multitheftauto.com/dl/140/multitheftauto_linux-1.4. 0.tar.gz Resolving linux.multitheftauto.com (linux.multitheftauto.com)... 46.105.46.97, 2a01:4f8:a1:221::11 Connecting to linux.multitheftauto.com (linux.multitheftauto.com)|46.105.46.97|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3501335 (3.3M) [application/x-gzip] Saving to: `multitheftauto_linux-1.4.0.tar.gz' 100%[======================================>] 3,501,335 879K/s in 3.9s 2014-09-20 12:51:04 (879 KB/s) - `multitheftauto_linux-1.4.0.tar.gz' saved [3501 335/3501335] root@ofx13uzu70:~/multitheftauto_linux-1.4.0# mfdir mtab -bash: mfdir: command not found root@ofx13uzu70:~/multitheftauto_linux-1.4.0# mkdir mta2 root@ofx13uzu70:~/multitheftauto_linux-1.4.0# cd mta2 root@ofx13uzu70:~/multitheftauto_linux-1.4.0/mta2# tar -xf multitheftauto_linux- 1.4.0.tar.gz tar: multitheftauto_linux-1.4.0.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@ofx13uzu70:~/multitheftauto_linux-1.4.0/mta2# tar -xf mta2 tar: mta2: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@ofx13uzu70:~/multitheftauto_linux-1.4.0/mta2# cd mods -bash: cd: mods: No such file or directory root@ofx13uzu70:~/multitheftauto_linux-1.4.0/mta2# cd multitheftauto_linux* -bash: cd: multitheftauto_linux*: No such file or directory root@ofx13uzu70:~/multitheftauto_linux-1.4.0/mta2# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/multitheftauto_linux-1.4.0/mta2# cd root@ofx13uzu70:~# mkdir mta2 root@ofx13uzu70:~# cd mta2 root@ofx13uzu70:~/mta2# wget [url=http://linux.multitheftauto.com/dl/140/multitheftauto_linux-]http://linux.multitheftauto.com/dl/140/multitheftauto_linux-[/url] 1.4.0.tar.gz --2014-09-20 12:53:31-- http://linux.multitheftauto.com/dl/140/multitheftauto_linux-1.4. 0.tar.gz Resolving linux.multitheftauto.com (linux.multitheftauto.com)... 46.105.46.97, 2a01:4f8:a1:221::11 Connecting to linux.multitheftauto.com (linux.multitheftauto.com)|46.105.46.97|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3501335 (3.3M) [application/x-gzip] Saving to: `multitheftauto_linux-1.4.0.tar.gz' 100%[======================================>] 3,501,335 1010K/s in 3.4s 2014-09-20 12:53:35 (1010 KB/s) - `multitheftauto_linux-1.4.0.tar.gz' saved [350 1335/3501335] root@ofx13uzu70:~/mta2# tar -xf multitheftauto_linux-1.4.0.tar.gz root@ofx13uzu70:~/mta2# cd mods -bash: cd: mods: No such file or directory root@ofx13uzu70:~/mta2# cd multitheftauto_linux* root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# cd multitheftauto_linux-1.4.0 -bash: cd: multitheftauto_linux-1.4.0: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# cd mods root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0/mods# cd deathmatch root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0/mods/deathmatch# cd resources -bash: cd: resources: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0/mods/deathmatch# cd mta2 -bash: cd: mta2: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0/mods/deathmatch# cd root@ofx13uzu70:~# cd mta2 root@ofx13uzu70:~/mta2# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/mta2# cd multitheftauto_linux* root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# cd deathmatch -bash: cd: deathmatch: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# cd mods root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0/mods# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0/mods# cd deathmatch root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0/mods/deathmatch# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0/mods/deathmatch# cd root@ofx13uzu70:~# mta2 -bash: mta2: command not found root@ofx13uzu70:~# cd mta2 root@ofx13uzu70:~/mta2# cd multitheftauto_linux -bash: cd: multitheftauto_linux: No such file or directory root@ofx13uzu70:~/mta2# unzip multitheftauto_linux* unzip: cannot find or open multitheftauto_linux-1.4.0, multitheftauto_linux-1.4 .0.zip or multitheftauto_linux-1.4.0.ZIP. root@ofx13uzu70:~/mta2# cd multitheftauto_linux -bash: cd: multitheftauto_linux: No such file or directory root@ofx13uzu70:~/mta2# cd multitheftauto_linux* root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# cd root@ofx13uzu70:~# cd mta2 root@ofx13uzu70:~/mta2# unzip multitheftauto_linux* unzip: cannot find or open multitheftauto_linux-1.4.0, multitheftauto_linux-1.4 .0.zip or multitheftauto_linux-1.4.0.ZIP. root@ofx13uzu70:~/mta2# cd multitheftauto_linux* root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# unzip multitheftauto_linux* unzip: cannot find or open multitheftauto_linux*, multitheftauto_linux*.zip or multitheftauto_linux*.ZIP. No zipfiles found. root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# /mta-server -bash: /mta-server: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# laungfd -bash: laungfd: command not found root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# f -bash: f: command not found root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/ploop27593p1 30961660 829696 28559204 3% / none 524288 4 524284 1% /dev none 104860 1020 103840 1% /run none 5120 0 5120 0% /run/lock none 314560 0 314560 0% /run/shm none 102400 0 102400 0% /run/user root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# dfbash -bash: dfbash: command not found root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# none -bash: none: command not found root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# none acl -bash: none: command not found root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# m -bash: m: command not found root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# cd root@ofx13uzu70:~# mv multitheftauto_linux/* mta2 mv: cannot stat `multitheftauto_linux/*': No such file or directory root@ofx13uzu70:~# mv multitheftauto_linux* mta2 mv: cannot move `multitheftauto_linux-1.4.0' to `mta2/multitheftauto_linux-1.4.0 ': Directory not empty root@ofx13uzu70:~# tar -xf multitheftauto_linux-1.4.0.tar.gz tar: multitheftauto_linux-1.4.0.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@ofx13uzu70:~# tar -xf multitheftauto_linux-1.4.0.tar.gz tar: multitheftauto_linux-1.4.0.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@ofx13uzu70:~# mkdir mta3 root@ofx13uzu70:~# cd mta3 root@ofx13uzu70:~/mta3# tar -xf multitheftauto_linux-1.4.0.tar.gz tar: multitheftauto_linux-1.4.0.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@ofx13uzu70:~/mta3# rm baseconfig-1.4.0.tar.gz rm: cannot remove `baseconfig-1.4.0.tar.gz': No such file or directory root@ofx13uzu70:~/mta3# cd root@ofx13uzu70:~# rm baseconfig-1.4.0.tar.gz root@ofx13uzu70:~# rm baseconfig-1.4.0.tar.gz rm: cannot remove `baseconfig-1.4.0.tar.gz': No such file or directory root@ofx13uzu70:~# wget [url=http://linux.multitheftauto.com/dl/140/baseconfig-1.4.0.tar.gz]http://linux.multitheftauto.com/dl/140/baseconfig-1.4.0.tar.gz[/url] --2014-09-20 13:53:13-- http://linux.multitheftauto.com/dl/140/baseconfig-1.4.0.tar.gz Resolving linux.multitheftauto.com (linux.multitheftauto.com)... 46.105.46.97, 2a01:4f8:a1:221::11 Connecting to linux.multitheftauto.com (linux.multitheftauto.com)|46.105.46.97|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 10284 (10K) [application/x-gzip] Saving to: `baseconfig-1.4.0.tar.gz' 100%[======================================>] 10,284 50.7K/s in 0.2s 2014-09-20 13:53:14 (50.7 KB/s) - `baseconfig-1.4.0.tar.gz' saved [10284/10284] root@ofx13uzu70:~# cd mta2 root@ofx13uzu70:~/mta2# cd multitheftauto_linux* root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# cd root@ofx13uzu70:~# mv baseconfig-1.4.0/* mta2/multitheftauto_linux-1.4.0/mods/de athmatch mv: cannot stat `baseconfig-1.4.0/*': No such file or directory root@ofx13uzu70:~# mv baseconfig*/* mta2/multitheftauto_linux*/mods/deathmatch mv: cannot stat `baseconfig*/*': No such file or directory root@ofx13uzu70:~# cd mta2 root@ofx13uzu70:~/mta2# mv baseconfig*/* mta2/multitheftauto_linux*/mods/deathma tch mv: cannot stat `baseconfig*/*': No such file or directory root@ofx13uzu70:~/mta2# cd root@ofx13uzu70:~# tar -xf baseconfig-1.4.0.tar.gz root@ofx13uzu70:~# mv baseconfig*/* mta2/multitheftauto_linux*/mods/deathmatch root@ofx13uzu70:~# cd mta root@ofx13uzu70:~/mta# cd multitheftauto_linux* -bash: cd: multitheftauto_linux-1.4.0.tar.gz: Not a directory root@ofx13uzu70:~/mta# cd root@ofx13uzu70:~# cd mta2 root@ofx13uzu70:~/mta2# cd multitheftauto_linux* root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/mta2/multitheftauto_linux-1.4.0# cd root@ofx13uzu70:~# rm multitheftauto_linux-1.4.0.tar.gz rm: cannot remove `multitheftauto_linux-1.4.0.tar.gz': No such file or directory root@ofx13uzu70:~# rm multitheftauto_linux-1.4.0.tar.gz rm: cannot remove `multitheftauto_linux-1.4.0.tar.gz': No such file or directory root@ofx13uzu70:~# wget [url=http://linux.multitheftauto.com/dl/140/multitheftauto_linux-1.4.0]http://linux.multitheftauto.com/dl/140/multithef ... inux-1.4.0[/url] .tar.gz --2014-09-20 13:57:04-- http://linux.multitheftauto.com/dl/140/multitheftauto_linux-1.4. 0.tar.gz Resolving linux.multitheftauto.com (linux.multitheftauto.com)... 46.105.46.97, 2a01:4f8:a1:221::11 Connecting to linux.multitheftauto.com (linux.multitheftauto.com)|46.105.46.97|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3501335 (3.3M) [application/x-gzip] Saving to: `multitheftauto_linux-1.4.0.tar.gz' 100%[======================================>] 3,501,335 803K/s in 4.5s 2014-09-20 13:57:09 (768 KB/s) - `multitheftauto_linux-1.4.0.tar.gz' saved [3501 335/3501335] root@ofx13uzu70:~# tar -xf multitheftauto_linux-1.4.0.tar.gz root@ofx13uzu70:~# rm baseconfig-1.4.0.tar.gz root@ofx13uzu70:~# wget [url=http://linux.multitheftauto.com/dl/140/baseconfig-1.4.0.tar.gz]http://linux.multitheftauto.com/dl/140/baseconfig-1.4.0.tar.gz[/url] --2014-09-20 13:57:31-- http://linux.multitheftauto.com/dl/140/baseconfig-1.4.0.tar.gz Resolving linux.multitheftauto.com (linux.multitheftauto.com)... 46.105.46.97, 2a01:4f8:a1:221::11 Connecting to linux.multitheftauto.com (linux.multitheftauto.com)|46.105.46.97|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 10284 (10K) [application/x-gzip] Saving to: `baseconfig-1.4.0.tar.gz' 100%[======================================>] 10,284 48.4K/s in 0.2s 2014-09-20 13:57:32 (48.4 KB/s) - `baseconfig-1.4.0.tar.gz' saved [10284/10284] root@ofx13uzu70:~# tar -xf baseconfig-1.4.0.tar.gz root@ofx13uzu70:~# mv baseconfig-1.4.0/* multitheftauto_linux-1.4.0/mods/deathma tch mv: cannot stat `baseconfig-1.4.0/*': No such file or directory root@ofx13uzu70:~# mv baseconfig*/* multitheftauto_linux*/mods/deathmatch root@ofx13uzu70:~# cd multitheftauto_linux-1.4.0 root@ofx13uzu70:~/multitheftauto_linux-1.4.0# ./mta-server -bash: ./mta-server: No such file or directory root@ofx13uzu70:~/multitheftauto_linux-1.4.0# cd root@ofx13uzu70:~# mkdir mta5