MrZsemle

Members
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

5 Neutral

2 Followers

About MrZsemle

  • Rank
    Civilian

Details

  • Location
    Hungary
  • Interests
    html, css, php, lua, python, c++ programming

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. MrZsemle

    Replace animations? (Jumps.. parkour..)

    Hi! I know this is an article from 2012, but the MTA now supporting the custom IFP animations. https://wiki.multitheftauto.com/wiki/EngineLoadIFP
  2. Hi! You want to write ped's health in dxDraw or in the chatbox?
  3. MrZsemle

    [LOOK] Roulette script

    Hi! I'm looking for a Roulette Script in MTA, which works. If you know one, please send me below. Best Regards, MrZsemle.
  4. MrZsemle

    [SHOW] Horse

    use setElementRotation
  5. MrZsemle

    [SHOW] Horse

    Create a function which contains setPedAnimation, and bind this function to a key. For example: --this is a clientside code! -- load custom animations local customBlockName = "HORSE_ANIMATION" local IFP = engineLoadIFP( "horse_animations.ifp", customBlockName ) -- create horse, and bind keys horse = createPed(id, x, y, z) bindKey ( "w", "down", moveHorseForward ) bindKey ( "w", "up", stopHorse ) -- set default animations, and attach function setAnimations() setPedAnimation( horse, customBlockName, "HORSE_IDLE" ) setPedAnimation( localPlayer, customBlockName, "SIT" ) attachElements ( localPlayer, horse, x, y, z ) end addEventHandler("onClientResourceStart", resourceRoot, setAnimations) -- move forward, and stop function moveHorseForward() setPedAnimation( horse, customBlockName, "HORSE_RUN" ) setPedAnimation( localPlayer, customBlockName, "SIT_RUN" ) end function stopHorse() setPedAnimation( horse, customBlockName, "HORSE_IDLE" ) setPedAnimation( localPlayer, customBlockName, "SIT" ) end
  6. MrZsemle

    [SHOW] Horse

    Then, this is the animation list: BLOCK NAME: HORSE_ANIMATION HORSE_RUN HORSE_IDLE_1 SIT_RUN HORSE_SPRINT HORSE_WALK SIT_WALK HORSE_KICK_FORWARD
  7. MrZsemle

    [SHOW] Horse

    Hi everyone I used animations from this mod: https://www.youtube.com/watch?v=2pf10A-_rS0. I loaded the animations with EngineLoadIFP (https://wiki.multitheftauto.com/wiki/EngineLoadIFP ). I replaced a skin with this horse, and i applied this animation to the skin. If you want to make this in serverside, trigger a serverevent which contains SetPedAnimation (https://wiki.multitheftauto.com/wiki/SetPedAnimation ). This is the full cleo script, you can see the horse animations in this file: https://pastebin.com/F6kiSxBp. Bind the animation functions to keys (for example w, a, s, d). You can rotate the horse with https://wiki.multitheftauto.com/wiki/SetElementRotation both not only. You can find the reply above
  8. MrZsemle

    [SHOW] Horse

    Hi. I created horses in mta . It will be visible on my MTA:SA WWII server.
  9. MrZsemle

    [HELP] Horse script

    Okay, i maked it clientside. Thanks.
  10. MrZsemle

    [HELP] Horse script

    Hi. I saw the mta's new update, the custom ifp support. I've seen a GTA:SA Cleo horse mod video, and i want to see this in mta. There's be an similar script to this? Video: Sorry for my bad English, i'm writing from Hungary.
  11. MrZsemle

    [HELP] How to reset camera after setCameraMatrix

    I put the setCameraTarget into onclientrender. That was the problem, but i solved it. Thanks for the reply.
  12. MrZsemle

    [HELP] How to reset camera after setCameraMatrix

    that was the problem
  13. MrZsemle

    [HELP] How to reset camera after setCameraMatrix

    I solved the problem. I put the setCameraTarget to onClientRender :D. Thank you for the reply.
  14. Hi! I set the camera for a fixed position. When i reset to the player with setCameraTarget, the camera is can't rotate up and down. What's wrong with this? Sorry for my bad english, i'm writing from Hungary.
  15. MrZsemle

    Kamera visszaállítása

    Sziasztok! setCameraMatrix-al megadtam egy bizonyos helyet. Amikor visszaállítanám a játékosra a setCameraTarget-et, sikerül is, de a kamera mozgása "érdekes". Nem lehet fel, le nézni, a gyorsasága is katasztófa. Hogy lehetne ezt megoldani? Előre is köszönöm a válaszokat!