Search the Community

Showing results for tags 'animation'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 19 results

  1. Help Me Please !! i'm making a script in some part of it, the character makes an animation but i don't know how i make the character stop the animation.
  2. The animation that I want to do this is: "SHOP", "SHP_Rob_HandsUp I searched about this but found nothing. If someone can help I will be so thankful!
  3. I was scripting a radio system but there's no way to let me move the text, the animation of the rectangle is done but it doesn't make any effect with the text. Also I was trying to show all this for a period of 5 seconds, but when I added the timer, the rectangle and the text only appear but not dissapear, can someone help me? local sX, sY = guiGetScreenSize() local open = false local radio = playSound("http://www.energy981.com/playlist/Energy98_128WM.asx") setSoundVolume(radio, 0) function drawRadio() ls,rs = getSoundLevelData(radio) meta = getSoundMetaTags(radio); title = meta.stream_title or "Unknown" longTitle = dxGetTextWidth(title, (1/1920)*sX, "default-bold", false) dxDrawCircle ((1880/1920)*sX, (125/1080)*sY, 20, 0, 360, tocolor(9, 27, 79, 200), tocolor(9, 27, 79, 200), 32, 1, false) dxDrawCircle ((1880/1920)*sX, (125/1080)*sY, 100*((ls+rs)/230768), 0, 360, tocolor(0, 225, 255, 50), tocolor(0, 225, 255, 25), 32, 1, false) dxDrawImage((1868/1920)*sX, (113/1080)*sY, (24/1920)*sX, (23/1080)*sY, "radio.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end function knowRadioSong() start = getTickCount() addEventHandler("onClientRender", root, outputRadioSongName) end addCommandHandler("radio", knowRadioSong) function outputRadioSongName() pos = ((1875-longTitle)/1920)*sX setTimer ( function() pos = (1925/1920)*sX end, 5000, 1) local now = getTickCount() local elapsedTime = now - start local endTime = start + 1000 local duration = endTime - start local progress = elapsedTime / duration local x, y, z = interpolateBetween(pos, (160/1080)*sY, 0, pos, (160/1080)*sY, 0, progress, "OutBack") local x1, y1, z1 = interpolateBetween((0/1920)*sX, (-365/1080)*sY, 0, (-35/1920)*sX, (-365/1080)*sY, 0, progress, "OutBack") dxDrawRoundedRectangle(x, y, ((15+longTitle)/1920)*sX, (30/1080)*sY, tocolor(255, 255, 255, 200), tocolor(255, 255, 255, 200), false) dxDrawText(title, (1848/1920)*sX, (159/1080)*sY, (1883/1920)*sX, (190/1080)*sY, tocolor(0, 0, 0, 255), (1/1920)*sX, "default-bold", "right", "center", false, false, false, false, false) end function openRadio() if open == false then open = true addEventHandler("onClientRender", root, drawRadio) setSoundVolume(radio, 1) else open = false removeEventHandler("onClientRender", root, drawRadio) removeEventHandler("onClientRender", root, outputRadioSongName) setSoundVolume(radio, 0) end end bindKey("m", "down", openRadio)
  4. Hi. Im trying to use new API which allows you to replace default animations with custom one. I'm trying to create set of lay-down-shoting/moving animations to replace default: WEAPON_crouch, GunCrouchFwd, GunCrouchBwd, Crouch_Roll_L, Crouch_Roll_R Animation were created via 3dsmax/KAM's script, replacement succed, but when i activate this anim, for example for instead of Crouch_Roll_L anim, new animation doesn't apply position change to ped. so it just rolls on one place. Any ideas what are we doing wrong?)
  5. Someone know the animation hands on back? Handcuff Script!
  6. Good morning/afternoon/evening, I have stumbled across a quite annoying problem with animations and, sadly, reviewing many animation-related topics did not lead me to solving the problem. Goal is simple: force a "talking" animation upon player when he says something in the chat and make him able to move during the animation. The issue is that the player, who was previously affected by an animation, keeps running with his arms down below. The issue seems to stick unless a player/ped performs any kind of action - punching, jumping, shooting e.t.c. [video linked below in a spoiler] Topics that covered some kind of animation freezing issues were usually solved by a) using setTimer() and nullifying the animation with setPedAnimation(ped) function combination or b) making an animation stalemate [by setting freezeLastFrame to false]; however, both of those methods are dissatisfying. If someone has stumbled across anything similar, any kind of advice will be of much help! Thanks in advance! Code that displays the issue: addEventHandler ( "onPlayerChat", root, function ( message, mType ) if ( mType == 0 ) then --[[ .. some code .. ]]-- if not isPedInVehicle(source) then setPedAnimation (source, "ped", "IDLE_CHAT", 0, false, true, true, true) end elseif ( mType == 1 ) then --[[ .. some code .. ]]-- end end ) Video example:
  7. I want create this effect: Effect with a dx image. But i don't know, how to make this possible.. Anyone can help?
  8. السلام عليكم شباب ابي مساعدة في عمل حركة للاعب لمدة بضع ثواني وبعد انتهاء الثواني يقوم بالغاء الحركة واسترجاع الحركة العادية الي هيا المشي
  9. Hello Community, sorry if you do not understand what I mean, my English is not so good So I want to create a Prostitutes Script or just a brothel, I have a project done with some blowjob animations but it's not enough, I've seen some script use sex animations, I even have them, the problem is that I do not see them Some friends see, I read on some topics that these animations have been removed, but some people still can see them, could they explain or help me solve it? Thank you very much in advance
  10. Hello, can someone give me some hints how to set a carrying animation on a player and he will be able to walk/run? Thanks in advance
  11. local start = getTickCount() local one, one1 = -300, 604 local two, two1 = 0, 604 local screenW, screenH = guiGetScreenSize() local text = "" local pic = "j" function draw() local x,y = interpolateBetween(one, one1, 0, two, two1, 0, (now - start) / ((start + 1500) - start), "Linear") local now = getTickCount() dxDrawRectangle(x,y, screenW * 0.2306, screenH * 0.0356, tocolor(0, 0, 0, 130), false) dxDrawText(" * "..text, x, y, screenW * 0.2340, screenH * 0.7044, tocolor(255, 255, 255, 255), 1.00, "default", "left", "center", false, false, false, true, false) end addEventHandler("onClientPlayerChangeNick", root, function(oldName, newName) addEventHandler("onClientRender", root,draw) text = string.format("#%02X%02X%02X", getPlayerNametagColor(source)) .. oldName .. " #FFffFFneve mostantól " .. string.format("#%02X%02X%02X", getPlayerNametagColor(source)) .. newName .. "" pic = "c" setTimer ( function() removeEventHandler("onClientRender", root, draw) end, 5000, 1 ) end ) this is my code. the dx things are working, just the animation does not working how to fix? sorry for my very bad english :C
  12. Hi, can you help me? I want this animation to start and stop at 5 seconds and at 10 seconds to return the animation function animacion(source) setPedAnimation( source, "ped", "gas_cwr") setTimer(pararanim,5000,1) end addCommandHandler ("toxic", animacion) function pararanim(tp) setPedAnimation(tp,false) setTimer(animacion,3000,1) end addCommandHandler ("parar", pararanim) setPedAnimation( source, "GANGS", "prtial_gngtlkB", 1, false, true, true, true, false ) setTimer(function() setPedAnimation(source, false) end, 1000, 1) Try doing it with timers but not for animation
  13. --Creating the ped drugDealer = createPed( 121, 2486, -1650.9, 13.5, 90.762) function startWalking() setPedAnimation( drugDealer, "ped", "WALK_gang1", 10000, true, true, false) setPedAnimation( drugDealer, "ped", "WALK_gang2", 10000, true, true, false) end Help. When I run this script I would the ped walk for ten seconds then change his walk style to gang2 after it, but it just run the second animation, please help on this.
  14. شباب ببحث عن حركه رفع الايد ظى مثلا لما شطى يقبض عليك ترفع ايدك ببحث عنه مش لاقى ياريت الى عارف الحركه يكتبو
  15. rablashelye = createMarker ( 252.3,-54.6,0.9, "cylinder", 1, 255, 255, 255, 170 ) function beleallas(thePlayer) outputChatBox("test",thePlayer,r,g,b,true) setPedAnimation ( thePlayer, "DANCING", "dnce_m_b") end addEventHandler( "onMarkerHit", rablashelye, beleallas ) setTimer( function(thePlayer) setPedAnimation(thePlayer,false) end,1000,0)
  16. Hello everyone, Well i just started learning that how to mod objects and animate them. So, i started with a simple thing and i thought to share it with you guys. It will help me to improve myself as you all will help me to know positive and negative points. If you like the video then please hit like and subscribe Here is the link:-
  17. mtacolombia

    Animacion

    Hola,quiero saber si la animación cuando el jugador muere se puede aplicar a un script,y si es asi como hacerlo,un saludo.
  18. i need someone to explain me how does interpolateBetween work and how can it be applied and on what please and thank you. i want to make a script that shows credits like in the movies where credits go from the bottom to the top crossing the screen. like that or can someone tell me if its possible PLEASE AND THANK YOU image
  19. Hello guys! You may know that the cop peds in GTA SA singleplayer hold the pistol (Colt45) in a different way than gang members and the player himself. So I searched a little bit and found this: https://bugs.multitheftauto.com/view.php?id=7345 However, I don't know how soon this will be implemented. My question is, is there any way right now of making the player hold ONE 9mm pistol with TWO hands, like a singleplayer cop? I already tried some things (setWeaponProperty() and setPedAnimation()) but None of these really worked (setWeaponProperty() makes the player shoot the pistol in the air and setPedAnimation() makes the cop colt Animation, but AFTER the shot). Could anyone help me? I'm pretty down because I need just THIS Feature for a RPG script and I don't think that the suggestion I posted above will be implemented in near future... Regards DeValdi