Jump to content

damien111

Members
  • Posts

    270
  • Joined

  • Last visited

Posts posted by damien111

  1. So is there a bug with multi theft auto that if your to far out in the ocean your pickups will be there but not just be visible? Is there a work around? Im just wondering. Cause i heard about it and i need to know for a project.

  2. I think you should know theres a major rp server called Multi Theft Auto : Roleplay

    It is a copy of Valhalla RP. We are making a complete new unique system.

    Cody@

    Thanks! That's a great one, I know TEDERIs :)

    Thats not the point, the point is you and the other server will get mixed up all the time, and its common curtosy to not use the same name for a server as someone else.

  3.   
    checkGateMarker = createMarker ( 216.22926330566, 1875.0806884766, 7.4616560935974, "corona", 10.0, 0, 0, 255, 0 ) 
    groupName = "groupName" 
    function onPoliceShapeHit ( thePlayer, matchingDimension ) 
        if not getElementData(thePlayer, "NameGroup") == groupName then return end 
        if ( getElementType ( thePlayer ) == "player" ) then 
            outputChatBox ( "You have entered Police Base zone!", thePlayer, 0, 0, 255 ) 
        end 
    end 
    addEventHandler ( "onColShapeHit", policeColShape, onPoliceShapeHit ) 
      
    function createGate () 
        gatePolice = createObject ( 976, 209.8828125, 1875.8419189453, 12.372331619263 ) 
    end 
    addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createGate ) 
      
      
    function gateCheckingTeam ( thePlayer, matchingDimension ) 
           if not getElementData(thePlayer, "NameGroup") == groupName then return end 
        moveObject ( gatePolice, 976, 218.11740112305, 1875.3406982422, 12.372331619263 ) 
    end 
    addEventHandler ( "onMarkerHit", checkGateMarker, gateCheckingTeam ) 
      
    function onLeave ( thePlayer, matchingDimension ) 
             if not getElementData(thePlayer, "NameGroup") == groupName then return end 
        setTimer ( movingBackPolice, 3000, 1, thePlayer ) 
    end 
    addEventHandler ( "onMarkerLeave", checkGateMarker, onLeave ) 
      
    function movingBackPolice () 
          if not getElementData(thePlayer, "NameGroup") == groupName then return end 
        moveObject ( gatePolice, 3000, 209.8828125, 1875.8419189453, 12.372331619263 ) 
    end 
      
    

  4.   
    checkGateMarker = createMarker ( 216.22926330566, 1875.0806884766, 7.4616560935974, "corona", 10.0, 0, 0, 255, 0 ) 
    function onPoliceShapeHit ( thePlayer, matchingDimension ) 
        if ( getElementType ( thePlayer ) == "player" ) then 
            outputChatBox ( "You have entered Police Base zone!", thePlayer, 0, 0, 255 ) 
        end 
    end 
    addEventHandler ( "onColShapeHit", policeColShape, onPoliceShapeHit ) 
      
    function createGate () 
        gatePolice = createObject ( 976, 209.8828125, 1875.8419189453, 12.372331619263 ) 
    end 
    addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createGate ) 
      
      
    function gateCheckingTeam ( thePlayer, matchingDimension ) 
        if(getElementData(thePlayer,"NameGroup")=="NAME OF GROUP HERE")then 
        moveObject ( gatePolice, 976, 218.11740112305, 1875.3406982422, 12.372331619263 ) 
    end 
    end 
    addEventHandler ( "onMarkerHit", checkGateMarker, gateCheckingTeam ) 
      
    function onLeave ( thePlayer, matchingDimension ) 
        if(getElementData(thePlayer,"NameGroup")=="NAME OF GROUP HERE")then 
        setTimer ( movingBackPolice, 3000, 1, thePlayer ) 
    end 
    end 
    addEventHandler ( "onMarkerLeave", checkGateMarker, onLeave ) 
      
    function movingBackPolice () 
        moveObject ( gatePolice, 3000, 209.8828125, 1875.8419189453, 12.372331619263 ) 
    end 
      
    

  5. When my nephew trys to join a server his download stays at 0mb. It downloads the map though. Just not the moded files. Also, we have allowed access through the firewall so that isnt it, thanks in advanced

  6. Paying 20 USD for a very large map with lod models scripted in so map loads models beyond draw distance! The map has to be large, a island. Ill need two copys, one with tree's bush's , etc, one without ( they will be put with scripts ). The reason being i need one for testing basic mechanics, one for later. I also need them done in a week at the maximum. The island needs to be massive though! As big as one of the islands , perhaps 3/4 of that size. It needs to be detailed with rocks, waterfalls, etc. This is 20$ USD Job, i will give more depending on its quality.

  7. Hey, thanks for your interest!

    I have a good 3-4 years of scripting in Lua. I started off just basic console lua, then moved up to Love2D, then to Multi Theft Auto, then garrys mod, then Cry Engine, then back to Multi Theft Auto. I have done more scripting in Multi Theft Auto than anything else to be honest. I have created Turfing Systems with bot's like the real one in the original game, along with a waring script with npc battles, using slothbot, and my own semi-decent ped control system. I have made hundread's of jobs and a housing system. I cant really list off everything i have made but yeah, i got expirience. I have every Multi Theft Auto function memorized, and a large majority of the events.

    Just me.

    Money.

    16.

    United States of America.

  8. Hello i am looking for someone that would be interested in helping me with a project. I am calling it "Island Survival" or "Stranded" not sure which yet, anyways, its a new gamemode im making that requires you to gather resources to build shelter to sleep under, requires you to fish or hunt for food, requires you to mine, fletch, smith, basically anything to survive. Now the current problem is i can not map and need a nicely sized map, but not to big, that has one side blocked off but like its a cliff, or mountains, and the other side to the ocean.. Anyways, i need someone to help me, if your willing to help reply here, or register @ lgcrpg.com and message me on the forums ( thats the community that im developing this for ).

  9. Whats the easiest way to make this fit for all resolutions since there are not any relative sizing/coords options.

      
        addEventHandler("onClientRender", root, 
            function() 
                if(getElementData(localPlayer,"loggedIn"))then 
                dxDrawRectangle(0, 0, 1366, 51, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(0, 0, 1365, 49, tocolor(0, 9, 85, 255), true) 
                dxDrawRectangle(1365, 130, 1, 0, tocolor(255, 255, 255, 255), true) 
                dxDrawRectangle(627, 12, 110, 28, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(628, 13, 108, 26, tocolor(17, 43, 255, 255), true) 
                dxDrawRectangle(381, 12, 238, 28, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(382, 13, 236, 26, tocolor(0, 17, 159, 255), true) 
                dxDrawRectangle(209, 12, 164, 28, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(210, 13, 162, 26, tocolor(0, 17, 159, 255), true) 
                dxDrawRectangle(37, 12, 164, 28, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(38, 13, 162, 26, tocolor(0, 17, 159, 255), true) 
                dxDrawRectangle(745, 12, 238, 28, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(746, 13, 236, 26, tocolor(0, 17, 159, 255), true) 
                dxDrawRectangle(991, 12, 143, 28, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(992, 13, 141, 26, tocolor(0, 17, 159, 255), true) 
                dxDrawRectangle(1142, 12, 164, 28, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(1143, 13, 162, 26, tocolor(0, 17, 159, 255), true) 
                dxDrawRectangle(971, 48, 395, 48, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(972, 49, 393, 46, tocolor(0, 9, 85, 255), true) 
                dxDrawRectangle(981, 58, 227, 28, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(982, 59, 225, 26, tocolor(0, 17, 159, 255), true) 
                dxDrawRectangle(1216, 58, 129, 28, tocolor(0, 0, 0, 255), true) 
                dxDrawRectangle(1217, 59, 127, 26, tocolor(0, 17, 159, 255), true) 
                dxDrawText(getElementData(localPlayer,"Score"), 36, 13, 200, 39, tocolor(255, 255, 255, 255), 0.80, "bankgothic", "center", "center", false, false, true, false, false) 
                dxDrawText(getElementData(localPlayer,"Crew"), 210, 13, 374, 39, tocolor(255, 255, 255, 255), 0.80, "bankgothic", "center", "center", false, false, true, false, false) 
                dxDrawText(getElementData(localPlayer,"Money"), 372, 13, 618, 39, tocolor(255, 255, 255, 255), 0.80, "bankgothic", "center", "center", false, false, true, false, false) 
                dxDrawText(tostring(raceTimeLeft), 628, 13, 736, 39, tocolor(255, 255, 255, 255), 0.6, "bankgothic", "center", "center", false, false, true, false, false) 
                dxDrawText(mapName, 746, 13, 978, 39, tocolor(255, 255, 255, 255), 0.6, "bankgothic", "center", "center", false, true, true, false, false) 
                dxDrawText("Likes", 979, 13, 1143, 39, tocolor(255, 255, 255, 255), 0.80, "bankgothic", "center", "center", false, false, true, false, false) 
                dxDrawText("Dislikes", 1141, 13, 1305, 39, tocolor(255, 255, 255, 255), 0.80, "bankgothic", "center", "center", false, false, true, false, false) 
                dxDrawText("User Panel (F1)", 1020, 59, 1163, 85, tocolor(255, 255, 255, 255), 0.70, "bankgothic", "center", "center", false, false, true, false, false) 
                dxDrawText("SHOP (F2)", 1207, 59, 1350, 85, tocolor(255, 255, 255, 255), 0.70, "bankgothic", "center", "center", false, false, true, false, false) 
                dxDrawRectangle(1365, 524, 1, 16, tocolor(255, 255, 255, 255), true) 
            end 
        end) 
    

  10. How could this be MTA:SA logo?

    MTA:SA is online modification of GTA:SA and that character on your picture is barely even shown in GTA:SA

    I agree, but you gotta admit, looks sleek.

  11. I cant get a gridlist to load the table i get from this.

    XML

      
    <homes> 
        <houses> 
            <house dim="3" interior="0" num="3" x="2337.2685546875" y="-1201.740234375" z="27.9765625" lx="2334.7817382813" ly="-1203.9139404297" lz="27.9765625" cost="500" owner="" street="Ballz" sellprice="600" lockStatus="unlock"></house> 
        </houses> 
        <interiors> 
            <interior num="0" id="3" x="2496.02" y="-1692.10" z="1014.74" /> 
            <interior num="1" id="1" x="223.22" y="1287.27" z="1082.14" /> 
            <interior num="2" id="4" x="260.98" y="1284.55" z="1080.25" /> 
            <interior num="3" id="5" x="140.21" y="1366.91" z="1083.85" /> 
            <interior num="4" id="9" x="82.94" y="1322.44" z="1083.86" /> 
            <interior num="5" id="15" x="-283.85" y="1470.96" z="1084.375" /> 
            <interior num="6" id="4" x="-260.60" y="1456.62" z="1084.37" /> 
            <interior num="7" id="8" x="-42.78" y="1405.75" z="1084.43" /> 
            <interior num="8" id="6" x="-68.69" y="1351.97" z="1080.21" /> 
            <interior num="9" id="6" x="2333.05" y="-1077.14" z="1049.02" /> 
            <interior num="10" id="5" x="2233.77" y="-1115.03" z="1050.88" /> 
            <interior num="11" id="8" x="2365.30" y="-1134.92" z="1050.875" /> 
            <interior num="12" id="11" x="2282.91" y="-1140.29" z="1050.90" /> 
            <interior num="13" id="6" x="2196.79" y="-1204.35" z="1049.02" /> 
            <interior num="14" id="10" x="2270.38" y="-1210.45" z="1047.56" /> 
            <interior num="15" id="6" x="2308.79" y="-1212.88" z="1049.02" /> 
            <interior num="16" id="1" x="2218.39" y="-1076.25" z="1050.48" /> 
            <interior num="17" id="2" x="2237.52" y="-1081.64" z="1049.02" /> 
            <interior num="18" id="9" x="2317.84" y="-1026.76" z="1050.21" /> 
            <interior num="19" id="5" x="318.60" y="1114.48" z="1083.88" /> 
            <interior num="20" id="5" x="1298.85" y="-797.01" z="1084.01" /> 
            <interior num="21" id="1" x="-794.99" y="489.29" z="1376.20" /> 
            <interior num="22" id="18" x="1727.04" y="-1637.84" z="20.22" /> 
            <interior num="23" id="18" x="-31.03515625" y="-91.6103515625" z="1003.546875" /> 
            <interior num="24" id="6" x="-26.689453125" y="-57.8095703125" z="1003.546875" /> 
            <interior num="25" id="15" x="2215.04296875" y="-1150.5546875" z="1025.796875" /> 
        </interiors> 
    </homes> 
      
      
    

    Script Snippet

      local account = getPlayerAccount(player) 
       rootNode = xmlLoadFile (":LGChousing/homes.xml") 
       housesNode = xmlFindChild (rootNode,"houses",0) 
        houseNodes = xmlNodeGetChildren (housesNode)  
      
       houses = {} 
      for i,v in ipairs(houseNodes)do 
      houseTable = xmlNodeGetAttributes ( v ) 
      for i,v in ipairs(houseTable)do 
      local owner = xmlNodeGetAttribute (v,"owner") 
      local street = xmlNodeGetAttribute (v,"street") 
      local x = xmlNodeGetAttribute (v,"x") 
      local y = xmlNodeGetAttribute (v,"y") 
      local z = xmlNodeGetAttribute (v,"z") 
      if(owner==getAccountName(account))then 
        index = #houseTable 
        houses[index][1] = street 
        houses[index][2] = x 
        houses[index][3] = y 
        houses[index][4] = z 
      end 
    end 
    end 
      
        triggerClientEvent(player, "showSpawn", player, houses) 
    

  12. Now im getting another error,

      
    local queryResult = mysql_query(mysqlHandler,"INSERT INTO housingdata(id ,name, address, type, interior, owner, price, value, income, status, x, y, z, csX, csY, csZ, csrX, csrY, csrZ) VALUES("..id..","..name.."','"..address..","..typeint..","..interior..",'LGC Housing Team',"..tonumber(price)..","..tonumber(price)..","..tonumber(income)..","..tonumber(status)..","..tonumber(x)..","..tonumber(y)..","..tonumber(z)..",".. tonumber(csx)..",".. tonumber(csy)..","..tonumber(csz)..","..tonumber(csrx)..","..tonumber(csry)..","..tonumber(csrz)..")") 
      
    

    Doesnt use the first value i give it, instead it ignores itand gives me error.

×
×
  • Create New...