Jump to content

Search the Community

Showing results for tags 'animation'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Member Title





  1. Hello, i'm working on editing IFP animations from GTA San Andreas, using Blender and the GTAToolsForBlender Addon, but I have a enoying problem. When I try to export my IFP file, an error message appears to me: https://imgur.com/gallery/1zINVGK It's an error from the addon or there is a step that I'm not seeing?
  2. Hello, for anyone able to make custom anim, or edit existing animation in SA. I'm willing to spend $10 or more for a simple ladder climbing animation for GTA SA. The animation required should be a single "loop" of climbing up some ladders. It may be required to start the anim from a default standing animation. If interested or have any concerns you can message me here or on Discord at - ChemicalLight#8398 or join https://discord.gg/MxVgQrw Thank you, from ChemicalCreations
  3. Is there a way to make ped shoot with animation like in singleplayer? (holding pisol in two hands)
  4. So the problem is that there is a function called "animate" https://wiki.multitheftauto.com/wiki/Animate and with this function we can animate the GUI etc ... but there is one problem, because I would like to stop this function at some point and stop animating at some point, there is a way to do that ?
  5. I started scripting with GUI / dxDraw and would like to do some panning or alpha animation. And the question is how this animate works, I know it is shown on the MTA wiki, but I don't quite understand how, If someone would explain it to me, I would be grateful. By the way, I am sending the function I am talking about ... https://wiki.multitheftauto.com/wiki/Animate
  6. Hello there. I'm looking for way to make markers of type 'arrow' to move up and down like enex markers in singleplayer, how can I do it?
  7. setPedAnimation(getLocalPlayer(), "shop", "shp_gun_aim") I would like my character to move with this animation, which means that when I aim a normal weapon, e.g. M4, I can move, but I can't move with this animation. Please help!
  8. I am creating a new weapon, and is in the aiming phase, but I would like to set the aiming position for the player, that createWeapon ("m4", 0, 0, 0) would aim where the player is aiming, and that the animation set by me [setPedAnimation (getLocalPlayer (), "shop", "shp_gun_aim", -1, true, true, false, false, 250, true)] aimed where the player looks while holding the right mouse button, How can I do it? By the way, I would like to ask if it is possible for the player not to hit when the animation is on?
  9. السلام عليكم ورحمة الله وبركاتة كنت اتمني ان اقوم بعمل مود بسيط واود مساعدتكم في تصميمة انا اود ان افعل سكربت صغير عبارة عن عند كتابت امر up علي سبيل المثال يقوم بحمل الاعب الذي يقوم بكتابت اسمة والاعب المحمول يقوم بعمل انيماشن معين هل بامكانكم مساعدتي؟
  10. Olá pessoal, eu gostaria de saber se tem como eu estar colocando uma animação personalizada, junto ao menu de animação do mod de celular, tipo danças novas que não sejam as padrões do jogo...estou confuso quando tento adicionar algo nessa lista que seja um arquivo animado.ifp de outro script não consigo ter exito, ele também não tem server side relacioando... animações.map -- aquivo que fica as animações padrão <map> <animationCategory id="Danças"> <animation id="STRIP 1" block="STRIP" code="strip_A" /> <animation id="STRIP 2" block="STRIP" code="strip_B" /> <animation id="STRIP 3" block="STRIP" code="strip_C" /> <animation id="STRIP 4" block="STRIP" code="strip_D" /> <animation id="STRIP 5" block="STRIP" code="strip_E" /> <animation id="STRIP 6" block="STRIP" code="strip_F" /> <animation id="STRIP 7" block="STRIP" code="strip_G" /> <animation id="Dança 1" block="DANCING" code="bd_clap" /> <animation id="Dança 2" block="DANCING" code="bd_clap1" /> <animation id="Dança 3" block="DANCING" code="Dança_loop" /> <animation id="Dança 4" block="DANCING" code="DAN_Down_A" /> <animation id="Dança 5" block="DANCING" code="DAN_Left_A" /> <animation id="Dança 6" block="DANCING" code="DAN_Loop_A" /> <animation id="Dança 7" block="DANCING" code="DAN_Right_A" /> <animation id="Dança 8" block="DANCING" code="DAN_Up_A" /> <animation id="Dança 9" block="DANCING" code="dnce_M_a" /> <animation id="Dança 10" block="DANCING" code="dnce_M_b" /> <animation id="Dança 11" block="DANCING" code="dnce_M_c" /> <animation id="Dança 12" block="DANCING" code="dnce_M_d" /> <animation id="Dança 13" block="DANCING" code="dnce_M_e" /> </animationCategory> <animationCategory id="Sentar"> <animation id="Sentar 1" block="BEACH" code="bather" /> <animation id="Sentar 2" block="BEACH" code="Lay_Bac_Loop" /> <animation id="Sentar 3" block="BEACH" code="ParkSentar_M_loop" /> <animation id="Sentar 4" block="BEACH" code="ParkSentar_W_loop" /> <animation id="Sentar 5" block="BEACH" code="SentarnWait_loop_W" /> </animationCategory> <animationCategory id="Engraçadas"> <animation id="Dormir" block="CRACK" code="crckidle2" /> <animation id=":O" block="ped" code=":Ou" /> <animation id="Falar" block="GANGS" code="prtial_gngtlkC" /> <animation id="Falando Cel." block="ped" code="phone_talk" /> <animation id="Crack 1" block="CRACK" code="crckidle1" /> <animation id="Crack 2" block="CRACK" code="crckidle3" /> <animation id="Crack 3" block="CRACK" code="crckidle4" /> </animationCategory> <animationCategory id="Outros"> <animation id="Outras 01" block="TEC" code="TEC_fire" /> <animation id="Outras 2" block="WUZI" code="CS_Dead_guy" /> <animation id="Outras 3" block="RYDER" code="RYD_Die_PT2" /> <animation id="Outras 4" block="SWORD" code="sword_IDLE" /> <animation id="Outras 5" block="SUNBATHE" code="ParkSentar_M_IdleA" /> <animation id="Outras 6" block="STRIP" code="STR_B2C" /> <animation id="Outras 7" block="BD_FIRE" code="M_smklean_loop" /> </animationCategory> <animationCategory id="NOVOS"> <animation id="Parkour 5" block="parkour" code="BckHndSpingBTuck" /> <animation id="Parkour 4" block="parkour" code="BckHndSping" /> <animation id="BckHndSpingBTuck" block="parkour" code="CartWheel" /> <animation id="BckHndSpingBTuck" block="parkour" code="FrntHndSpring" /> </animationCategory> </map> cliente -- parte da função das animações -------------------------------------animation----------------- function makeAnimationGUI() local x,y = guiGetScreenSize () animationWindow = guiCreateWindow(x/2-345/2, y/2-388/2, 345, 388,"Animições",false) guiSetVisible(animationWindow,false) guiSetAlpha(animationWindow, 0.87) animationCategoryList = guiCreateGridList(10, 34, 157, 251,false,animationWindow) animationList = guiCreateGridList(177, 34, 157, 251,false,animationWindow) column1 = guiGridListAddColumn(animationCategoryList,"Categoria",0.8) column2 = guiGridListAddColumn(animationList,"Animação",0.8) stopButton = guiCreateButton(10, 327, 133, 46,"Parar",false,animationWindow) backAnimation = guiCreateButton(204, 327, 131, 46, "Voltar", false, animationWindow) addEventHandler("onClientGUIClick",stopButton,PararAn) for k, v in ipairs (getElementsByType("animationCategory")) do local row = guiGridListAddRow(animationCategoryList) guiGridListSetItemText(animationCategoryList,row,column1,getElementID(v),false,false) end addEventHandler("onClientGUIClick",animationCategoryList,getAnimations) addEventHandler("onClientGUIClick",animationList,setAnimation) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),makeAnimationGUI) function PararAn() triggerServerEvent("setAnimationNil", localPlayer) end function getAnimations() selectedCategory = guiGridListGetItemText(animationCategoryList,guiGridListGetSelectedItem(animationCategoryList),1) if (selectedCategory ~= "") then guiGridListClear(animationList) for k, v in ipairs (getElementChildren(getElementByID(selectedCategory))) do local row = guiGridListAddRow(animationList) guiGridListSetItemText(animationList,row,column1,getElementID(v),false,false) end end if (selectedCategory == "") then guiGridListClear(animationList) end end
  11. Sou novo na area de scripts de MTA e tenho uma duvida sobre as animações, tem como fazer com que o player pare na mesma posição em que acabou a animação? EX: usei o painel de animação pelo freeroam e selecionei uma animação no qual o player se joga no chão, tem algum jeito de fazer com que ao final da animação ele continue jogado no chão e que não fique se repetindo a animação continuamente?
  12. This function is for creating idle animations, on player's afk/idle. Aaand, u need to probably put this one in "onResourceStart" event, remember, to make it work. Here it comes: setTimer( function() for _, player in ipairs(getElementsByType("player")) do if(getPlayerIdleTime(player) > 10000) then local veh = getPedOccupiedVehicle(player) if veh then setPedAnimation(player, "car", "Sit_relaxed", -1, false, false, true, true, 250, false) else local anim = math.random(1, 5) if(anim == 1) then setPedAnimation(player, "playidles", "stretch", -1, false, false, false, false) elseif(anim == 2) then setPedAnimation(player, "playidles", "strleg", -1, false, false, false, false) elseif(anim == 2) then setPedAnimation(player, "playidles", "time", -1, false, false, false, false) elseif(anim == 2) then setPedAnimation(player, "playidles", "shldr", -1, false, false, false, false) elseif(anim == 2) then setPedAnimation(player, "playidles", "shift", -1, false, false, false, false) end end end end end 5000, 0) That's what I wanted to create, mentioning my latest post
  13. 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.
  14. 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)
  15. 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?)
  16. Someone know the animation hands on back? Handcuff Script!
  17. 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:
  18. I want create this effect: Effect with a dx image. But i don't know, how to make this possible.. Anyone can help?
  19. السلام عليكم شباب ابي مساعدة في عمل حركة للاعب لمدة بضع ثواني وبعد انتهاء الثواني يقوم بالغاء الحركة واسترجاع الحركة العادية الي هيا المشي
  20. 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
  21. 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
  22. 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
  23. 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
  24. --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.
  25. شباب ببحث عن حركه رفع الايد ظى مثلا لما شطى يقبض عليك ترفع ايدك ببحث عنه مش لاقى ياريت الى عارف الحركه يكتبو
  • Create New...