Jump to content

Backsage

Members
  • Posts

    168
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Backsage

  1. Ok, thank you for trying to help, but that first for loop statement is essentially the same thing as for i=1, #teamTable do local _team, _r, _g, _b = teamTable[i][1], teamTable[i][2], teamTable[i][3], teamTable[i][4] team[i] = createTeam( _team, _r, _g, _b) end only, you didn't specify it for team[placeNumber]. But it is a different coding style, so I thank you for that. And the second for loop statement was helpful when trying to use it in cmd, but they still don't tell me how to specify a range of teams that should be allowed in the colshape.
  2. Now the question is, how do I make it work for a range of teams and not just one? I've been trying like crazy, trying to figure out how to make it work for a range of teams, but I just don't know how: local teamTable = { -- createTeam(Team name, R, G, B) {"Unemployed", 255, 255, 0}, {"Unoccupied", 255, 182, 193}, {"Civilian Workers", 255, 215, 0}, {"Police Service", 30, 144, 255}, {"Criminals", 0, 255, 0}, {"Gangsters", 148, 0, 211}, {"Duel Team 1", 10, 34, 29}, {"Duel Team 2", 244, 0, 29}, {"Duel Team 3", 255, 255, 255}, {"Duel Team 4", 255, 255, 255}, {"Duel Team 5", 255, 255, 255}, {"Duel Team 6", 255, 255, 255}, {"Duel Team 7", 255, 255, 255}, {"Duel Team 8", 255, 255, 255}, } I'm gonna keep trying to figure out how.
  3. Hi guys. I need some help. I have a script here and I've created a colshape for an arena of some sort. It's below the ground, so if you want to test it, you'll need to change the coordinates of the colshape and the spawn positions, or just create some ground objects. In the script, I have created some teams and I'm trying to make it so that if you're not in "Duel Team 1", then it spawns you outside the colshape. Otherwise, if you are in "Duel Team 1", then you should be allowed in the colshape. The problem with the script is that it's not detecting if I'm actually in the team, so even though I'm in "Duel Team 1", it still spawns me outside the colshape. If you could help me, that'd be great. local colshape = createColCuboid(950.19, 1566.74, -23.13, 53.2, 53, 8.7) function Arena_Enter ( thePlayer, matchingDimension ) if getElementType ( thePlayer ) == "player" then --if the element that entered was player --let's get the name of the player local nameOfThePlayer = getPlayerName ( thePlayer ) --announce to everyone that the player entered the hill outputChatBox ( nameOfThePlayer.." entered the zone!", getRootElement(), 255, 255, 109 ) end end addEventHandler ( "onColShapeHit", colshape, Arena_Enter ) local team = {} local teamTable = { -- createTeam(Team name, R, G, B) {"Unemployed", 255, 255, 0}, {"Unoccupied", 255, 182, 193}, {"Civilian Workers", 255, 215, 0}, {"Police Service", 30, 144, 255}, {"Criminals", 0, 255, 0}, {"Gangsters", 148, 0, 211}, {"Duel Team 1", 10, 34, 29}, {"Duel Team 2", 244, 0, 29}, } for i=1, #teamTable do local _team, _r, _g, _b = teamTable[i][1], teamTable[i][2], teamTable[i][3] team[i] = createTeam( _team, _r, _g, _b) end local teamspawn = {} local teamSpawnTable = { {934.74, 1586.27, -17.50, 0, 0, 1} } for i=1, #teamSpawnTable do local _x, _y, _z, _r, _int, _dim = teamSpawnTable[i][1], teamSpawnTable[i][2], teamSpawnTable[i][3], teamSpawnTable[i][4], teamSpawnTable[i][5], teamSpawnTable[i][6] end -- lp = getLocalPlayer() -- _team = getPlayerTeam(thePlayer) -- name = getPlayerName(thePlayer) -- local _thePlayer = getPlayerName(source) -- local playerTeam = getPlayerTeam(source) function kicknotdueler ( source, matchingDimension) local playerTeam = getPlayerTeam(source) if getElementType ( source ) == "player" and playerTeam ~= teamTable[7] then spawnPlayer(source, 934.74, 1586.27, -17.50, 0, plrSkin, 0, 1) outputChatBox("You are not allowed to be in the arena", getRootElement(), 255, 255, 109) else cancelEvent() end end addEventHandler("onColShapeHit", colshape, kicknotdueler)
  4. For some reason, the script only works on MTA 1.4 and doesn't work on MTA 1.3.5. Weird. Thanks to 28WL and xScatta for not helping me.
  5. How did you fix it? I would like to know. EDIT: For some reason, the script only works on MTA 1.4 and doesn't work on MTA 1.3.5. Weird. Thanks to 28WL and xScatta for not helping me.
  6. Well, I'm having a similar problem. When I start the script and move the mouse, the camera don't move with it. I've been looking at the truefps script, but I can't figure out how to get it to work in that script and to make it work for vehicles. All I know is line 59: resetCamera ( ) isn't defined. Would be great if we could get some help.
  7. line 59: resetCamera ( ) isn't defined. If you do /debugscript 3, it will tell you that. I know what you're talking about. Mouse not moving the view. It is just stuck. I'm having same problem too and trying to figure out how to solve it. And xScatta isn't helping... But even after deleting the else resetCamera ( ), it still doesn't fix the problem. So I have no clue what it is.
  8. With a little bit of playing around, I was able to set the dimension of the tower's objects to 1 and did setElementDimension to 1 (for spawning) with setElementPosition. Here is the new code: local marker = {} local markerTable = { --x, y, z, r, g, b, dim, x1, y1, z1, rotation, int, dimension {1788.73, -1296.87, 13.41, 255, 255, 0, 0, 1811.22, -1298.09, 22.24, 0, 0, 1}, -- Entrance marker, spawns to 1st floor | First coordinates indicate where the marker is located. Second coordinates indicate where the player will spawn. Do not put the exact spawn coordinates the same as the marker coordinates, otherwise you will get a C Stack Overflow error or it'll just spawn you somewhere else. {1811.17, -1300.80, 22.24, 255, 255, 0, 1, 1791.13, -1292.97, 13.54, 0, 0, 1}, -- 1st floor Down marker, spawns to entrance {1811.17, -1300.80, 27.70, 255, 255, 0, 1, 1811.22, -1298.09, 22.24, 0, 0, 1}, -- 2nd floor Down marker, spawns to 1st floor {1811.17, -1300.80, 33.16, 255, 255, 0, 0, 1811.22, -1298.09, 27.70, 0, 0, 0}, -- 3rd floor Down marker, spawns to 2rd floor {1811.17, -1300.89, 38.62, 255, 255, 0, 0, 1811.22, -1298.09, 33.16, 0, 0, 0}, -- 4th floor Down marker, spawns to 3rd floor {1811.17, -1300.89, 44.09, 255, 255, 0, 0, 1811.22, -1298.09, 38.62, 0, 0, 0}, -- 5th floor Down marker, spawns to 4th floor {1811.17, -1300.89, 49.47, 255, 255, 0, 0, 1811.22, -1298.09, 44.09, 0, 0, 0}, -- 6th floor Down marker, spawns to 5th floor {1811.17, -1300.89, 54.93, 255, 255, 0, 0, 1811.22, -1298.09, 49.47, 0, 0, 0}, -- 7th floor Down marker, spawns to 6th floor {1811.17, -1300.89, 60.40, 255, 255, 0, 0, 1811.22, -1298.09, 54.93, 0, 0, 0}, -- 8th floor Down marker, spawns to 7th floor {1811.17, -1300.89, 65.85, 255, 255, 0, 0, 1811.22, -1298.09, 60.40, 0, 0, 0}, -- 9th floor Down marker, spawns to 8th floor {1811.17, -1300.89, 71.31, 255, 255, 0, 0, 1811.22, -1298.09, 65.85, 0, 0, 0}, -- 10th floor Down marker, spawns to 9th floor {1811.17, -1300.89, 76.70, 255, 255, 0, 0, 1811.22, -1298.09, 71.31, 0, 0, 0}, -- 11th floor Down marker, spawns to 10th floor {1811.17, -1300.89, 82.17, 255, 255, 0, 0, 1811.22, -1298.09, 76.70, 0, 0, 0}, -- 12th floor Down marker, spawns to 11th floor {1811.17, -1300.89, 87.62, 255, 255, 0, 0, 1811.22, -1298.09, 82.17, 0, 0, 0}, -- 13th floor Down marker, spawns to 12th floor {1811.17, -1300.89, 93.09, 255, 255, 0, 0, 1811.22, -1298.09, 87.62, 0, 0, 0}, -- 14th floor Down marker, spawns to 13th floor {1811.17, -1300.89, 98.54, 255, 255, 0, 0, 1811.22, -1298.09, 93.09, 0, 0, 0}, -- 15th floor Down marker, spawns to 14th floor {1811.17, -1300.89, 103.93, 255, 255, 0, 0, 1811.22, -1298.09, 98.54, 0, 0, 0}, -- 16th floor Down marker, spawns to 15th floor {1811.17, -1300.89, 109.40, 255, 255, 0, 0, 1811.22, -1298.09, 103.93, 0, 0, 0}, -- 17th floor Down marker, spawns to 16th floor {1811.17, -1300.89, 114.85, 255, 255, 0, 0, 1811.22, -1298.09, 109.30, 0, 0, 0}, -- 18th floor Down marker, spawns to 17th floor {1811.17, -1300.89, 120.30, 255, 255, 0, 0, 1811.22, -1299.09, 114.85, 0, 0, 0}, -- 19th floor Down marker, spawns to 18th floor {1825.17, -1299.39, 22.24, 255, 255, 0, 0, 1827.09, -1299.36, 27.70, 0, 0, 0}, -- 1st floor Up marker, spawns to 2nd floor {1825.17, -1299.39, 27.70, 255, 255, 0, 0, 1827.09, -1299.36, 33.16, 0, 0, 0}, -- 2nd floor Up marker, spawns to 3rd floor {1825.17, -1299.39, 33.16, 255, 255, 0, 0, 1827.09, -1299.36, 38.62, 0, 0, 0}, -- 3rd floor Up marker, spawns to 4th floor {1825.17, -1299.39, 38.62, 255, 255, 0, 0, 1827.09, -1299.36, 44.07, 0, 0, 0}, -- 4th floor Up marker, spawns to 5th floor {1825.17, -1299.39, 44.09, 255, 255, 0, 0, 1827.09, -1299.36, 49.47, 0, 0, 0}, -- 5th floor Up marker, spawns to 6th floor {1825.17, -1299.39, 49.47, 255, 255, 0, 0, 1827.09, -1299.36, 54.93, 0, 0, 0}, -- 6th floor Up marker, spawns to 7th floor {1825.17, -1299.39, 54.93, 255, 255, 0, 0, 1827.09, -1299.36, 60.40, 0, 0, 0}, -- 7th floor Up marker, spawns to 8th floor {1825.17, -1299.39, 60.40, 255, 255, 0, 0, 1827.09, -1299.36, 65.85, 0, 0, 0}, -- 8th floor Up marker, spawns to 9th floor {1825.17, -1299.39, 65.85, 255, 255, 0, 0, 1827.09, -1299.36, 71.31, 0, 0, 0}, -- 9th floor Up marker, spawns to 10th floor {1825.17, -1299.39, 71.31, 255, 255, 0, 0, 1827.09, -1299.36, 76.70, 0, 0, 0}, -- 10th floor Up marker, spawns to 11th floor {1825.17, -1299.39, 76.70, 255, 255, 0, 0, 1827.09, -1299.36, 82.17, 0, 0, 0}, -- 11th floor Up marker, spawns to 12th floor {1825.17, -1299.39, 82.17, 255, 255, 0, 0, 1827.09, -1299.36, 87.62, 0, 0, 0}, -- 12th floor Up marker, spawns to 13th floor {1825.17, -1299.39, 87.62, 255, 255, 0, 0, 1827.09, -1299.36, 93.09, 0, 0, 0}, -- 13th floor Up marker, spawns to 14th floor {1825.17, -1299.39, 93.09, 255, 255, 0, 0, 1827.09, -1299.36, 98.54, 0, 0, 0}, -- 14th floor Up marker, spawns to 15th floor {1825.17, -1299.39, 98.54, 255, 255, 0, 0, 1827.09, -1299.36, 103.93, 0, 0, 0}, -- 15th floor Up marker, spawns to 16th floor {1825.17, -1299.39, 103.93, 255, 255, 0, 0, 1827.09, -1299.36, 109.40, 0, 0, 0}, -- 16th floor Up marker, spawns to 17th floor {1825.17, -1299.39, 109.30, 255, 255, 0, 0, 1827.09, -1299.36, 114.85, 0, 0, 0}, -- 17th floor Up marker, spawns to 18th floor {1825.17, -1299.39, 114.85, 255, 255, 0, 0, 1827.09, -1299.36, 120.30, 0, 0, 0}, -- 18th floor Up marker, spawns to 19th floor --[[ {1825.17, -1299.39, 120.30, 255, 255, 0, 0, 1827.09, -1299.36, } -- 19th floor Up marker, spawns to top of building --]] } function teleporter(hitElement) local markerIndex = getElementData(source, "markerIndex") local plrSkin = getElementModel(hitElement) local rotation = markerTable[markerIndex][11] local int = markerTable[markerIndex][12] local dim = markerTable[markerIndex][7] local dim2 = markerTable[markerIndex][13] if (not getPedOccupiedVehicle(hitElement)) then if (dim) then setElementDimension(hitElement, 1) setElementPosition(hitElement, markerTable[markerIndex][8], markerTable[markerIndex][9], markerTable[markerIndex][10]) else setElementDimension(hitElement, 0) setElementPosition(hitElement, markerTable[markerIndex][8], markerTable[markerIndex][9], markerTable[markerIndex][10]) end end end for i=1, #markerTable do local x, y, z, r, g, b, dim = markerTable[i][1], markerTable[i][2], markerTable[i][3], markerTable[i][4], markerTable[i][5], markerTable[i][6], markerTable[i][7] marker[i] = createMarker(x, y, z + 1, "arrow", 2, r, g, b, 200) setElementData(marker[i], "markerIndex", i) addEventHandler("onMarkerHit", marker[i], teleporter) end Only thing is now, I can't see the markers in dimension 1, but I can still spawn up or down by going to the marker's position. I can't see the dimensions of the markers
  9. Hi. I need to know what object is this because I want to be able to make another building like this: I know it's possible because I've seen it in another server, like here: When I try to put the target over it, it doesn't highlight it and give me it's name. If you could help me, that'd be great. Thanks.
  10. Well, setElementPosition solves the problem of the freezing. Only thing is, I can't use it if I want a player to go to another interior or dimension.
  11. Ok, here you go: local marker = {} local markerTable = { --x, y, z, r, g, b, dim, x1, y1, z1, rotation, int, dimension {1788.73, -1296.87, 13.41, 255, 255, 0, 0, 1811.22, -1298.09, 22.24, 0, 0, 0}, -- Entrance marker, spawns to 1st floor | First coordinates indicate where the marker is located. Second coordinates indicate where the player will spawn. Do not put the exact spawn coordinates the same as the marker coordinates, otherwise you will get a C Stack Overflow error or it'll just spawn you somewhere else. {1811.17, -1300.80, 22.24, 255, 255, 0, 0, 1791.13, -1292.97, 13.54, 0, 0, 0}, -- 1st floor Down marker, spawns to entrance {1811.17, -1300.80, 27.70, 255, 255, 0, 0, 1811.22, -1298.09, 22.24, 0, 0, 0}, -- 2nd floor Down marker, spawns to 1st floor {1811.17, -1300.80, 33.16, 255, 255, 0, 0, 1811.22, -1298.09, 27.70, 0, 0, 0}, -- 3rd floor Down marker, spawns to 2rd floor {1811.17, -1300.89, 38.62, 255, 255, 0, 0, 1811.22, -1298.09, 33.16, 0, 0, 0}, -- 4th floor Down marker, spawns to 3rd floor {1811.17, -1300.89, 44.09, 255, 255, 0, 0, 1811.22, -1298.09, 38.62, 0, 0, 0}, -- 5th floor Down marker, spawns to 4th floor {1811.17, -1300.89, 49.47, 255, 255, 0, 0, 1811.22, -1298.09, 44.09, 0, 0, 0}, -- 6th floor Down marker, spawns to 5th floor {1811.17, -1300.89, 54.93, 255, 255, 0, 0, 1811.22, -1298.09, 49.47, 0, 0, 0}, -- 7th floor Down marker, spawns to 6th floor {1811.17, -1300.89, 60.40, 255, 255, 0, 0, 1811.22, -1298.09, 54.93, 0, 0, 0}, -- 8th floor Down marker, spawns to 7th floor {1811.17, -1300.89, 65.85, 255, 255, 0, 0, 1811.22, -1298.09, 60.40, 0, 0, 0}, -- 9th floor Down marker, spawns to 8th floor {1811.17, -1300.89, 71.31, 255, 255, 0, 0, 1811.22, -1298.09, 65.85, 0, 0, 0}, -- 10th floor Down marker, spawns to 9th floor {1811.17, -1300.89, 76.70, 255, 255, 0, 0, 1811.22, -1298.09, 71.31, 0, 0, 0}, -- 11th floor Down marker, spawns to 10th floor {1811.17, -1300.89, 82.17, 255, 255, 0, 0, 1811.22, -1298.09, 76.70, 0, 0, 0}, -- 12th floor Down marker, spawns to 11th floor {1811.17, -1300.89, 87.62, 255, 255, 0, 0, 1811.22, -1298.09, 82.17, 0, 0, 0}, -- 13th floor Down marker, spawns to 12th floor {1811.17, -1300.89, 93.09, 255, 255, 0, 0, 1811.22, -1298.09, 87.62, 0, 0, 0}, -- 14th floor Down marker, spawns to 13th floor {1811.17, -1300.89, 98.54, 255, 255, 0, 0, 1811.22, -1298.09, 93.09, 0, 0, 0}, -- 15th floor Down marker, spawns to 14th floor {1811.17, -1300.89, 103.93, 255, 255, 0, 0, 1811.22, -1298.09, 98.54, 0, 0, 0}, -- 16th floor Down marker, spawns to 15th floor {1811.17, -1300.89, 109.40, 255, 255, 0, 0, 1811.22, -1298.09, 103.93, 0, 0, 0}, -- 17th floor Down marker, spawns to 16th floor {1811.17, -1300.89, 114.85, 255, 255, 0, 0, 1811.22, -1298.09, 109.30, 0, 0, 0}, -- 18th floor Down marker, spawns to 17th floor {1811.17, -1300.89, 120.30, 255, 255, 0, 0, 1811.22, -1299.09, 114.85, 0, 0, 0}, -- 19th floor Down marker, spawns to 18th floor {1825.17, -1299.39, 22.24, 255, 255, 0, 0, 1827.09, -1299.36, 27.70, 0, 0, 0}, -- 1st floor Up marker, spawns to 2nd floor {1825.17, -1299.39, 27.70, 255, 255, 0, 0, 1827.09, -1299.36, 33.16, 0, 0, 0}, -- 2nd floor Up marker, spawns to 3rd floor {1825.17, -1299.39, 33.16, 255, 255, 0, 0, 1827.09, -1299.36, 38.62, 0, 0, 0}, -- 3rd floor Up marker, spawns to 4th floor {1825.17, -1299.39, 38.62, 255, 255, 0, 0, 1827.09, -1299.36, 44.07, 0, 0, 0}, -- 4th floor Up marker, spawns to 5th floor {1825.17, -1299.39, 44.09, 255, 255, 0, 0, 1827.09, -1299.36, 49.47, 0, 0, 0}, -- 5th floor Up marker, spawns to 6th floor {1825.17, -1299.39, 49.47, 255, 255, 0, 0, 1827.09, -1299.36, 54.93, 0, 0, 0}, -- 6th floor Up marker, spawns to 7th floor {1825.17, -1299.39, 54.93, 255, 255, 0, 0, 1827.09, -1299.36, 60.40, 0, 0, 0}, -- 7th floor Up marker, spawns to 8th floor {1825.17, -1299.39, 60.40, 255, 255, 0, 0, 1827.09, -1299.36, 65.85, 0, 0, 0}, -- 8th floor Up marker, spawns to 9th floor {1825.17, -1299.39, 65.85, 255, 255, 0, 0, 1827.09, -1299.36, 71.31, 0, 0, 0}, -- 9th floor Up marker, spawns to 10th floor {1825.17, -1299.39, 71.31, 255, 255, 0, 0, 1827.09, -1299.36, 76.70, 0, 0, 0}, -- 10th floor Up marker, spawns to 11th floor {1825.17, -1299.39, 76.70, 255, 255, 0, 0, 1827.09, -1299.36, 82.17, 0, 0, 0}, -- 11th floor Up marker, spawns to 12th floor {1825.17, -1299.39, 82.17, 255, 255, 0, 0, 1827.09, -1299.36, 87.62, 0, 0, 0}, -- 12th floor Up marker, spawns to 13th floor {1825.17, -1299.39, 87.62, 255, 255, 0, 0, 1827.09, -1299.36, 93.09, 0, 0, 0}, -- 13th floor Up marker, spawns to 14th floor {1825.17, -1299.39, 93.09, 255, 255, 0, 0, 1827.09, -1299.36, 98.54, 0, 0, 0}, -- 14th floor Up marker, spawns to 15th floor {1825.17, -1299.39, 98.54, 255, 255, 0, 0, 1827.09, -1299.36, 103.93, 0, 0, 0}, -- 15th floor Up marker, spawns to 16th floor {1825.17, -1299.39, 103.93, 255, 255, 0, 0, 1827.09, -1299.36, 109.40, 0, 0, 0}, -- 16th floor Up marker, spawns to 17th floor {1825.17, -1299.39, 109.30, 255, 255, 0, 0, 1827.09, -1299.36, 114.85, 0, 0, 0}, -- 17th floor Up marker, spawns to 18th floor {1825.17, -1299.39, 114.85, 255, 255, 0, 0, 1827.09, -1299.36, 120.30, 0, 0, 0}, -- 18th floor Up marker, spawns to 19th floor --[[ {1825.17, -1299.39, 120.30, 255, 255, 0, 0, 1827.09, -1299.36, } -- 19th floor Up marker, spawns to top of building --]] } function teleporter(hitElement) local markerIndex = getElementData(source, "markerIndex") local plrSkin = getElementModel(hitElement) local rotation = markerTable[markerIndex][11] local int = markerTable[markerIndex][12] local dim = markerTable[markerIndex][13] if (not getPedOccupiedVehicle(hitElement)) then if (dim) then spawnPlayer(hitElement, markerTable[markerIndex][8], markerTable[markerIndex][9], markerTable[markerIndex][10], rotation, plrSkin, int, dim) else spawnPlayer(hitElement, markerTable[markerIndex][8], markerTable[markerIndex][9], markerTable[markerIndex][10], rotation, plrSkin, int, 0) end end end for i=1, #markerTable do local x, y, z, r, g, b, dim = markerTable[i][1], markerTable[i][2], markerTable[i][3], markerTable[i][4], markerTable[i][5], markerTable[i][6], markerTable[i][7] marker[i] = createMarker(x, y, z + 1, "arrow", 2, r, g, b, 200) setElementDimension(marker[i], dim) setElementData(marker[i], "markerIndex", i) addEventHandler("onMarkerHit", marker[i], teleporter) end
  12. Hi, guys. I need some help. I made a marker script and whenever someone enters the marker and spawns somewhere else, they are frozen for 4 seconds and I need to know how to fix that. Here is the code: EDIT: You need a certain map for that. But does someone know why I got that problem? It happened in a map that had many objects in dimension 0. It doesn't happen when it's in a new map.
  13. Well, it's a good tool. However, I've found that when I clone a lot of objects as a group and move it up and them, it spams this in my server log: [2014-05-05 02:12:48] WARNING: @editor_main\server\createdestroy.lua:24 Bad argument @ 'triggerClientEvent' [Expected string at argument 1, got nil] Also, sometimes the objects will get bugged (some of them are out of place) when I give it an exact Z position coordinate. Again, it happens sometimes, not all the time. But other than that, it's a good tool. Wish you had a donation page.
  14. Hey, guys. I have a problem. For a while now, my server hasn't been getting port forwarded correctly. Only the ASE port gets forwarded, but the server and http port (when they're the same port number) aren't getting forwarded. Or, only the ASE and server ports gets forwarded and the http port (when it's different from the server port) doesn't get forwarded. Or, if I just try to forward the ASE port and the TCP port, only the ASE port gets forwarded, the TCP port doesn't. I have done everything correctly in my router's port forwarding settings, but I don't know why it's not working anymore. They used to all get forwarded with no problem and now it's not working.
  15. Guys, I need help. I added one guy to SuperModerator in my server and I did not know that SuperModerators could add objects in ACL. So what he did was, he added himself to group Admin as well, and that's bad because I don't want him having access to delete Resources. How do I remove those rights from SuperModerator in ACL? I have already tried adding in SuperModerator group of ACL, but it didn't work, I even tried /restart admin, but when I logged in as SuperModerator, I could still add/remove objects and add/remove ACL. Please help me out here.
  16. My script didn't make any sense? Yours didn't even work! .__. Maybe I need to do something with 'matchingDimension' and set all the interior objects in a different dimension. Edit: Nope. That didn't do anything. I still need help though Also, the way that it's working now is that I can go to the Stadium marker and it'll warp me to the interior, but if I go to the interior marker, it keeps spawning me in the interior and not back to the Stadium.
  17. Hi, guys. I have a problem. I've created 2 scripts, one of which allows you to enter a marker at LV Stadium and spawn at a custom interior, which is under the 'warpToArena' resource. The other script allows you to enter a marker in the interior and spawns you back to the Stadium, which is under the 'warpBackToStadium' resource. I had to put the scripts under separate resources because of some problems. One of the problems is that when I have both of them on, when I enter the marker from the interior, it warps me back to the Stadium. But when I enter the Stadium marker, it keeps bringing me back to the position of the Stadium marker and not at the interior. So how do I make it so it can be vice-versa and under one lua script? Also, when players enter the marker and spawn, they get a different skin, based on what's written in the script. How do I make it so they don't lose their current skin after spawning? Here are the scripts. myMarker = createMarker ( 1099.67, 1600.73, 13.05, "arrow", 1.0, 255, 255, 0, 0 ) local function warpToArena(markerHit, matchingDimension, myMarker) if (matchingDimension) then spawnPlayer (source, 924.39, 1582.29, -16.91, 0, 0, 0, 0) fadeCamera (source, true) setCameraTarget (source, source) end end addEventHandler("onPlayerMarkerHit",getRootElement(),warpToArena) myMarker = createMarker ( 928, 1590, -16.91, "arrow", 1.0, 255, 255, 0, 0 ) local function warpbacktostadium(markerHit, matchingDimension, myMarker) if (matchingDimension) then spawnPlayer (source, 1099.67, 1600.73, 13.05, 0, 0, 0, 0) fadeCamera (source, true) setCameraTarget (source, source) end end addEventHandler("onPlayerMarkerHit",getRootElement(),warpbacktostadium)
  18. Oh, it's cause I forgot to do /restart admin after adding and removing people from ACL /lock please or delete topic.
  19. I tried doing that while the server was down via Notepad++ and when I started it up again and he logged in, he said he still didn't have access to those tabs. I did exactly what you said via admin panel and I'll just have to wait and see if he gets back admin access.
  20. Hi, guys. First off, I finally got all my ports forwarded and the server is open for connections! *Yay* There was something else I had to do. So here's the problem. I added someone to my acl.xml as a Moderator and I did Revoke admin access via admin panel so he couldn't get access to Resources, Maps, and Bans tabs. I am wondering if there is a way I can give him back the access, or at least some way to script a button that does Add admin access.
  21. That website doesn't even have my specific router model
  22. [2013-06-09 20:34:18] WARNING: admin section in the meta.xml is incorrect or missing (expected at least server 1.3.0-9.03772 because of 'getPlayerACInfo') [2013-06-09 20:34:18] WARNING: admin requires upgrade as section in the meta.xml is incorrect or missing (expected at least server 1.3.0-9.03772 because of 'getPlayerACInfo') Edit: I got the admin panel panel by doing the command "upgrade all" and logging it with the user in the Admin group. Also, you can lock the topic as I finally got all the ports forwarded.
  23. Hello. I have a problem. This is on a different computer. When I try to add a static IP address in the IPv4 configuration and try to openports, I get this error: Also, I can't access the internet because it's not DHCP configured. I think the reason I get that error is 'cause I can't access the Internet. I added MTA Server to Windows Firewall, but it didn't work. When I have it DHCP configured, I can access the internet again, but I get this error: This is what it looks like before I do anything: Help?
  24. Backsage

    Port Forwarding

    Eh, forget it. One day, I'm gonna have to buy a cheap Linksys router ; it seems to be the best solution for me. The link doesn't really help me, but thanks though.
  25. Backsage

    Port Forwarding

    Hello. I have been suffering the same problem. For a while, I've always been getting the message: "Port 22126 UDP is closed. Players can not browse! Port 22003 UDP is closed. Players can not join! Port 22005 TCP is closed. Players can not download!" Then today, I went into McAfee Internet Suite > Firewall > Ports and System Services and did this. But when I go here, it shows that port 22005 TCP is closed. Also, how can I get it so it queries to game-monitor.com? Please help. I just want to manually port forward all the ports so I can finally open a server for once. I don't want to have to purchase PFConfig or buy a LinkSys router. How do I get the rest of the ports forwarded in McAfee Internet Security Suite? I've tried googling for solutions that specifically relate to my modem, but I've gotten no success. I have a feeling the reason why it's working it because it may be connected to the Port Triggering services I've set up on my modem, but for Port Forwarding it says "If your firewall is enabled, the firewall rules take precedence over the Services", so obviously, the Port Forwarding on my Modem has nothing to do with this; it's just the McAfee Firewall that's doing the Port Forwarding. My IP is static by the way. Also, @chlusniembousniem How did you change it to "any" port?
×
×
  • Create New...