Jump to content

yoya99

Members
  • Posts

    271
  • Joined

  • Last visited

Everything posted by yoya99

  1. yoya99

    anims replace

    there has to be a way....for euphoria mod or ragdoll or something....there must be a way
  2. yoya99

    anims replace

    hi want to replae the anim called ped.ifp for mta....is there any way? ped.ifp is for the Walking,sprinting,dieing animations....help pls
  3. Hello ..i have a question guys...is there a way to make when a vehicle is blown that it shakes the camera hardly? i only know with create explosion but how to continue=
  4. You dont have to but thank you very much for your help
  5. no it doe not work becasue i guess there has to be a clinet file for that
  6. mh gonna try this...but thank you
  7. ok got it thank you ...but i haev another question: i haev this graphics mods from gta sa but how can i put them in into mta?http://adf.ly/iDTSd thats the link | thank you for your help
  8. i did but i didnt find something is there any way too to disable for example godray or sun fx?
  9. nice tutorila wow thank you very much...but is there a way to make the debugwindow disappear?
  10. I need the playerblips shown on this radar from you too
  11. Hope it gets released soon it will look like gta v if the vegetation eould not be but maybe you can mke a mods for Vegetation a also ))
  12. yeah i give money for it
  13. wow how nice thank you for the great help...it will motivates me now
  14. yoya99

    shaders help

    how uch you want?
  15. hey guys ...i haev ragesgta 5 hud but how to maek playerblips on it seen? i dont see any players thats very poor because it the best hud on community.i guess nothign is added from playerblips in this code :''( here is the code: --[[ # Resource Name Grand Theft Auto V | Radar # Author Rage # Date created 25.04.2014 # Last update 17.07.2014 # Copyright (c) If you edit it, then please respect me and keep the credits. --]] local screenW,screenH = guiGetScreenSize() local resW,resH = 1280,720 local sW,sH = (screenW/resW), (screenH/resH) local turn = true local alpha = 255 addEventHandler( "onClientResourceStart", resourceRoot, function() setPlayerHudComponentVisible ( "radar", false ) --# Create Textures hudMaskFX = dxCreateShader("mask.fx") radarTexture = dxCreateTexture("img/radar_map.jpg") maskTexture = dxCreateTexture("img/radar_mask.png") checkTextures = ( hudMaskFX and radarTexture and maskTexture ) if not ( checkTextures ) then outputChatBox( "[GTA V Radar]: Could not create textures. Please use debugscript 3" ) else dxSetShaderValue( hudMaskFX, "sPicTexture", radarTexture ) dxSetShaderValue( hudMaskFX, "sMaskTexture", maskTexture ) end end ) function drawRadar() if not ( checkTextures ) then return end dxSetShaderValue( hudMaskFX, "sMaskTexture", maskTexture ) local x,y = getElementPosition( localPlayer ) local zoom = 13 x = ( x ) / 6000 y = ( y ) / -6000 dxSetShaderValue( hudMaskFX, "gUVPosition", x,y ) dxSetShaderValue( hudMaskFX, "gUVScale", 1/zoom, 1/zoom ) --# Get rotations local _, _, c_Rot = getElementRotation( getCamera()); local _, _, p_Rot = getElementRotation( localPlayer ) dxSetShaderValue( hudMaskFX, "gUVRotAngle", math.rad( -c_Rot )) local playerHealth = math.floor( getElementHealth( localPlayer )) local playerArmor = math.floor( getPedArmor( localPlayer )) local playerOxygen = math.floor( getPedOxygenLevel( localPlayer )) if ( playerHealth <= 50) then HP_Colour = tocolor(200, 0, 0, 190) HP_Alpha = tocolor(200, 0, 0, 100) else HP_Colour = tocolor(102, 204, 102, 190) HP_Alpha = tocolor(102, 204, 102, 100) end if ( playerHealth >= 101 ) then maxHealth = 200 else maxHealth = 100 end --# Alpha dxDrawRectangle(23.5*sW, 676.5*sH, 130.5*sW, 9.2*sH, HP_Alpha) dxDrawRectangle(156.6*sW, 676.5*sH, 65*sW, 9.2*sH, tocolor(0, 102, 255, 100)) dxDrawRectangle(225*sW, 676.5*sH, 62.6*sW, 9.2*sH, tocolor(255, 255, 0, 100)) --# Bars dxDrawRectangle(23.5*sW, 676.5*sH, 130.5*sW/maxHealth*playerHealth, 9.2*sH, HP_Colour) dxDrawRectangle(156.6*sW, 676.5*sH, 65*sW/100*playerArmor, 9.2*sH, tocolor(0, 102, 255, 190)) dxDrawRectangle(225*sW, 676.5*sH, 62.6*sW/1000*playerOxygen, 9.2*sH, tocolor(255, 255, 0, 190)) --# Minimap dxDrawImage(18*sW, 530*sH, 275*sW, 160*sH, "img/radar_cover.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(23*sW, 536*sH, 265*sW, 135*sH, hudMaskFX, 0,0,0, tocolor(255,255,255,210)) dxDrawImage(144*sW, 595*sH, 20*sW, 20*sH, "img/radar_player.png", -p_Rot+c_Rot, 0, 0, tocolor(255, 255, 255, 255)) --# Wanted local g_wl = getPlayerWantedLevel( localPlayer ) if ( g_wl > 0 ) then if ( turn == true ) then alpha = alpha + 5 if ( alpha > 180 ) then alpha = 180 turn = false end elseif ( turn == false ) then alpha = alpha - 5 if ( alpha < 0 ) then alpha = 0 turn = true end end dxDrawRectangle(23*sW, 536*sH, 265*sW, 135*sH, tocolor(0, 102, 255, alpha)) else return end end addEventHandler( "onClientRender", root, drawRadar) addEventHandler( "onResourceStop", resourceRoot, function() setPlayerHudComponentVisible ( "radar", true ) end)
  16. Hello today i tried to replace somepalm textures but i am not sure i did it right I tried that here: addEventHandler('onClientResourceStart', resourceRoot, function() palmtxd = engineLoadTXD("textures/gta_tree_palm.txd") engineImportTXD(palmtxd, 622) palm03 = engineLoadDFF('textures/veg_palm03.dff', 622) engineReplaceModel(palm03, 622) palm02 = engineLoadDFF('textures/veg_palm02.dff', 621) engineReplaceModel(palm02, 621) end ) thxfor your help
  17. yoya99

    shaders help

    hey anyone had experience with shaders from gta sa to import to mta as a resource?? If yes i would pay also for it because it is not so easy i think.... thx in advance my skype ya3099ma
  18. yoya99

    hud

    i am tring to make my own hud that doesnt means i use that one....i can see examples too or not?
  19. ok gonna try out thank you
  20. yoya99

    hud

    tHEN CLICK on the freaking link and you see : aha its not yours https://community.multitheftauto.com/index.php?p= ... s&id=10176
  21. yoya99

    hud

    wtf thats not your hud thatd bodhud from community -__- If you wantto say something be sure it is right ._. https://community.multitheftauto.com/index.php?p= ... s&id=10176
  22. yoya99

    hud

    but i want the first ammo clip be white and the second ammo clip be grey
  23. hello this is my play code....but is there a chnace to make when a player joins 3 math random skins? 123,124 and 125? help pls addEventHandler("onResourceStart", resourceRoot, function() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) local spawnPoints = { {269.67669677734,1954.8450927734,17.640625}, --Hier die ganzen Spawnpunkte {-659.33868408203,881.34112548828,2.0071334838867}, {1117.5902099609,-2013.0979003906,74.4296875}, {-2186.352294921,2416.1042480469,5.1694464683533}, {-904.03948974609,2678.541015625,42.370262145996}, {620.87713623047,810.55700683594,-42.9609375}, {-3836.2275390625,-1493.7301025391,26.885936737061} } function spawn(player) local randomspawn = math.random(1,7) --die 7 auf die Anzahl der Spawnpunkte ändern spawnPlayer(player,spawnPoints[randomspawn][1],spawnPoints[randomspawn][2],spawnPoints[randomspawn][3]) end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 4100, 1, source) end )
  24. yoya99

    hud

    dxDrawText(""..#FFFFFFammo#FF0000, (screenW - 310) / 1.00 + 70 - 5.10, (screenH - 800) / 1.05 - 190 + 7.29, ((screenW - 423) / 1.05 + 50 - 5.10) + 423, ( (screenH - 42) / 1.05 - 190 + 7.29) + 42, tocolor(128, 128, 128, 255), 1.00, "pricedown", "left", "top", true, true, true, true, false) dxDrawText(""..#FFFFFFammo#FF0000, (screenW - 310) / 1.00 + 70 - 5.10, (screenH - 800) / 1.05 - 190 + 7.29, ((screenW - 423) / 1.05 + 50 - 5.10) + 423, ( (screenH - 42) / 1.05 - 190 + 7.29) + 42, tocolor(128, 128, 128, 255), 1.00, "pricedown", "left", "top", true, true, true, true, false) i tryto make 2 colors for the ammo part
  25. yoya99

    hud

    Thank you i got it ...but how can i make it the first ammo part (main) white and the second ammo part Grey? when i add colorcodes it says again an error
×
×
  • Create New...