Jump to content

eXo|Teteee

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by eXo|Teteee

  1. i know it's weird but ; when i've tried the first 3 markers with same variable , it worked O_O anyway , gonna try to make diffirent variables
  2. Hi everyone here we go , i got some problems with the testmarkers (markers with no function) some of them are working and others' not. here is the script: --[[******************************** -- BOOST SCRIPT BY TETE * -- TRY NOT TO COPY! * -- OTHERWISE KILL YOURSELF * --**********************************]] local resRoot = getResourceRootElement(getThisResource()) local root = getRootElement() local screenWidth, screenHeight = guiGetScreenSize() -- addEventHandler("onClientResourceStart", resRoot, function () local testMaker = createMarker( 5074.6621093755, -222.8486328125, 71.801712036133, "corona", 4, 0, 255, 0, 0) local testMaker = createMarker( 5068.912109375, -222.8486328125, 71.801712036133, "corona", 4, 0, 255, 0, 0) local testMaker = createMarker( 5063.162109375, -222.8486328125, 71.801712036133, "corona", 4, 0, 255, 0, 0) local testMaker = createMarker( 5056.912109375, -222.8486328125, 71.801712036133, "corona", 4, 0, 255, 0, 0) local testMaker = createMarker( 5050.4125976563, -222.84869384766, 71.801712036133, "corona", 4, 0, 255, 0, 0) local testMaker = createMarker( 4566.4370117188, -859.23870849609, 46.903495788574, "corona", 4, 0, 255, 239, 0) local testMaker = createMarker( 4564.5717773438, -859.65472412109, 74.730010986328, "corona", 4, 0, 255, 239, 0) local testMaker = createMarker( 3728.0126953125, -1785.029296875, 86.086372375488, "corona", 4, 0, 191, 252, 255) local testMaker = createMarker( 3728.0126953125, -1740.6975097656, 86.086372375488, "corona", 4, 0, 191, 252, 255) local testMaker = createMarker( 4525.6928710938, -920.09649658203, 53.761764526367, "corona", 4, 0, 191, 252, 255) local testMaker = createMarker( 4567.5698242188, -920.09649658203, 72.712348937988, "corona", 4, 0, 191, 252, 255) local testMaker = createMarker( 4604.9467773438, -920.09649658203, 50.3515625, "corona", 4, 0, 191, 252, 255) local testMaker = createMarker( 4566.8837890625, -1239.0541992188, 45.236259460449, "corona", 4, 0, 191, 252, 255) local speedmarker = createMarker(4566.8837890625, -1239.0541992188, 72.712348937988, "corona", 4, 0, 191, 252, 255) addEventHandler("onClientMarkerHit", speedmarker, setVehicleSpeed) end) -- local multiplier = 1.85 local tick function setVehicleSpeed (element) if (getElementType(element) == "player") then if (isPedInVehicle(element)) then if (element == getLocalPlayer()) then local vehicle = getPedOccupiedVehicle(element) local velx, vely, velz = getElementVelocity(vehicle) local newx, newy, newz = velx*multiplier, vely*multiplier, velz*multiplier setElementVelocity(vehicle, newx, newy, newz) addVehicleUpgrade(vehicle, 1010) fixVehicle(vehicle) playSoundFrontEnd(46) tick = getTickCount() addEventHandler("onClientRender", root, drawText) end end end end function drawText() local timePassed = getTickCount() - tick if (timePassed < 4000) then dxDrawText("woho woho woho!", screenHeight/2, screenWidth/2, screenHeight/2, screenWidth/2, tocolor(191,252,255), 1.5, "bankgothic", "center", "center") else removeEventHandler("onClientRender", root, drawText) end end addEventHandler("onClientResourceStop", resRoot, function() outputChatBox("* Script made by Tete", 255, 22, 88) end) those markers are working: local testMaker = createMarker( 3728.0126953125, -1740.6975097656, 86.086372375488, "corona", 4, 0, 191, 252, 255) local testMaker = createMarker( 4525.6928710938, -920.09649658203, 53.761764526367, "corona", 4, 0, 191, 252, 255) local testMaker = createMarker( 4567.5698242188, -920.09649658203, 72.712348937988, "corona", 4, 0, 191, 252, 255) local testMaker = createMarker( 4604.9467773438, -920.09649658203, 50.3515625, "corona", 4, 0, 191, 252, 255) local testMaker = createMarker( 4566.8837890625, -1239.0541992188, 45.236259460449, "corona", 4, 0, 191, 252, 255) and those are not : local testMaker = createMarker( 5074.6621093755, -222.8486328125, 71.801712036133, "corona", 4, 0, 255, 0, 0) local testMaker = createMarker( 5068.912109375, -222.8486328125, 71.801712036133, "corona", 4, 0, 255, 0, 0) local testMaker = createMarker( 5063.162109375, -222.8486328125, 71.801712036133, "corona", 4, 0, 255, 0, 0) local testMaker = createMarker( 5056.912109375, -222.8486328125, 71.801712036133, "corona", 4, 0, 255, 0, 0) local testMaker = createMarker( 5050.4125976563, -222.84869384766, 71.801712036133, "corona", 4, 0, 255, 0, 0) local testMaker = createMarker( 4566.4370117188, -859.23870849609, 46.903495788574, "corona", 4, 0, 255, 239, 0) local testMaker = createMarker( 4564.5717773438, -859.65472412109, 74.730010986328, "corona", 4, 0, 255, 239, 0) any suggestions?
  3. Everything is ok with my graphic card , it's weird. By the way , it's just when i run my laptop with Windows XP sweet that i got that problem , usualy with vista it runs good , but with some lags. I got the latest version of DirectX . And i just want to let you know that i've searched a lot on the forum , and i've found some similar topics , but they didn't find a clue to solve it.
  4. Halo everyone. I've recently installed windows XP (SP3) that i use right now and it work perfectly for al games (i used to have vista but it was crapy...) Now that i've installed MTA 1.0.4 , i have a realy strange lag : Don't ask me if i've installed all video card drivers and stuff , because everything is ok .. i have an Mobile Intel® 4 Series Express Chipset Family with all latest drivers . (Take in mind that i used to play MTA with windows vista , but when i've installed XP , all was going crapy) The strange thing is that all other games run perfectly (like gta san andreas single player and all other fps games ... weird i know) Thanks for your help Greetz , Tete
×
×
  • Create New...