Jump to content

yoya99

Members
  • Posts

    271
  • Joined

  • Last visited

Everything posted by yoya99

  1. and is there something like an ragdoll at death for example?....like the hit effects in gta 5 and not the stupid effects from mta
  2. hey i wanted to ask you guys is there a way to import gta 5 style animation to mtA? or just making the mta animations smother....thank you
  3. hello that is my matrix resource but there is a problem ...if i exit the plane the matrix is not set to the local player again ( pls help addEventHandler("onClientPreRender", root, function() local theVehicle = getPedOccupiedVehicle(localPlayer) if (not theVehicle) then return end local eM = getElementMatrix( theVehicle ) local vx, vy, vz = getElementVelocity( theVehicle ) local speed = math.sqrt(math.pow(vx, 2) + math.pow(vy, 2) + math.pow(vz, 2)) + 0.5 local distance = 5 * speed + 12 local heightAboveVehicle = 2.5 local roll = math.deg(math.atan2(eM[1][3], eM[3][3])) local x = -distance * eM[2][1] + eM[4][1] local y = -distance * eM[2][2] + eM[4][2] local z = -distance * eM[2][3] + heightAboveVehicle * eM[3][3] + eM[4][3] local lx = 4 * eM[2][1] + eM[4][1] local ly = 4 * eM[2][2] + eM[4][2] local lz = 4 * eM[2][3] + eM[4][3] if ( getVehicleType( theVehicle ) == "Plane" ) then setCameraMatrix( x, y, z, lx, ly, lz, roll) end end )
  4. hey i haev something like that too but when i exit the vehicle the camera matrix is not set to rthge player again...
  5. yoya99

    server mta

    Heloo there i am looking for an MTA zombie server sponsor....If somone has mood pm me or just write it down here....thx yannis
  6. hey there... i wanted to ask you is there anything that replaces just the download recangle with a little text...becasue players are very sicvk if they see the download recangle ....is there a something?.....in advance
  7. yoya99

    http server

    Ok thx i will make it not
  8. yoya99

    http server

    how to make it download? i dont understan anything sry
  9. yoya99

    http server

    i dotn understand that text sry...isnt there a tuorial chance?
  10. yoya99

    http server

    hey how to make a http server to download faster the files from the server? can somone give me a little tutorial =? trhx in advance
  11. yoya99

    Staff image

    i mean i fixed the Errors myself ...you wanna see it? https://www.facebook.com/epicfreeroam/p ... =1&theater
  12. where to add a ) ? there is not number
  13. yoya99

    Staff image

    no i made the level myself work...the problem was (easy) that killer were not defined....such pros as you shouold have known that
  14. yoya99

    Staff image

    "and you say i would give stupid comments...? andyway i made my Level system with Images work !
  15. you think its that what i mean? because lvl 1 is maybe /200 lvl2 is /400 lvl 3 is /1200 and so on and in brackets behind the % of XP example : i have LV:1 XP:100/200 (50%) is it posible like that?
  16. Its harder to belive than to understand because i am 15 too
  17. Did i ever tell you the definition of insanity....If you dont want to help me with that then talk along but i go
  18. yoya99

    Staff image

    ye i tried something like this too...anybody an idea?
  19. i guess you are a nobody: look here
  20. Nothing is ok...nobody helps me...read my topics
  21. hey guys...this is my Level system and i wanted to ask you how to make something behind the dxdrawText XP: how much xp you need to reach the next level....something like XP: 0/100 (0%) or something? here is my exp system: function win(ammo, killer, weapon, bodypart) if (killer and getElementType(killer) == "player" and killer ~= source) then local H = getElementData(killer, "XP") or 5 local S = getElementData(killer, "Level") local killer1 = getPlayerName(killer) local noob = getPlayerName(source) local X = 1 setElementData(killer, "XP", tonumber(H)+X) local H = tonumber(H) + X if tonumber(H) == 2 then setElementData(killer, "Level", "1") elseif tonumber(H) == 5 then setElementData(killer, "Level", "2") elseif tonumber(H) == 10 then setElementData(killer, "Level", "3") elseif tonumber(H) == 15 then setElementData(killer, "Level", "4") elseif tonumber(H) == 25 then setElementData(killer, "Level", "5") elseif tonumber(H) == 30 then setElementData(killer, "Level", "6") elseif tonumber(H) == 45 then setElementData(killer, "Level", "7") elseif tonumber(H) == 55 then setElementData(killer, "Level", "8") elseif tonumber(H) == 65 then setElementData(killer, "Level", "9") elseif tonumber(H) == 70 then setElementData(killer, "Level", "10") elseif tonumber(H) == 75 then setElementData(killer, "Level", "11") elseif tonumber(H) == 85 then setElementData(killer, "Level", "12") elseif tonumber(H) == 100 then setElementData(killer, "Level", "13") elseif tonumber(H) == 115 then setElementData(killer, "Level", "14") elseif tonumber(H) == 130 then setElementData(killer, "Level", "15") elseif tonumber(H) == 145 then setElementData(killer, "Level", "16") elseif tonumber(H) == 155 then setElementData(killer, "Level", "17") elseif tonumber(H) == 160 then setElementData(killer, "Level", "18") elseif tonumber(H) == 170 then setElementData(killer, "Level", "19") elseif tonumber(H) == 180 then setElementData(killer, "Level", "20") elseif tonumber(H) == 200 then setElementData(killer, "Level", "21") elseif tonumber(H) == 250 then setElementData(killer, "Level", "22") elseif tonumber(H) == 300 then setElementData(killer, "Level", "23") elseif tonumber(H) == 400 then setElementData(killer, "Level", "24") elseif tonumber(H) == 450 then setElementData(killer, "Level", "25") elseif tonumber(H) == 600 then setElementData(killer, "Level", "26") elseif tonumber(H) == 650 then setElementData(killer, "Level", "27") elseif tonumber(H) == 750 then setElementData(killer, "Level", "28") elseif tonumber(H) == 830 then setElementData(killer, "Level", "29") elseif tonumber(H) == 900 then setElementData(killer, "Level", "30") elseif tonumber(H) == 970 then setElementData(killer, "Level", "31") elseif tonumber(H) == 10600 then setElementData(killer, "Level", "32") elseif tonumber(H) == 11111 then setElementData(killer, "Level", "33") elseif tonumber(H) == 20000 then setElementData(killer, "Level", "34") elseif tonumber(H) == 20500 then setElementData(killer, "Level", "35") elseif tonumber(H) == 40600 then setElementData(killer, "Level", "36") elseif tonumber(H) == 50000 then setElementData(killer, "Level", "37") elseif tonumber(H) == 51000 then setElementData(killer, "Level", "38") end end end addEventHandler( "onPlayerWasted", getRootElement(), win) function onLogin (_,account) setElementData(source, "Level", getAccountData(account, "LV") or "0") setElementData(source, "XP", getAccountData(account, "EXP") or "0") end addEventHandler ("onPlayerLogin", root, onLogin) function saveData(thePlayer, theAccount) local theAccount = getPlayerAccount(source) if (theAccount and not isGuestAccount(theAccount)) then setAccountData (theAccount, "LV", getElementData(thePlayer, "Level")) setAccountData (theAccount, "EXP", getElementData(thePlayer, "XP")) end end addEventHandler ("onPlayerQuit", root, function () saveData(source, getPlayerAccount(source)) end) addEventHandler ("onPlayerLogout", root, function (prev) saveData(source, prev) end) and here is my dxhud: if XP then dxDrawText("XP: "..XP, (336/1024)*sWidth, (745/768)*sHeight, (289/1024)*sWidth, (250/768)*sHeight, tocolor (255, 255, 255, 255), (0.85/1366)*sWidth,(0.9/768)*sHeight,"bankgothic","left","top",false,false,false,true) end if Level then dxDrawText("LV: "..Level, (466/1024)*sWidth, (745/768)*sHeight, (289/1024)*sWidth, (250/768)*sHeight, tocolor (255, 255, 255, 255), (0.85/1366)*sWidth,(0.9/768)*sHeight,"bankgothic","left","top",false,false,false,true) end Thank you much in advance
  22. Shouls i use get acc data or what? Helllppp
×
×
  • Create New...