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

  • RAGE Multiplayer
    • Announcements
    • Discussion
    • Suggestions
    • RDR2 Multiplayer
  • Scripting
    • Scripting
    • Resources
  • Community
    • Support
    • Servers
    • Media Gallery
  • Non-English
    • Русский - Russian
    • Français - French
    • Deutsch - German
    • Espanol - Spanish
    • Română - Romanian
    • Portuguesa - Portuguese
    • Polski - Polish

Categories

  • Scripts
  • Gamemodes
  • Libraries
  • Plugins
  • Maps
  • Tools

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


Facebook


Youtube


Skype


Web


VK

Found 4 results

  1. Hi can someone of the PRO resource creators make a Finger-Point script using the "[email protected]_point" ? i need it for my RP server. I have also a script from FiveM that you can translate or use it for the resource. Thanks , That's the FiveM script : local mp_pointing = false local keyPressed = false local function startPointing() local ped = GetPlayerPed(-1) RequestAnimDict("[email protected]_point") while not HasAnimDictLoaded("[email protected]_point") do Wait(0) end SetPedCurrentWeaponVisible(ped, 0, 1, 1, 1) SetPedConfigFlag(ped, 36, 1) Citizen.InvokeNative(0x2D537BA194896636, ped, "task_mp_pointing", 0.5, 0, "[email protected]_point", 24) RemoveAnimDict("[email protected]_point") end local function stopPointing() local ped = GetPlayerPed(-1) Citizen.InvokeNative(0xD01015C7316AE176, ped, "Stop") if not IsPedInjured(ped) then ClearPedSecondaryTask(ped) end if not IsPedInAnyVehicle(ped, 1) then SetPedCurrentWeaponVisible(ped, 1, 1, 1, 1) end SetPedConfigFlag(ped, 36, 0) ClearPedSecondaryTask(PlayerPedId()) end local once = true local oldval = false local oldvalped = false Citizen.CreateThread(function() while true do Wait(0) if once then once = false end if not keyPressed then if IsControlPressed(0, 29) and not mp_pointing and IsPedOnFoot(PlayerPedId()) then Wait(200) if not IsControlPressed(0, 29) then keyPressed = true startPointing() mp_pointing = true else keyPressed = true while IsControlPressed(0, 29) do Wait(50) end end elseif (IsControlPressed(0, 29) and mp_pointing) or (not IsPedOnFoot(PlayerPedId()) and mp_pointing) then keyPressed = true mp_pointing = false stopPointing() end end if keyPressed then if not IsControlPressed(0, 29) then keyPressed = false end end if Citizen.InvokeNative(0x921CE12C489C4C41, PlayerPedId()) and not mp_pointing then stopPointing() end if Citizen.InvokeNative(0x921CE12C489C4C41, PlayerPedId()) then if not IsPedOnFoot(PlayerPedId()) then stopPointing() else local ped = GetPlayerPed(-1) local camPitch = GetGameplayCamRelativePitch() if camPitch < -70.0 then camPitch = -70.0 elseif camPitch > 42.0 then camPitch = 42.0 end camPitch = (camPitch + 70.0) / 112.0 local camHeading = GetGameplayCamRelativeHeading() local cosCamHeading = Cos(camHeading) local sinCamHeading = Sin(camHeading) if camHeading < -180.0 then camHeading = -180.0 elseif camHeading > 180.0 then camHeading = 180.0 end camHeading = (camHeading + 180.0) / 360.0 local blocked = 0 local nn = 0 local coords = GetOffsetFromEntityInWorldCoords(ped, (cosCamHeading * -0.2) - (sinCamHeading * (0.4 * camHeading + 0.3)), (sinCamHeading * -0.2) + (cosCamHeading * (0.4 * camHeading + 0.3)), 0.6) local ray = Cast_3dRayPointToPoint(coords.x, coords.y, coords.z - 0.2, coords.x, coords.y, coords.z + 0.2, 0.4, 95, ped, 7); nn,blocked,coords,coords = GetRaycastResult(ray) Citizen.InvokeNative(0xD5BB4025AE449A4E, ped, "Pitch", camPitch) Citizen.InvokeNative(0xD5BB4025AE449A4E, ped, "Heading", camHeading * -1.0 + 1.0) Citizen.InvokeNative(0xB0A6CFD2C69C1088, ped, "isBlocked", blocked) Citizen.InvokeNative(0xB0A6CFD2C69C1088, ped, "isFirstPerson", Citizen.InvokeNative(0xEE778F8C7E1142E2, Citizen.InvokeNative(0x19CAFA3C87F7C2FF)) == 4) end end end end)
  2. Hello there, I am the scripter of: And i want to "Complete" this res to make it more usefull! You can use this Server to find new Animations use /animplayer: Server with Animplayer download Here you can find all Animations: https://alexguirre.github.io/animations-list/ So please help me by pushing cool animations to this thread in the following patern: else if (item == "Security") {namenAni = item+"" p1 = '"[email protected][email protected]@[email protected]_a"' p2 = '"idle_a"' mp.events.callRemote("server:shortcut:save",namenAni, slotid,p1,p2,1,49); } I am thankful for any help Hank
  3. TurEduard

    AnimPlayer

    Version 1.0.0

    586 downloads

    Hi. To begin with, excuse me for my English. I share my resource for playing the animation. You can find animation on request. I wrote it primarily for myself, do not blame me for nothing. Сan anyone need. My resource is like Animation Viewer by Hazes but use another base and written in pure js. How to install: UnZip the file in server-files. How to use: Use ~ or /animplayer to browse gui. /animplayer [request] for find animations coinciding with request. /animplayer [dist / dist+name] for find animation with id = dist and type = name. /animflag [up/down/number] increase, decrease, or set the flag for animation Use LEFT/RIGHT arrow keys to cycle through (dist) animations. Use CTRL + LEFT/RIGHT arrow keys to cycle through (dist) 100 animations at once. Use SHIFT + LEFT/RIGHT arrow keys to cycle through (dist) 10 animations at once. Use UP/DOWN arrow keys to cycle (name) animations. Use CTRL + UP/DOWN for increase or decrease flag. Use BACKSPACE to reset the search list. Use SPACE to play animation if you change parameter AnimPlayer.autoPlay in resource GitHub: https://github.com/TurEduard/rage.mp-animplayer
  4. Hazes

    Animation Viewer

    Version 1.0.1

    740 downloads

    Hi everyone, I've decided to share my Animator resource which basically lets you play all animations avaliable in this list: https://wiki.gtanet.work/index.php?title=Animations I have converted it from GTA Network to RAGEMP recently. It's a very simple but useful script. Searching through the animations list is like looking for needle in the haystack, considering about 2/5 of all anims cannot be applied to ped and 1/2 of those you wouldn't really find use for. It's a great solution if you don't want to install any mods to view anims. Just include the file and preview! Save included. There are 12,365 animations to play. Some of anims do not work on player as they are intended to be used on props, vehicles, weapons etc. You can also experience a few seconds delay on some animations, but none of them causes crashes. After launching the Animator a drawText will appear in bottom-right corner of the screen, showing you which animation you are viewing including ID, animation group and name. How to install: UnZip the file and move the animation-viewer folder to bridge -> resources folder. Include animation-viewer resource in settings.xml. Move animator.js from animation-viewer folder to clientside_packages folder and include it in index.js. How to use: Type /animator to launch or close the animator. Type /animator help for in-game help. Type /animator skip [number] to skip to animation id. Type /animator save [savename] to save the animation. ( saves in server root folder in Saved_Animations.txt. ) Type /animator stop to stop currently playing animation. Use LEFT and RIGHT arrow keys to cycle through animations. Use UP and DOWN arrow keys to cycle through 100 animations at once. Notes: All animations are looped. Clientside file is minified. This resource is made for server developers. It sends huge amounts of data to clientside when launching so use it only to preview/save animations. You can see the code here: https://gitlab.com/Hazes/animator-viewer Changelog: [v1.0] Code has been sorted and is a bit more optimized. Fixed assembly reference error for those who didn't have System.IO.dll included in their main resource. Parsing the number in /animator skip now works correctly. Presentation: